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: 2 additions & 2 deletions core/accessibility.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
select,
summary,
a {
min-height: 44px;
min-width: 44px;
min-height: var(--sf-touch-target);
min-width: var(--sf-touch-target);
}
}

Expand Down
4 changes: 2 additions & 2 deletions core/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

code {
font-family: var(--sf-font-mono);
font-size: 0.875em;
font-size: var(--sf-code-font-size);
padding: 0.125em 0.3em;
border-radius: var(--sf-radius-xs);
background-color: var(--sf-color-code-bg);
Expand Down Expand Up @@ -155,7 +155,7 @@
}

input, textarea {
caret-color: var(--sf-color-action);
caret-color: var(--sf-caret-color);
}

input, progress {
Expand Down
1 change: 1 addition & 0 deletions core/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@

.sf-reel {
display: flex;
block-size: var(--sf-reel-height);
gap: var(--sf-reel-gap);
overflow-x: auto;
scroll-snap-type: x mandatory;
Expand Down
10 changes: 5 additions & 5 deletions core/states.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
height: 1em;
margin-block-start: -0.5em;
margin-inline-start: -0.5em;
border: 2px solid var(--sf-color-border--strong);
border: var(--sf-border-width-2) solid var(--sf-color-border--strong);
border-block-start-color: var(--sf-color-action);
border-radius: var(--sf-radius-full);
/* Reduced-motion: accessibility.css kills animation-duration via
!important on *, *::before, *::after — so this spinner stops
even without a local reduced-motion wrapper. */
animation: sf-spin 0.6s linear infinite;
animation: sf-spin var(--sf-duration-slower) linear infinite;
}

.is-busy {
Expand All @@ -100,7 +100,7 @@
var(--sf-color-well) 75%
);
background-size: 200% 100%;
animation: sf-shimmer 1.5s ease-in-out infinite;
animation: sf-shimmer calc(1.5s * var(--sf-motion-scale)) ease-in-out infinite;
border-radius: var(--sf-radius-s);
pointer-events: none;
user-select: none;
Expand Down Expand Up @@ -270,8 +270,8 @@
}

.is-drop-target {
outline: 2px dashed var(--sf-color-action);
outline-offset: 2px;
outline: var(--sf-focus-ring-width) dashed var(--sf-color-action);
outline-offset: var(--sf-focus-ring-offset);
}

.is-draggable {
Expand Down
2 changes: 2 additions & 0 deletions core/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@
--sf-body-strong-weight: var(--sf-font-weight-bold);
--sf-body-em-style: italic;

--sf-code-font-size: 0.875em;

--sf-heading-font-family: var(--sf-font-heading);
--sf-heading-color: var(--sf-color-heading);
--sf-heading-text-wrap: balance;
Expand Down
Loading