Jekyll Themes Cayman and Minimal from github pages to add dark mode! These forks add an automatic dark theme that can be changed in the config.yaml by setting

color-scheme: auto | auto-deafult-dark | dark | light

.

">
We have disabled google anylytics as do not track option is enabled in your browser if this is incorrect please file a bug here

A Bunch Of Code Me!

A web devoloper, designer and coder.

Pages

Home
Working On
Tuturiols
Blogs

Contact

Email

Acounts

Github
26 August 2021
stuff i'm working on

The Dark Side

Wondering why this site is dark? Well its becuase I am forking the Jekyll Themes Cayman and Minimal from github pages to add dark mode! These forks add an automatic dark theme that can be changed in the config.yaml by setting

color-scheme: auto | auto-deafult-dark | dark | light

.

What do the first 2 options do?

You ask, well the auto one will change the theme based on system theme and the other one does the same but if the browser doesnt support getting the system-theme it will deafualt to dark. Try It Out Veiw The Pull Start The Repo

Updates

  • I added support for changing the theme in the config.yaml

    I have just merged a branch that adds support for changing the theme in the config.yaml options just say:

    color-scheme: dark | light | auto | auto-deafualt dark
    

    . The first 2 are prepty self explanatory but where it gets interesting is the last 2 as they change the theme based on the device theme the deferencew between theme lies in what they do if the device does not support changing the theme based on the device the former of the to will default to alight however the later deafualts to a dark theme.

    always remember last is not least

    by Eiensteign Me. …Just face it your small brain cant handle 1 single quote by Eienstien Me.

tags: dark-mode - jekyll - theme