diff --git a/Creating-a-new-theme.md b/Creating-a-new-theme.md new file mode 100644 index 0000000..cbab7ac --- /dev/null +++ b/Creating-a-new-theme.md @@ -0,0 +1,20 @@ +## How to create a new theme + +It's very easy to add a new theme, there are just a few simple steps: + + 1. Add a new ` + ``` + + 2. Copy the contents of [`src/web/stylesheets/themes/_dark.css`](https://github.com/gchq/CyberChef/blob/master/src/web/stylesheets/themes/_dark.css) into a new file with the name of your theme i.e. `src/web/stylesheets/themes/_mytheme.css`. + 3. Modify the JSDoc comment appropriately. + 4. Change the class name attached to the `:root` selector to be the same as the value you gave the `