niduscss-elements-typography

1.1.2 • Public • Published

niduscss-elements-typography

npm

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 */

Changelog

Package Sidebar

Install

npm i niduscss-elements-typography

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • nimedev