Last active
October 31, 2022 17:04
-
-
Save zeroedin/c6cb41fd776f9242e9d27265505d4c48 to your computer and use it in GitHub Desktop.
Static font size override for RHDS components
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--rh-font-size-text-xl: 1.125em; | |
--rh-line-height-body-text: 150%; | |
--rh-font-size-body-text-xs: 0.75em; | |
--rh-font-size-body-text-sm: 0.875em; | |
--rh-font-size-body-text-md: 1em; | |
--rh-font-size-body-text-lg: 1.125em; | |
--rh-font-size-code-xs: 0.75em; | |
--rh-footer-link-header-mobile-font-size: 0.875em; | |
} | |
rh-alert, | |
rh-blockquote, | |
rh-cta, | |
rh-dialog, | |
rh-footer, | |
rh-pagination, | |
rh-secondary-nav, | |
rh-stat, | |
rh-tooltip { | |
font-size: initial; | |
} | |
rh-footer::part(links-accordion-header) { | |
--rh-footer-link-header-font-size: 0.875em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment