1.1 #Base.Breakpoints Breakpoints
We use the following standard set of breakpoints and corresponding prefixes to generate size-based utilities. As often as possible, we should be using these breakpoints before any others. You may use the breakpoints in SCSS like so:
@media screen and (min-width: map-get($breakpoints, {breakpoint_prefix})) {
CSS here
}
Breakpoint prefix | Breakpoint Size |
---|---|
'sm' | 576px |
'md' | 768px |
'lg' | 1024px |
'xl' | 1366px |
'xxl' | 1920px |
Source:
resources/sass/_variables.scss
, line 4
Source:
resources/sass/_variables.scss
, line 29
1.2.1 #Base.Colors.Branding Marketing Brand Colors
These are colors that are typically only used when dealing with a specific product offering (e.g. ODDER), or exclusively for marketing aesthetics, rather than general product UI design.
Source:
resources/sass/_variables.scss
, line 112
1.2.2 #Base.Colors.Deprecated Deprecated Colors
These are older colors that you may see scattered throughout the codebase but they should be avoided in general.
Source:
resources/sass/_variables.scss
, line 131