Skip to content

Commit

Permalink
feat: new required pseudo selector
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Apr 21, 2023
1 parent 0e0bb13 commit 2f69d0c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion low/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ $pseudos: (
visited: ":visited",
checked: ":checked",
disabled: ":disabled",
required: ":required",
first: ":first-child",
last: ":last-child",
odd: ":nth-child(odd)",
even: ":nth-child(even)",
group-hover: ":hover",
group-focus: ":focus",
group-focus-within: ":focus-within",
) !default;

// @description List of modules to include or exclude
Expand Down
32 changes: 16 additions & 16 deletions low/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $all-utilities: (
background-color: (
group: "background",
alias: "bg",
variants: ("default", "hover", "focus", "focus-within", "active", "checked", "group-hover", "group-focus", "group-focus-within"),
variants: ("default", "hover", "focus", "focus-within", "active", "checked", "disabled", "required", "group-hover", "group-focus"),
properties: (background-color),
values: config.$background-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/background-color",
Expand Down Expand Up @@ -129,7 +129,7 @@ $all-utilities: (
border-color: (
group: "border",
alias: "b",
variants: ("default", "hover", "focus", "focus-within", "active", "checked", "group-hover", "group-focus", "group-focus-within"),
variants: ("default", "hover", "focus", "focus-within", "active", "checked", "disabled", "required", "group-hover", "group-focus"),
properties: (border-color),
values: config.$border-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/border-color",
Expand All @@ -156,7 +156,7 @@ $all-utilities: (
border-bottom-color: (
group: "border",
alias: "bb",
variants: ("default", "hover", "focus", "active", "checked"),
variants: ("default", "hover", "focus", "active", "checked", "disabled", "required"),
properties: (border-bottom-color),
values: config.$border-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-color",
Expand All @@ -183,7 +183,7 @@ $all-utilities: (
border-left-color: (
group: "border",
alias: "bl",
variants: ("default", "hover", "focus", "active", "checked"),
variants: ("default", "hover", "focus", "active", "checked", "disabled", "required"),
properties: (border-left-color),
values: config.$border-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-color",
Expand All @@ -210,7 +210,7 @@ $all-utilities: (
border-right-color: (
group: "border",
alias: "br",
variants: ("default", "hover", "focus", "active", "checked"),
variants: ("default", "hover", "focus", "active", "checked", "disabled", "required"),
properties: (border-right-color),
values: config.$border-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-color",
Expand All @@ -237,7 +237,7 @@ $all-utilities: (
border-top-color: (
group: "border",
alias: "bt",
variants: ("default", "hover", "focus", "active", "checked"),
variants: ("default", "hover", "focus", "active", "checked", "disabled", "required"),
properties: (border-top-color),
values: config.$border-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-color",
Expand All @@ -264,7 +264,7 @@ $all-utilities: (
outline-color: (
group: "border",
alias: "outline",
variants: ("default", "focus", "focus-within", "hover", "active", "checked"),
variants: ("default", "focus", "focus-within", "hover", "active", "checked", "disabled", "required"),
properties: (outline-color),
values: config.$outline-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/outline-color",
Expand All @@ -273,7 +273,7 @@ $all-utilities: (
outline-offset: (
group: "border",
alias: "outline",
variants: ("default", "focus", "focus-within", "hover", "active", "checked"),
variants: ("default", "focus", "focus-within", "hover", "active", "checked", "disabled", "required"),
properties: (outline-offset),
values: config.$outline-offset,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/outline-offset",
Expand All @@ -282,7 +282,7 @@ $all-utilities: (
outline-style: (
group: "border",
alias: "outline",
variants: ("default", "focus", "focus-within", "hover", "active", "checked"),
variants: ("default", "focus", "focus-within", "hover", "active", "checked", "disabled", "required"),
properties: (outline-style),
values: config.$outline-style,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/outline-style",
Expand All @@ -291,7 +291,7 @@ $all-utilities: (
outline-width: (
group: "border",
alias: "outline",
variants: ("default", "focus", "focus-within", "hover", "active", "checked"),
variants: ("default", "focus", "focus-within", "hover", "active", "checked", "disabled", "required"),
properties: (outline-width),
values: config.$outline-width,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/outline-width",
Expand All @@ -311,7 +311,7 @@ $all-utilities: (
opacity: (
group: "effects",
alias: "o",
variants: ("default", "responsive", "hover", "focus", "focus-within", "group-hover", "group-focus", "group-focus-within"),
variants: ("default", "responsive", "hover", "focus", "focus-within", "group-hover", "group-focus"),
properties: (opacity),
values: config.$opacity,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/opacity",
Expand Down Expand Up @@ -470,7 +470,7 @@ $all-utilities: (
display: (
group: "layout",
alias: "d",
variants: ("default", "responsive", "group-hover", "group-focus", "group-focus-within", "first", "last"),
variants: ("default", "responsive", "group-hover", "group-focus", "first", "last"),
properties: (display),
values: config.$display,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/display",
Expand Down Expand Up @@ -773,7 +773,7 @@ $all-utilities: (
font-weight: (
group: "typography",
alias: "font",
variants: ("default", "hover", "focus", "focus-within", "responsive", "group-hover", "group-focus", "group-focus-within"),
variants: ("default", "hover", "focus", "focus-within", "responsive", "group-hover", "group-focus"),
properties: (font-weight),
values: config.$font-weight,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight",
Expand Down Expand Up @@ -809,7 +809,7 @@ $all-utilities: (
text-color: (
group: "typography",
alias: "text",
variants: ("default", "hover", "focus", "focus-within", "active", "checked", "responsive", "group-hover", "group-focus", "group-focus-within"),
variants: ("default", "hover", "focus", "focus-within", "active", "disabled", "required", "checked", "responsive", "group-hover", "group-focus"),
properties: (color),
values: config.$text-color,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/color",
Expand All @@ -818,7 +818,7 @@ $all-utilities: (
text-decoration: (
group: "typography",
alias: "text",
variants: ("default", "hover", "focus", "focus-within", "group-hover", "group-focus", "group-focus-within"),
variants: ("default", "hover", "focus", "focus-within", "group-hover", "group-focus"),
properties: (text-decoration),
values: config.$text-decoration,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration",
Expand All @@ -827,7 +827,7 @@ $all-utilities: (
text-transform: (
group: "typography",
alias: "text",
variants: ("default", "hover", "focus", "focus-within", "group-hover", "group-focus", "group-focus-within"),
variants: ("default", "hover", "focus", "focus-within", "group-hover", "group-focus"),
properties: (text-transform),
values: config.$text-transform,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform",
Expand Down

0 comments on commit 2f69d0c

Please sign in to comment.