niduscss-elements-typography
v1.1.2
Published
Default style used in elements related with text for niduscss framework
Downloads
1
Maintainers
Readme
niduscss-elements-typography
Default style used in elements related with text for niduscss framework.
Installation
$ npm install niduscss-elements-typography
Usage
Define the custom properties in a file if you like modify the default values:
Example: create a setting.css file:
:root {
--Link-fs-xxsmall: 0.625rem;
--Link-fs-xsmall: 0.75rem;
--Link-fs-small: 0.875rem;
--Link-fs-normal: 1rem;
--Link-fs-medium: 1.25rem;
--Link-fs-big: 1.5rem;
--Link-fs-huge: 2.125rem;
--Link-fs-extreme: 2.8125rem;
--Link-fs-xextreme: 3.5rem;
}
Import styles:
styles.css:
/* Import first de file with custom properties or declare before import the
component.
========================================================================== */
@import "settings";
/* Elements
========================================================================== */
@import "niduscss-elements-typography";
/* Other styles */