|
| 1 | +/* ========================================================================== |
| 2 | + AWS Color Palette |
| 3 | + ========================================================================== */ |
| 4 | + |
1 | 5 | :root { |
2 | 6 | --aws-white: #ffffff; |
3 | 7 | --aws-paper: #f1f3f3; |
|
11 | 15 |
|
12 | 16 | --lightmode-text: var(--aws-squid-ink); |
13 | 17 | --darkmode-text: var(--aws-white); |
| 18 | +} |
| 19 | + |
| 20 | +/* ========================================================================== |
| 21 | + Light Mode |
| 22 | + ========================================================================== */ |
| 23 | + |
| 24 | +/* Theme colors */ |
| 25 | +[data-md-color-scheme="default"] { |
14 | 26 | --md-primary-fg-color: var(--aws-sky); |
15 | 27 | --md-accent-fg-color: var(--aws-smile); |
16 | 28 | } |
17 | 29 |
|
18 | | -/* Light mode - dark text and icon */ |
| 30 | +/* Header, tabs, and search text/icons */ |
19 | 31 | .md-tabs__link, |
20 | 32 | .md-header__title, |
21 | 33 | .md-search__input::placeholder, |
|
27 | 39 | color: var(--lightmode-text) !important; |
28 | 40 | fill: var(--lightmode-text) !important; |
29 | 41 | } |
| 42 | + |
| 43 | +/* Search input text */ |
30 | 44 | .md-search__input { |
31 | 45 | color: var(--lightmode-text) !important; |
32 | 46 | } |
| 47 | + |
| 48 | +/* Header logo */ |
33 | 49 | [data-md-color-scheme="default"] .md-header__button.md-logo img, |
34 | 50 | [data-md-color-scheme="default"] .md-header__button.md-logo svg { |
35 | 51 | content: url('../../assets/logos/AWS_logo_RGB.svg'); |
36 | 52 | } |
37 | 53 |
|
38 | | -/* Dark mode - light text and icon */ |
| 54 | +/* ========================================================================== |
| 55 | + Dark Mode |
| 56 | + ========================================================================== */ |
| 57 | + |
| 58 | +/* Theme colors */ |
| 59 | +[data-md-color-scheme="slate"] { |
| 60 | + --md-primary-fg-color: var(--aws-sky); |
| 61 | + --md-accent-fg-color: var(--aws-smile); |
| 62 | +} |
| 63 | + |
| 64 | +/* Header, tabs, and search text/icons */ |
39 | 65 | [data-md-color-scheme="slate"] .md-tabs__link, |
40 | 66 | [data-md-color-scheme="slate"] .md-header__title, |
41 | 67 | [data-md-color-scheme="slate"] .md-search__input::placeholder, |
|
47 | 73 | color: var(--darkmode-text) !important; |
48 | 74 | fill: var(--darkmode-text) !important; |
49 | 75 | } |
| 76 | + |
| 77 | +/* Search input text */ |
50 | 78 | [data-md-color-scheme="slate"] .md-search__input { |
51 | 79 | color: var(--darkmode-text) !important; |
52 | 80 | } |
| 81 | + |
| 82 | +/* Header logo */ |
53 | 83 | [data-md-color-scheme="slate"] .md-header__button.md-logo img, |
54 | 84 | [data-md-color-scheme="slate"] .md-header__button.md-logo svg { |
55 | 85 | content: url('../../assets/logos/AWS_logo_RGB_REV.svg'); |
|
0 commit comments