With the new Crunchyroll beta site being dark mode by default, this addon is likely to cease being useful.
As such, this repository will likely be archived once the beta experience is the default. Additionally, there likely will not be any updates. This may change if Crunchyroll reverts these dark mode friendly changes.
This project is originally based off of the Dark Youtube Plugin, though a lot has been rewritten.
This plugin is currently available on the Firefox Addon Store, the Chrome Web Store, and the Microsoft Edge Extension Store.
This plugin aims to provide a quality dark theme for Crunchyroll.com. This is primarily because dark themes are easier on the eye when in a darker environment. It also leaves a button in the addon bar to quickly disable and re-enable the theme.
If there are any unthemed pages, or other issues such as weird color choices, please report them!
See Releases for changelog.
yarn
and gulp-cli
globally (either through your package manager, or through npm, etc)yarn install
gulp
for automatic build-on-change and css lint
gulp watchCrhome
is run, see gulp --tasks
to view all availablebuild
directoryThe CSS files use SCSS and must be named src/styles/<component-or-page>.css.scss
.
Any mixins reside in src/styles/_mixins.scss
and the variables are in src/styles/_variables.scss
.
Do not add color literals (hex or rgba) in any file except _variables.scss
.
If possible, use the already existing colors there and "remix" them with functions such as
rgba($color, 0.4)
, lighten($color, 30%)
and darken($color, 20%)
.
At the start of each new scss file put @import 'common';
, which imports the variables and the mixins.
Setup
instructions abovegulp lint
must not give warnings)