Closed k-kipruto closed 3 years ago
That's a great idea, let me work on it to implement a dark theme.
DONE:
To configure the dark theme just change the following variables in the _config.yml file:
# Night/Dark mode
# Default mode is "auto", "auto" is for auto nightshift
# (19:00 - 07:00), "manual" is for manual toggle, and
# "on/off" is for default on/off.
#
# Whatever the user's choice is, it will supersede the
# default setting of the site and be kept during the
# visit (session). Only the dark mode setting is "manual",
# it will be always kept on every visit (i.e. no matter
# the browser is closed or not)
night_mode: "auto"
logo-dark: "/assets/img/branding/MVM-logo-full-dark.svg"
highlight_theme: syntax-base16.monokai.dark # select a dark theme for the code highlighter if needed
You can customize all the theme colors in the main.css file.
Here are some screenshots:
This was absolutely fantastic and quick too thanks a lot for implementing dark mode
first m not a web developer just a bit knowledge of web development. lately was trying to change the theme to dark and I was struggling a lot, anything can you do to make theming easy. Thanks for the awesome theme.