summaryrefslogtreecommitdiff
path: root/docs/guide/guidelines/colors.md
blob: d73a0373b0ccc4038b7784d51139f0799b812b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Colors
This color palette has been agreed upon by the OpenBMC community and differs
from the Bootstrap color patterns. The OpenBMC palette includes custom hex
values, along with additional blue, green, red, and yellow color variables used
as accent colors for components. The `.scss` component files use these accent
colors to override default styles set by the Bootstrap library.

- [Learn more about theme customization](/themes/)
- [Open an issue in the OpenBMC webui-vue
  repo](https://github.com/openbmc/webui-vue/issues/new/choose) to request a
  change
- [Learn more about Bootstrap
  colors](https://getbootstrap.com/docs/4.4/getting-started/theming/#theme-colors)

## Grays
<colors-grays/>

## Blues
<colors-blues/>

## Greens
<colors-greens/>

## Reds
<colors-reds/>

## Yellows
<colors-yellows/>

## All Colors
`All Colors` is the term Bootstrap uses to describe the colors that make up the
`colors` map. These colors and the Grays color variables define the
`theme-colors` map colors.

[Learn more about the Bootstrap color
maps](https://getbootstrap.com/docs/4.0/getting-started/theming/#all-colors).
<colors-all/>

## Theme Colors
The theme colors are keys in the `theme-colors` map. Bootstrap-Vue has a variant
prop that accepts any of the `theme-colors` keys to set the theme of a
component.

[Learn more about the Bootstrap theme-colors
maps](https://getbootstrap.com/docs/4.0/getting-started/theming/#theme-colors).

<colors-theme/>