Skip to content

Commit dc3cc37

Browse files
committed
backticks to prevent infinitalic
1 parent 013e059 commit dc3cc37

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎docs/theming.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ As of Jan 2017, skins are not fully supported; riot is the only available skin.
1111
To define a theme for Riot:
1212

1313
1. Pick a name, e.g. `teal`. at time of writing we have `light` and `dark`.
14-
2. Fork `src/skins/vector/css/themes/dark.scss` to be teal.scss
15-
3. Fork `src/skins/vector/css/themes/_base.scss` to be _teal.scss
16-
4. Override variables in _teal.scss as desired. You may wish to delete ones
17-
which don't differ from _base.scss, to make it clear which are being
18-
overridden. If every single colour is being changed (as per _dark.scss)
14+
2. Fork `src/skins/vector/css/themes/dark.scss` to be `teal.scss`
15+
3. Fork `src/skins/vector/css/themes/_base.scss` to be `_teal.scss`
16+
4. Override variables in `_teal.scss` as desired. You may wish to delete ones
17+
which don't differ from `_base.scss`, to make it clear which are being
18+
overridden. If every single colour is being changed (as per `_dark.scss`)
1919
then you might as well keep them all.
2020
5. Add the theme to the list of entrypoints in webpack.config.js
2121
6. Add the theme to the list of themes in matrix-react-sdk's UserSettings.js

0 commit comments

Comments
 (0)