Skip to content

Commit

Permalink
overrwrite default ui role-based token
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrahoang686 committed Nov 22, 2024
1 parent f448915 commit 1410620
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,4 @@
font-weight: regular;
letter-spacing: -0.025em;
}
}

.mode-dark {
span {
color: themeVars.$veda-uswds-color-base-white !important;
}
}
8 changes: 7 additions & 1 deletion app/scripts/styles/_uswds-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mobile-lg": false,
"desktop": false
),
$theme-font-type-sans: baseFontFamily,
$theme-font-type-serif: baseFontFamily,
$theme-font-type-sans: 'public-sans',
);


// @NOTE: 'ui' & 'body' (role-based tokens) seems to be the default font-family setting token ($theme-font-role-ui) across components https://designsystem.digital.gov/documentation/settings/#typography-settings,
// for example footer, header, form, button, banner, etc. Could we just ovewrite those to look at public-sans which is what we want our default?
// $theme-font-role-ui role-based token maps to 'sans' type-based token
// $theme-font-role-body maps to 'sans' type-based token

0 comments on commit 1410620

Please sign in to comment.