Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
add some new lines pseudo classes of TailwindCSS, based on #44, #4, #65
Browse files Browse the repository at this point in the history
  • Loading branch information
shahryarjb committed Mar 26, 2023
1 parent 9ef821e commit ab86e4b
Showing 1 changed file with 65 additions and 2 deletions.
67 changes: 65 additions & 2 deletions lib/mishka_template_creator/data/tailwind_setting.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,69 @@ defmodule MishkaTemplateCreator.Data.TailwindSetting do
"disabled",
"first",
"last",
"only",
"odd",
"even"
"even",
"first-child",
"required",
"valid",
"invalid",
"in-range",
"out-of-range",
"placeholder",
"placeholder-shown",
"autofill",
"selection",
"focus-within",
"focus-visible",
"target",
"empty",
"enabled",
"only-child",
"first-of-type",
"last-of-type",
"only-of-type",
"read-only",
"first-letter",
"indeterminate",
"default",
"checked",
"group-focus",
"group-active",
"group-odd",
"peer-invalid",
"peer-checked",
"file",
"marker",
"first-line",
"backdrop",
"motion-reduce",
"motion-safe",
"contrast-more",
"contrast-less",
"portrait",
"landscape",
"print",
"supports-grid",
"aria-checked",
"aria-disabled",
"aria-expanded",
"aria-hidden",
"aria-pressed",
"aria-readonly",
"aria-required",
"aria-selected",
"data-checked",
"ltr",
"rtl",
"open"
]

@pseudo_arbitrary_classes [
"supports-[x]",
"aria-[x]",
"group-aria-[x]",
"data-[x]"
]

@spec call :: [
Expand Down Expand Up @@ -8646,7 +8707,9 @@ defmodule MishkaTemplateCreator.Data.TailwindSetting do
"scroll-p-[x]",
"will-change-[x]",
"fill-[x]",
"stroke-[x]"
"stroke-[x]",
"group-[x]",
"peer-[x]"
]
end

Expand Down

0 comments on commit ab86e4b

Please sign in to comment.