Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/forma-36-fcss

Package Overview
Dependencies
Maintainers
99
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/forma-36-fcss

Forma 36 FCSS

  • 0.2.13-next-v4-3678.192
  • npm
  • Socket score

Version published
Weekly downloads
15K
decreased by-4.88%
Maintainers
99
Weekly downloads
 
Created
Source

Forma 36 FCSS

Forma 36 FCSS - Utility CSS classes for applying spacing, colors, typography, shadows, and transitions to elements.

Getting started

Import the styles.css file into your stylesheet.

@import '@contentful/forma-36-fcss/dist/styles.css'

Naming convention

The class names consist out of the prefix (e.g. .f36-) the attribute (e.g. margin-bottom) and the scale or modifier (--xs). See a list of all class names below

Spacing

Margin

margin-top
margin-bottom
margin-right
margin-left
margin
margin-horizontal
margin-vertical

Scale:
xs, s, m, l, xl, 2xl, 3xl, 4xl

Class name composition example:

 .f36-margin-top--xs

Padding

padding-top
padding-bottom
padding-right
padding-left
padding
padding-horizontal
padding-vertical

Scale:
xs, s, m, l, xl, 2xl, 3xl, 4xl

Class name composition example:

 .f36-padding-top--xs

Typography

Font Families

.f36-font-family--sans-serif
.f36-font-family--monospace

Typography Scale

font-size

Scale:
s, m, l, xl, 2xl, 3xl

Class name composition example:

 .f36-font-size--s

Weights

font-weight

Scale:
normal, medium, demi-bold

Class name composition example:

.f36-font-weight--normal

Line Height

line-height

Scale:
default, condensed

Classname composition example:

.f36-line-height--default

Colors

Text Colors & Backgrounds

Semantic Colors:

ColorBackground
.f36-color--primary,.f36-background-color--primary
.f36-color--positive.f36-background-color--positive
.f36-color--negative.f36-background-color--negative
.f36-color--warning.f36-background-color--warning

Text Colors:

Color
.f36-color--text-dark
.f36-color--text-mid
.f36-color--text-light
.f36-color--text-lightest

Element Colors

ColorBackground
.f36-color--element-darkest.f36-background-color--element-darkest
.f36-color--element-dark.f36-background-color--element-dark
.f36-color--element-mid.f36-background-color--element-mid
.f36-color--element-light.f36-background-color--element-light
.f36-color--element-lightest.f36-background-color--element-lightest

Contast Colors

ColorBackground
.f36-color--contrast-dark.f36-background-color--contrast-dark
.f36-color--contrast-mid.f36-background-color--contrast-mid
.f36-color--contrast-light.f36-background-color--contrast-light

Colors:

ColorBackground
.f36-color--blue.f36-background-color--blue
.f36-color--green.f36-background-color--green
.f36-color--red.f36-background-color--red
.f36-color--orange.f36-background-color--orange
.f36-color--coral.f36-background-color--coral

Secondary Colors:

ColorBackground
.f36-color--mint.f36-background-color--mint
.f36-color--ice.f36-background-color--ice

White:

ColorBackground
.f36-color--white.f36-background-color--white

Shadows

box-shadow

Scale:
default, heavy

Class name composition example:

.f36-box-shadow--default

Glows

box-shadow

Scale:
primary, negative, positive

Class name composition example:

.f36-glow--primary

Transitions

transition-duration

Scale:
short, default, long

Class name composition example:

.f36-transition-duration--short

Easing

transition-easing

Scale:
default, cubic-bezier

Class name composition example:

.f36-transition-easing--default

FAQs

Package last updated on 24 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc