Skip to content

Commit

Permalink
Applied new submit button custom property
Browse files Browse the repository at this point in the history
  • Loading branch information
dutchcelt committed Jan 7, 2024
1 parent 366f94a commit 87ce9bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/system-selectors.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,12 @@
}

button[type='submit'] {
background: var(--system-accent-color);
color: var(--system-content-color-light);
background: var(--system-submit-button);
color: var(--system-submit-button-text);
border: var(--system-stroke-thin) solid var(--system-accent-color);

&:is(:focus, :focus-visible, :enabled:hover) {
color: var(--system-content-color-light);
color: var(--system-submit-button-text);
border-color: color-mix(in oklab, var(--system-accent-color) 85%, var(--system-canvas-text));
background: color-mix(in oklab, var(--system-accent-color) 85%, var(--system-canvas-text));
}
Expand Down

0 comments on commit 87ce9bd

Please sign in to comment.