Tokens
The tokens listed below are part of Savile, but are mainly intended for internal use. If one wants to use the variables listed here in another project, they are available and require the CSS variable syntax (e.g. color: var(--s-color-gray-100);
).
Font-size
Class Name
Value
--s-font-size-xxs
0.625rem
--s-font-size-xs
0.75rem
--s-font-size-sm
0.875rem
--s-font-size-md
1rem
--s-font-size-lg
1.5rem
--s-font-size-xl
2rem
--s-font-size-xxl
3rem
Font-weight
Class Name
Value
--s-font-weight-ultra-light
200
--s-font-weight-light
300
--s-font-weight-normal
400
--s-font-weight-bold
700
--s-font-weight-heavy
900
Font-family
Class Name
Value
--s-font-family-default
Helvetica Neue
Default Font Family
--s-font-family-alternate
Roboto Slab
Alternate Font Family
--s-font-family-mono
Roboto Mono
Monospace Font Family
Spacing
Class Name
Value
--s-space-0
0rem
--s-space-1
0.125rem
--s-space-2
0.25rem
--s-space-3
0.5rem
--s-space-4
0.75rem
--s-space-5
1rem
--s-space-6
1.25rem
--s-space-7
1.5rem
--s-space-8
1.75rem
--s-space-9
2rem
--s-space-10
2.5rem
--s-space-11
3rem
--s-space-12
3.5rem
--s-space-13
4rem
Shadows
Class Name
Value
--s-shadow-sm
0 1px 3px var(--s-color-gray-600)
--s-shadow-md
0 4px 6px var(--s-color-gray-600)
--s-shadow-lg
0 15px 35px var(--s-color-gray-600)