- Hex:
- #fdb913
- Text color:
.gold
- Background Color
.bg-gold
- Hex:
- #975f20
- Text color:
.brown-dark
- Background Color
.bg-brown-dark
- Hex:
- #c37c13
- Text color:
.brown-light
- Background Color
.bg-brown-light
.gold
.bg-gold
.brown-dark
.bg-brown-dark
.brown-light
.bg-brown-light
.gray-700
.bg-gray-700
.gray-600
.bg-gray-600
.gray-500
.bg-gray-500
.gray-400
.bg-gray-400
.gray-300
.bg-gray-300
.gray-200
.bg-gray-200
.gray-100
.bg-gray-100
.alert-red
.bg-alert-red
.alert-red-light
.bg-alert-red-light
.success-green
.bg-success-green
By switching the theme toggle above, a class of .dark-theme
is added to the containing div below,
which
switches the theme to have a dark background with reversed text.
The default theme for any containing div is a white background with dark text.
A note on fonts: a licensed version of the correct font (Conduit) was unavailable for this styleguide. Saira from Google fonts has been substituted in its place. To change back to Conduit:
/dist/fonts
variables.scss
and comment out the variables for Saira.fonts.scss
and ensure the names in the font face rules match the filenames of the fonts.Font Size | Font Weight: Bold | Font Weight: Medium | Font Weight: Italic | Font Weight: Regular | Font Weight: Light |
---|---|---|---|---|---|
Font Size 1000
4.5rem / 72px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 900
4rem / 64px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 800
3.5rem / 56px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 700
3rem / 48px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 600
2.5rem / 40px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 500
2rem / 32px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 400
1.5rem / 24px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 300
1.25rem / 20px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 200
1.125rem / 18px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 100
1rem / 16px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 75
0.875rem / 14px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 50
0.75rem / 12px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
Font Size 25
0.625rem / 10px
|
Conduit Bold | Conduit Medium | Conduit Italic | Conduit Regular | Conduit Light |
This is introduction text. It has a fixed size, and a custom line height. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dapibus vulputate diam eu pretium.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore aliqua.
This is introduction text. It has sit amet, consectetur adipiscing elit. Cras dapibus vulputate diam eu pretium.
Button classes such as .btn-small
or .btn-transparent
can be
combined.
This is an optional caption for the input. It can wrap to multiple lines.
This is an optional caption for the input. It can wrap to multiple lines.
Note the inline style (padding-left
) required for the select with internal label.
This value will need to be set based on the length of the label text.
This is a caption below a select element
Toggle buttons must have a text label. There are two ways to achieve this.
Toggle button labelled by another element
Toggle button labelled by aria-label
Disabled toggle button
Each individual icon in this set can be invoked by including an SVG element which references the icon's ID attribute. For example, the icon with ID "icon-zoom-in" is referenced as follows.
Icons are also available as variables which can be used in CSS url
s. Look in _variables.scss for more info