Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Dark mode for documentation (#290)
Browse files Browse the repository at this point in the history
Documentation uses user preference to determine color scheme
  • Loading branch information
ok-nick committed Dec 17, 2020
1 parent 380c3d6 commit a5a2ac6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Roact Changelog

## Unreleased Changes
* Added color schemes for documentation based on user preference ([#290](https://github.com/Roblox/roact/pull/290)).

## [1.3.1](https://github.com/Roblox/roact/releases/tag/v1.3.0) (November 19th, 2020)
* Added component name to property validation error message ([#275](https://github.com/Roblox/roact/pull/275))
Expand Down
2 changes: 1 addition & 1 deletion docs/extra.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.md-typeset hr {
border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}
}
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ theme:
palette:
primary: 'Light Blue'
accent: 'Light Blue'
scheme: preference

nav:
- Home: index.md
Expand Down Expand Up @@ -37,4 +38,4 @@ markdown_extensions:
guess_lang: false
- toc:
permalink: true
- pymdownx.superfences
- pymdownx.superfences

0 comments on commit a5a2ac6

Please sign in to comment.