migrated mulish font and darkreader
This commit is contained in:
parent
0379080b52
commit
c2eb8245dc
28 changed files with 43 additions and 301 deletions
|
@ -1,11 +1,21 @@
|
|||
// loading bootstrap
|
||||
// TODO: Refactor to use bootstrap sass variable for theming.
|
||||
@import 'bootstrap/scss/bootstrap.scss';
|
||||
|
||||
// The Mulish font, we use font-weight 300 - 700
|
||||
@import '@fontsource/mulish/300';
|
||||
@import '@fontsource/mulish/index'; // 400
|
||||
@import '@fontsource/mulish/500';
|
||||
@import '@fontsource/mulish/600';
|
||||
@import '@fontsource/mulish/700';
|
||||
|
||||
// layouts
|
||||
@import './layouts/main';
|
||||
|
||||
// navigators
|
||||
@import './navigators/navbar';
|
||||
|
||||
|
||||
|
||||
// features and services, only imported if enabled.
|
||||
{{ range $feature, $featureDef := site.Params.features }}
|
||||
{{ with $featureDef }}
|
||||
{{ $featureEnabled := or (not (isset . "enable")) .enable }}
|
||||
|
|
20
assets/styles/colortheme/colortheme.css
Normal file
20
assets/styles/colortheme/colortheme.css
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* Note: No need to invert when the screen is small because the navbar is
|
||||
collapsed to a hamburger menu. */
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.dynamic-navbar .navbar-icon-svg-dark {
|
||||
filter: invert(1);
|
||||
};
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.dropdown-menu-icons-only {
|
||||
width: 25px;
|
||||
min-width: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-icon-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
|
@ -35,7 +35,7 @@ Yellow: #FFC212
|
|||
|
||||
body {
|
||||
background-color: #f9fafc;
|
||||
font-family: "Muli";
|
||||
font-family: "Mulish";
|
||||
}
|
||||
|
||||
h1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue