size-definition
v1.0.3arrow_drop_downv1.0.3
v1.0.2
v1.0.1
v1.0.1
v1.0.0
v1.0.0
STATUS
Passing
DOWNLOADS
4,530
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
3 KB
Css-variables definitions for font sizes.
1 contributor
Like
Install size-definition as a package?
Copied
npm i @bit/bit.base-ui.theme.size-definition
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
theme/sizeDefinition ()
Css-variables definitions for font sizes. For headers:
--h-xxs: 18px
--h-xs: 26px
--h-sm: 36px
--h-md: 40px
--h-lg: 50px
--h-xl: 60px
--h-xxl: 80px
For paragraphs:
--p-xxs: 12px
--p-xs: 14px
--p-sm: 15px
--p-md: 16px
--p-lg: 18px
--p-xl: 20px
--p-xxl: 24px
To use, add classes heading
and text
to your root component.