File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ ul.browser-default {
7979 z-index : 1 ;
8080 border-radius : 8px ;
8181
82+ /* Hover & active background */
8283 & ::after {
8384 content : ' ' ;
8485 position : absolute ;
@@ -101,7 +102,7 @@ ul.browser-default {
101102 .navbar-label {
102103 & ::after {
103104 // contrast + opacity to create an effect that work in light and dark mode, with our without white-label customization
104- background : light - dark( black , white ) ;
105+ background : @color-mode- black ;
105106 }
106107 }
107108 }
@@ -128,7 +129,7 @@ ul.browser-default {
128129
129130 .languageSelection {
130131 & :hover {
131- background-color : @theme- color-background-tinyContrast ;
132+ background-color : @color-mode-black ;
132133 }
133134 }
134135
Original file line number Diff line number Diff line change 11/* base.less is a standalone Less file */
2-
32@import " base/colors" ;
43@import " base/mixins" ;
4+ @import " base/mode-colors" ;
5+
56/* General styles */
67@import " general/_default.less" ;
78@import " general/_utils.less" ;
Original file line number Diff line number Diff line change 1+ // Mode color
2+ @color-mode-black : #000 ;
3+ @color-mode-white : #fff ;
4+
5+ .inDarkMode ({
6+ @color-mode-black : #fff ;
7+ @color-mode-white : #000 ;
8+ });
You canāt perform that action at this time.
0 commit comments