1.6.0 • Published 5 years ago
@ruids/css v1.6.0
ruids CSS
ruids CSS - Utility CSS classes for applying spacing, colors, typography, shadows, flex, and transitions to elements.
Getting started
Import the styles.css file into your stylesheet.
@import '@ruids/css/dist/styles.css'Spacing
Margin
Padding
Typography
Font Families
.font-sans
.font-monoTypography Scale
Scale:
xs, sm, base, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl
Class name composition example:
.text-baseWeights
Scale:
hairline thin light normal medium semibold bold extrabold black
Class name composition example:
.font-normalLine Height
Scale:
none tight snug normal relaxed 3 4 5 6 7 8 9 10
Classname composition example:
.leading-tightLetter Spacing
Scale:
tighter tight normal wide wider widest
Classname composition example:
.tracking-tightShadows
Scale:
xs sm md lg xl 2xl inner outline none
Class name composition example:
.shadow (base)
.shadow-innerGlows
Scale:
primary, negative, positive, warning
Class name composition example:
.glow-warning