You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To establish consistency and aid to developers, this guide aims to set a ruleset of common styles and resources such as colors, typography, and more.
Please use Global.css
Getting Started
Global.css contains a collection of common styling properties and CSS classes which can be used to both create new CSS classes and "pre-build" styles onto one class you can then cascade onto the HTML element you want to style. This guide will list all available properties and CSS classes from the global.css file.
To use a property from global.css into your file, use the var() function when declaring your own property. For example, if we wanted to set the color of a text within a container with the class myCustomClass to our primary blue color, we would use the --blue prefix property as so:
To add a class from global.css to your html element in tsx, wrap the
element.tsx
return(
<div className={`bgGray ${myCustomClass}`}>
Lorem Ipsum
</div>
)
Visual Style
Colors and Font
The most unifying visual component is the consistent use of colors and font settings. Font Family
font-family: Raleway, sans-serif;
font-size: 24px;
The core colors below are for background and textual elements. They are listed with their CSS variable value for easy access.
Primary Color --blue
Secondary Color --dark-blue
White --white
Light Blue --light-blue
Gray --gray
Cool Gray --cool-gray
Typography
.xlText Heading 1 / XL Text
.lgText Heading 2 / Large Text
.mdText Heading 3 / Medium Text
Normal Text
Design Elements
Sections
Blue .bgBlue
Nam sagittis scelerisque maximus. Integer id volutpat augue, nec suscipit ante. Nulla facilisi. Proin interdum lectus ligula, in elementum leo lacinia et. Ut nec condimentum urna. Morbi at elit tellus. Praesent vel faucibus purus, sed laoreet orci. Donec tempus elit vel purus gravida laoreet. Fusce maximus metus eget dolor scelerisque, eu ornare arcu faucibus. In ut lacus id ligula tempus blandit sed sed nisl.
Dark Blue .bgDarkBlue
Nam sagittis scelerisque maximus. Integer id volutpat augue, nec suscipit ante. Nulla facilisi. Proin interdum lectus ligula, in elementum leo lacinia et. Ut nec condimentum urna. Morbi at elit tellus. Praesent vel faucibus purus, sed laoreet orci. Donec tempus elit vel purus gravida laoreet. Fusce maximus metus eget dolor scelerisque, eu ornare arcu faucibus. In ut lacus id ligula tempus blandit sed sed nisl.
Gray .bgGray
Nam sagittis scelerisque maximus. Integer id volutpat augue, nec suscipit ante. Nulla facilisi. Proin interdum lectus ligula, in elementum leo lacinia et. Ut nec condimentum urna. Morbi at elit tellus. Praesent vel faucibus purus, sed laoreet orci. Donec tempus elit vel purus gravida laoreet. Fusce maximus metus eget dolor scelerisque, eu ornare arcu faucibus. In ut lacus id ligula tempus blandit sed sed nisl.
Light Blue .bgLightBlue
Nam sagittis scelerisque maximus. Integer id volutpat augue, nec suscipit ante. Nulla facilisi. Proin interdum lectus ligula, in elementum leo lacinia et. Ut nec condimentum urna. Morbi at elit tellus. Praesent vel faucibus purus, sed laoreet orci. Donec tempus elit vel purus gravida laoreet. Fusce maximus metus eget dolor scelerisque, eu ornare arcu faucibus. In ut lacus id ligula tempus blandit sed sed nisl.
White .bgWhite
Nam sagittis scelerisque maximus. Integer id volutpat augue, nec suscipit ante. Nulla facilisi. Proin interdum lectus ligula, in elementum leo lacinia et. Ut nec condimentum urna. Morbi at elit tellus. Praesent vel faucibus purus, sed laoreet orci. Donec tempus elit vel purus gravida laoreet. Fusce maximus metus eget dolor scelerisque, eu ornare arcu faucibus. In ut lacus id ligula tempus blandit sed sed nisl.