Skip to content

Commit 247ffc1

Browse files
author
Richard Feldman
committed
Move Css.Elements into Css.Foreign.
1 parent 3f16091 commit 247ffc1

File tree

5 files changed

+693
-613
lines changed

5 files changed

+693
-613
lines changed

elm-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"exposed-modules": [
1010
"Css",
1111
"Css.Colors",
12-
"Css.Elements",
12+
"Css.Foreign",
1313
"Css.Media",
1414
"DEPRECATED.Css.File",
1515
"DEPRECATED.Css.Namespace"

src/Css.elm

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8307,19 +8307,6 @@ stringsToValue list =
83078307
{ value = String.join ", " (List.map (\s -> s) list) }
83088308

83098309

8310-
collectSelectors : List Preprocess.SnippetDeclaration -> List Structure.Selector
8311-
collectSelectors declarations =
8312-
case declarations of
8313-
[] ->
8314-
[]
8315-
8316-
(Preprocess.StyleBlockDeclaration (Preprocess.StyleBlock firstSelector otherSelectors _)) :: rest ->
8317-
(firstSelector :: otherSelectors) ++ collectSelectors rest
8318-
8319-
_ :: rest ->
8320-
collectSelectors rest
8321-
8322-
83238310
{-| Take a list of styles and return a list of key-value pairs that
83248311
can then be passed to a `style` attribute.
83258312

0 commit comments

Comments
 (0)