|
15 | 15 | --ifm-color-primary-lightest: #4da3e4; |
16 | 16 | --ifm-code-font-size: 95%; |
17 | 17 | --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); |
| 18 | + |
| 19 | + /* Option B: Azure Branded Sidebar — Light mode */ |
| 20 | + --ifm-navbar-background-color: #0078d4; |
| 21 | + --ifm-navbar-link-color: #ffffff; |
| 22 | + --ifm-navbar-link-hover-color: #c8e6ff; |
| 23 | +} |
| 24 | + |
| 25 | +/* Navbar title and logo text in light mode */ |
| 26 | +.navbar__title { |
| 27 | + color: #ffffff; |
| 28 | +} |
| 29 | +.navbar__link { |
| 30 | + color: #ffffff; |
| 31 | +} |
| 32 | +.navbar__link:hover, |
| 33 | +.navbar__link--active { |
| 34 | + color: #c8e6ff; |
| 35 | +} |
| 36 | + |
| 37 | +/* Sidebar — light mode */ |
| 38 | +.theme-doc-sidebar-container { |
| 39 | + background-color: #0f3057; |
| 40 | + border-right: none; |
| 41 | +} |
| 42 | +.theme-doc-sidebar-container .menu { |
| 43 | + background-color: #0f3057; |
| 44 | +} |
| 45 | +.theme-doc-sidebar-container .menu__link { |
| 46 | + color: #e0e6ed; |
| 47 | +} |
| 48 | +.theme-doc-sidebar-container .menu__link:hover { |
| 49 | + color: #ffffff; |
| 50 | + background-color: rgba(255, 255, 255, 0.1); |
| 51 | +} |
| 52 | +.theme-doc-sidebar-container .menu__link--active:not(.menu__link--sublist) { |
| 53 | + color: #ffffff; |
| 54 | + background-color: rgba(0, 120, 212, 0.4); |
| 55 | +} |
| 56 | +.theme-doc-sidebar-container .menu__link--sublist { |
| 57 | + color: #b0c4de; |
| 58 | +} |
| 59 | +.theme-doc-sidebar-container .menu__link--sublist:hover { |
| 60 | + color: #ffffff; |
| 61 | +} |
| 62 | +.theme-doc-sidebar-container .menu__list-item-collapsible:hover { |
| 63 | + background-color: rgba(255, 255, 255, 0.05); |
| 64 | +} |
| 65 | +/* Sidebar category arrow color */ |
| 66 | +.theme-doc-sidebar-container .menu__caret::before, |
| 67 | +.theme-doc-sidebar-container .menu__link--sublist-caret::after { |
| 68 | + filter: brightness(3); |
18 | 69 | } |
19 | 70 |
|
20 | 71 | /* For readability concerns, you should choose a lighter palette in dark mode. */ |
|
27 | 78 | --ifm-color-primary-lighter: #5aabe6; |
28 | 79 | --ifm-color-primary-lightest: #7cbdec; |
29 | 80 | --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); |
| 81 | + |
| 82 | + /* Option B: Azure Branded Sidebar — Dark mode */ |
| 83 | + --ifm-navbar-background-color: #0d2137; |
| 84 | + --ifm-background-color: #121212; |
| 85 | +} |
| 86 | + |
| 87 | +/* Sidebar — dark mode */ |
| 88 | +[data-theme='dark'] .theme-doc-sidebar-container { |
| 89 | + background-color: #0a1929; |
| 90 | +} |
| 91 | +[data-theme='dark'] .theme-doc-sidebar-container .menu { |
| 92 | + background-color: #0a1929; |
| 93 | +} |
| 94 | +[data-theme='dark'] .theme-doc-sidebar-container .menu__link { |
| 95 | + color: #b0c4de; |
| 96 | +} |
| 97 | +[data-theme='dark'] .theme-doc-sidebar-container .menu__link:hover { |
| 98 | + color: #e0e6ed; |
| 99 | + background-color: rgba(255, 255, 255, 0.06); |
| 100 | +} |
| 101 | +[data-theme='dark'] .theme-doc-sidebar-container .menu__link--active:not(.menu__link--sublist) { |
| 102 | + color: #ffffff; |
| 103 | + background-color: rgba(58, 150, 221, 0.25); |
| 104 | +} |
| 105 | +[data-theme='dark'] .theme-doc-sidebar-container .menu__link--sublist { |
| 106 | + color: #8baac4; |
| 107 | +} |
| 108 | +[data-theme='dark'] .navbar__title, |
| 109 | +[data-theme='dark'] .navbar__link { |
| 110 | + color: #e0e6ed; |
| 111 | +} |
| 112 | +[data-theme='dark'] .navbar__link:hover, |
| 113 | +[data-theme='dark'] .navbar__link--active { |
| 114 | + color: #ffffff; |
30 | 115 | } |
0 commit comments