Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion core/accessibility.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,17 @@
top: var(--sf-space-m);
}


/* ----------------------------------------------------------
Focus-parent — an a11y *pattern*, not a state. Lives in the
accessibility layer (was previously in states.css; moved in
v0.3.0) so that all focus-related a11y rules share one home
and survive third-party resets at the same priority as the
focus-visible ring above. Cannot be hardened with !important
because the outline shorthand is consumer-customisable.
Canonical name: .sf-focus-parent (prefixed).
---------------------------------------------------------- */
.focus-parent:focus-within {
.sf-focus-parent:focus-within {
outline: var(--sf-focus-ring-width) var(--sf-focus-ring-style, solid) var(--sf-color-border--focus);
outline-offset: var(--sf-focus-ring-offset);
}
Expand Down
11 changes: 6 additions & 5 deletions core/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,12 @@
vertical-align: text-bottom;
fill: currentcolor;
}
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--2xl { --sf-icon-size: var(--sf-icon-2xl); }

/* Boxed variant — wraps the icon in a padded, bordered, optionally
coloured frame. Adds inline-/block-size on top of the naked icon
Expand Down
13 changes: 7 additions & 6 deletions core/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -561,14 +561,15 @@
--sf-icon-scale knob by design. clamp() is intentionally
absent here: making icons fluid INDEPENDENTLY of context
would break the relationship to surrounding text.
Capped at --xl (3em48px on default text); above that the
Capped at --2xl (4em64px on default text); above that the
element ceases to be an icon and becomes an illustration.
---------------------------------------------------------- */
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-2xl: 4em;


/* ----------------------------------------------------------
Expand Down
28 changes: 16 additions & 12 deletions dist/slashed.essential.css
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,15 @@
--sf-icon-scale knob by design. clamp() is intentionally
absent here: making icons fluid INDEPENDENTLY of context
would break the relationship to surrounding text.
Capped at --xl (3em48px on default text); above that the
Capped at --2xl (4em64px on default text); above that the
element ceases to be an icon and becomes an illustration.
---------------------------------------------------------- */
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-2xl: 4em;


/* ----------------------------------------------------------
Expand Down Expand Up @@ -1948,11 +1949,12 @@
vertical-align: text-bottom;
fill: currentcolor;
}
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--2xl { --sf-icon-size: var(--sf-icon-2xl); }

/* Boxed variant — wraps the icon in a padded, bordered, optionally
coloured frame. Adds inline-/block-size on top of the naked icon
Expand Down Expand Up @@ -3139,15 +3141,17 @@
top: var(--sf-space-m);
}


/* ----------------------------------------------------------
Focus-parent — an a11y *pattern*, not a state. Lives in the
accessibility layer (was previously in states.css; moved in
v0.3.0) so that all focus-related a11y rules share one home
and survive third-party resets at the same priority as the
focus-visible ring above. Cannot be hardened with !important
because the outline shorthand is consumer-customisable.
Canonical name: .sf-focus-parent (prefixed).
---------------------------------------------------------- */
.focus-parent:focus-within {
.sf-focus-parent:focus-within {
outline: var(--sf-focus-ring-width) var(--sf-focus-ring-style, solid) var(--sf-color-border--focus);
outline-offset: var(--sf-focus-ring-offset);
}
Expand Down
28 changes: 16 additions & 12 deletions dist/slashed.essential.flat.css
Original file line number Diff line number Diff line change
Expand Up @@ -568,14 +568,15 @@
--sf-icon-scale knob by design. clamp() is intentionally
absent here: making icons fluid INDEPENDENTLY of context
would break the relationship to surrounding text.
Capped at --xl (3em48px on default text); above that the
Capped at --2xl (4em64px on default text); above that the
element ceases to be an icon and becomes an illustration.
---------------------------------------------------------- */
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-2xl: 4em;


/* ----------------------------------------------------------
Expand Down Expand Up @@ -1914,11 +1915,12 @@ td, th {
vertical-align: text-bottom;
fill: currentcolor;
}
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--2xl { --sf-icon-size: var(--sf-icon-2xl); }

/* Boxed variant — wraps the icon in a padded, bordered, optionally
coloured frame. Adds inline-/block-size on top of the naked icon
Expand Down Expand Up @@ -3093,15 +3095,17 @@ td, th {
top: var(--sf-space-m);
}


/* ----------------------------------------------------------
Focus-parent — an a11y *pattern*, not a state. Lives in the
accessibility layer (was previously in states.css; moved in
v0.3.0) so that all focus-related a11y rules share one home
and survive third-party resets at the same priority as the
focus-visible ring above. Cannot be hardened with !important
because the outline shorthand is consumer-customisable.
Canonical name: .sf-focus-parent (prefixed).
---------------------------------------------------------- */
.focus-parent:focus-within {
.sf-focus-parent:focus-within {
outline: var(--sf-focus-ring-width) var(--sf-focus-ring-style, solid) var(--sf-color-border--focus);
outline-offset: var(--sf-focus-ring-offset);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/slashed.essential.flat.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slashed.essential.flat.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slashed.essential.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slashed.essential.min.css.map

Large diffs are not rendered by default.

34 changes: 20 additions & 14 deletions dist/slashed.full.css
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,15 @@
--sf-icon-scale knob by design. clamp() is intentionally
absent here: making icons fluid INDEPENDENTLY of context
would break the relationship to surrounding text.
Capped at --xl (3em48px on default text); above that the
Capped at --2xl (4em64px on default text); above that the
element ceases to be an icon and becomes an illustration.
---------------------------------------------------------- */
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-2xl: 4em;


/* ----------------------------------------------------------
Expand Down Expand Up @@ -1948,11 +1949,12 @@
vertical-align: text-bottom;
fill: currentcolor;
}
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--2xl { --sf-icon-size: var(--sf-icon-2xl); }

/* Boxed variant — wraps the icon in a padded, bordered, optionally
coloured frame. Adds inline-/block-size on top of the naked icon
Expand Down Expand Up @@ -3139,15 +3141,17 @@
top: var(--sf-space-m);
}


/* ----------------------------------------------------------
Focus-parent — an a11y *pattern*, not a state. Lives in the
accessibility layer (was previously in states.css; moved in
v0.3.0) so that all focus-related a11y rules share one home
and survive third-party resets at the same priority as the
focus-visible ring above. Cannot be hardened with !important
because the outline shorthand is consumer-customisable.
Canonical name: .sf-focus-parent (prefixed).
---------------------------------------------------------- */
.focus-parent:focus-within {
.sf-focus-parent:focus-within {
outline: var(--sf-focus-ring-width) var(--sf-focus-ring-style, solid) var(--sf-color-border--focus);
outline-offset: var(--sf-focus-ring-offset);
}
Expand Down Expand Up @@ -3736,11 +3740,13 @@
full control via BEM components, skip this file entirely.

TOKENS CONSUMED:
--sf-radius-m, --sf-border-width-1, --sf-color-border,
--sf-radius-m, --sf-radius-full, --sf-border-width-1,
--sf-border-width-3, --sf-color-border,
--sf-color-border--focus, --sf-color-border--subtle,
--sf-color-surface, --sf-color-text, --sf-color-text--placeholder,
--sf-color-text--disabled, --sf-color-text--on-action,
--sf-color-bg--disabled, --sf-color-action, --sf-color-error,
--sf-color-bg--disabled, --sf-color-action, --sf-color-action-hover,
--sf-color-error,
--sf-field-border-color, --sf-opacity-disabled,
--sf-space-xs, --sf-space-s, --sf-space-m,
--sf-text-m, --sf-leading-normal, --sf-font-weight-heading,
Expand Down
34 changes: 20 additions & 14 deletions dist/slashed.full.flat.css
Original file line number Diff line number Diff line change
Expand Up @@ -568,14 +568,15 @@
--sf-icon-scale knob by design. clamp() is intentionally
absent here: making icons fluid INDEPENDENTLY of context
would break the relationship to surrounding text.
Capped at --xl (3em48px on default text); above that the
Capped at --2xl (4em64px on default text); above that the
element ceases to be an icon and becomes an illustration.
---------------------------------------------------------- */
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-xs: 0.875em;
--sf-icon-s: 1em;
--sf-icon-m: 1.5em;
--sf-icon-l: 2em;
--sf-icon-xl: 3em;
--sf-icon-2xl: 4em;


/* ----------------------------------------------------------
Expand Down Expand Up @@ -1914,11 +1915,12 @@ td, th {
vertical-align: text-bottom;
fill: currentcolor;
}
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--xs { --sf-icon-size: var(--sf-icon-xs); }
.sf-icon--s { --sf-icon-size: var(--sf-icon-s); }
.sf-icon--m { --sf-icon-size: var(--sf-icon-m); }
.sf-icon--l { --sf-icon-size: var(--sf-icon-l); }
.sf-icon--xl { --sf-icon-size: var(--sf-icon-xl); }
.sf-icon--2xl { --sf-icon-size: var(--sf-icon-2xl); }

/* Boxed variant — wraps the icon in a padded, bordered, optionally
coloured frame. Adds inline-/block-size on top of the naked icon
Expand Down Expand Up @@ -3093,15 +3095,17 @@ td, th {
top: var(--sf-space-m);
}


/* ----------------------------------------------------------
Focus-parent — an a11y *pattern*, not a state. Lives in the
accessibility layer (was previously in states.css; moved in
v0.3.0) so that all focus-related a11y rules share one home
and survive third-party resets at the same priority as the
focus-visible ring above. Cannot be hardened with !important
because the outline shorthand is consumer-customisable.
Canonical name: .sf-focus-parent (prefixed).
---------------------------------------------------------- */
.focus-parent:focus-within {
.sf-focus-parent:focus-within {
outline: var(--sf-focus-ring-width) var(--sf-focus-ring-style, solid) var(--sf-color-border--focus);
outline-offset: var(--sf-focus-ring-offset);
}
Expand Down Expand Up @@ -3683,11 +3687,13 @@ td, th {
full control via BEM components, skip this file entirely.

TOKENS CONSUMED:
--sf-radius-m, --sf-border-width-1, --sf-color-border,
--sf-radius-m, --sf-radius-full, --sf-border-width-1,
--sf-border-width-3, --sf-color-border,
--sf-color-border--focus, --sf-color-border--subtle,
--sf-color-surface, --sf-color-text, --sf-color-text--placeholder,
--sf-color-text--disabled, --sf-color-text--on-action,
--sf-color-bg--disabled, --sf-color-action, --sf-color-error,
--sf-color-bg--disabled, --sf-color-action, --sf-color-action-hover,
--sf-color-error,
--sf-field-border-color, --sf-opacity-disabled,
--sf-space-xs, --sf-space-s, --sf-space-m,
--sf-text-m, --sf-leading-normal, --sf-font-weight-heading,
Expand Down
2 changes: 1 addition & 1 deletion dist/slashed.full.flat.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slashed.full.flat.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slashed.full.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slashed.full.min.css.map

Large diffs are not rendered by default.

Loading