Skip to content

Commit

Permalink
chore(styles): try to match design
Browse files Browse the repository at this point in the history
  • Loading branch information
schaertim committed Sep 11, 2024
1 parent 4fcf664 commit 9fbb62f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/styles/src/components/form-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tokens.$default-map: components.$post-radio-button;
}

// TODO: Use tokens for these (not yet provided)
outline-offset: spacing.$size-line !important;
outline-offset: 3px !important;
border-radius: commons.$border-radius;
}

Expand Down Expand Up @@ -79,7 +79,7 @@ tokens.$default-map: components.$post-radio-button;
height: tokens.get('radio-button','icon-height-inner');
width: tokens.get('radio-button', 'icon-width-inner');
border: tokens.get('radio-button', 'icon-border-width') solid tokens.get('radio-button', 'enabled-stroke');
margin-top: 10px;
margin-top: 1px;

@include utility-mx.high-contrast-mode {
border-color: FieldText; // For blink-browser as otherwise the default color (which is not a full color) will be converted to Highlight
Expand Down Expand Up @@ -113,7 +113,8 @@ tokens.$default-map: components.$post-radio-button;
border-radius: tokens.get('radio-button', 'border-radius-round');

&:checked::after {
border: spacing.$size-micro solid transparent;
// TODO: Use tokens
border: 3px solid transparent;
background-color: currentColor;
border-radius: inherit;
background-clip: padding-box;
Expand Down

0 comments on commit 9fbb62f

Please sign in to comment.