--nav-ui-highlight-color -> --accent-color
This commit is contained in:
parent
be3065405c
commit
4ac7663d3c
|
@ -14,7 +14,7 @@ const cssrgba = (color, a) => {
|
|||
const populate = themeData => {
|
||||
const { 'brand-color': brandColor } = themeData.toObject();
|
||||
return ImmutableMap({
|
||||
'nav-ui-highlight-color': brightness(10, hue(-3, brandColor).hex).hex,
|
||||
'accent-color': brightness(10, hue(-3, brandColor).hex).hex,
|
||||
'brand-color-faint': cssrgba(brandColor, 0.1),
|
||||
'highlight-text-color': brandColor,
|
||||
}).merge(themeData);
|
||||
|
|
|
@ -120,7 +120,7 @@ $nav-ui-background-color: var(--brand-color) !default;
|
|||
height: 34px;
|
||||
margin-left: 20px;
|
||||
border-radius: 4px;
|
||||
background-color: var(--nav-ui-highlight-color) !important;
|
||||
background-color: var(--accent-color) !important;
|
||||
transition: background-color 0.2s;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
|
@ -205,7 +205,7 @@ $nav-ui-background-color: var(--brand-color) !default;
|
|||
display: block;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
background: var(--nav-ui-highlight-color);
|
||||
background: var(--accent-color);
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
|
Loading…
Reference in New Issue