lewismiddleton / cayman-dark

Cayman-Dark is a dark mode adaptation of Cayman.

Home Page:https://lewismiddleton.github.io/cayman-dark/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cayman-Dark Theme

Cayman-Dark is an adaptation of the Cayman Jekyll theme for GitHub Pages.

You can preview the theme at lewismiddleton.github.io/cayman-dark.

The dark mode functionality comes from Dark Reader which can be found here: https://github.com/darkreader/darkreader

Usage

To use the Cayman-Dark theme with Github Pages, add the following to your site's _config.yml:

remote_theme: lewismiddleton/cayman-dark

By default pages will be in dark mode however you can make specific pages use light mode. All you need to do is include the following code at the top of your markdown files.

---
light_mode: true
---

Original Theme

You can learn more about the underlying theme at https://github.com/pages-themes/cayman

Cayman-Dark is a fork of Cayman thus inherits its functionality. An example is shown below but there is more information at the Cayman repository (see above)

Configuration variables

Cayman will respect the following variables, if set in your site's _config.yml:

title: [The title of your site]
description: [A short description of your site's purpose]

Additionally, you may choose to set the following optional variables:

show_downloads: ["true" or "false" to indicate whether to provide a download URL]
google_analytics: [Your Google Analytics tracking ID]

Changes

A list of changes I have made from the original theme due to my own personal preference

About

Cayman-Dark is a dark mode adaptation of Cayman.

https://lewismiddleton.github.io/cayman-dark/

License:Creative Commons Zero v1.0 Universal


Languages

Language:SCSS 66.1%Language:HTML 15.9%Language:Ruby 10.2%Language:Shell 7.8%