1.0.4 • Published 9 months ago

@fari-brussels/style v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

FARI Style

A CSS library that exports both plain CSS and Sass (SCSS).


Table of Contents


Installation

npm i @fari-brussels/style

Usage

Plain CSS

@use '@fari-brussels/style';

Sass

@use '@fari-brussels/style/sass' as *; // or any other namespace

Classes

Borders

ClassProperty
rounded-noneborder-radius: 0
rounded-mdborder-radius: 1rem
rounded-lgborder-radius: 3rem

Extended Borders

ClassProperty
rounded-es-noneborder-end-start-radius: 0
rounded-es-mdborder-end-start-radius: 1rem
rounded-es-lgborder-end-start-radius: 3rem
rounded-ee-noneborder-end-end-radius: 0
rounded-ee-mdborder-end-end-radius: 1rem
rounded-ee-lgborder-end-end-radius: 3rem

Colors

Text Colors

ClassProperty
color-bluecolor: #183e91
color-primarycolor: #2e4fbf
color-whitecolor: #f6f6f6
color-blackcolor: #181716

Background Colors

ClassProperty
bg-color-bluebackground-color: #183e91
bg-color-primarybackground-color: #2e4fbf
bg-color-whitebackground-color: #f6f6f6
bg-color-blackbackground-color: #181716

Stroke & Fill

ClassProperty
stroke-color-bluestroke: #183e91
fill-color-bluefill: #183e91

Spacing

ClassProperty
m-nonemargin: 0
m-xsmargin: 0.75rem
m-smmargin: 1.75rem
m-mdmargin: 2rem

Padding

ClassProperty
p-nonepadding: 0
p-xspadding: 0.75rem
p-smpadding: 1.75rem
p-mdpadding: 2rem

Typography

ClassProperty
font-family-basefont-family: 'Inter', sans-serif
font-size-basefont-size: 16px
font-size-titlefont-size: 4.5rem

Variables

Border Variables

$none: 0;
$border-md: 1rem;
$border-lg: 3rem;

Color Variables

$blue: #183e91;
$primary: #2e4fbf;
$white: #f6f6f6;
$black: #181716;

Spacing Variables

$space-xs: 0.75rem;
$space-sm: 1.75rem;
$space-md: 2rem;
$space-lg: 3rem;

Typography Variables

$inter: 'Inter', sans-serif;
$base: 16px;
$title: 4.5rem;

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago