explicit themes
This commit is contained in:
parent
be73955451
commit
9f3ff6bda4
|
@ -46,6 +46,7 @@ export default function App() {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<div className="cds--white">
|
||||||
<ErrorContext.Provider value={errorContextValueArray}>
|
<ErrorContext.Provider value={errorContextValueArray}>
|
||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<NavigationBar />
|
<NavigationBar />
|
||||||
|
@ -69,5 +70,6 @@ export default function App() {
|
||||||
</Content>
|
</Content>
|
||||||
</BrowserRouter>
|
</BrowserRouter>
|
||||||
</ErrorContext.Provider>
|
</ErrorContext.Provider>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -124,7 +124,6 @@ export default function NavigationBar() {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (activeKey) {
|
if (activeKey) {
|
||||||
// TODO: apply theme g100 to the header
|
|
||||||
return (
|
return (
|
||||||
<HeaderContainer
|
<HeaderContainer
|
||||||
render={({ isSideNavExpanded, onClickSideNavExpand }: any) => (
|
render={({ isSideNavExpanded, onClickSideNavExpand }: any) => (
|
||||||
|
|
|
@ -5,6 +5,11 @@
|
||||||
// @include grid.flex-grid();
|
// @include grid.flex-grid();
|
||||||
|
|
||||||
// @use '@carbon/react/scss/colors';
|
// @use '@carbon/react/scss/colors';
|
||||||
// .cds--header, a.cds--header__menu-item {
|
|
||||||
// background-color: colors.$gray-100;
|
// site is mainly using white theme.
|
||||||
// }
|
// header is mainly using g100
|
||||||
|
// mockup wanted white, not grey, text
|
||||||
|
.cds--header, a.cds--header__menu-item {
|
||||||
|
// background-color: colors.$gray-100;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue