backticks to prevent infinitalic

This commit is contained in:
David Baker 2019-11-20 16:35:10 +00:00
parent 013e059ffc
commit dc3cc37784

View File

@ -11,11 +11,11 @@ As of Jan 2017, skins are not fully supported; riot is the only available skin.
To define a theme for Riot: To define a theme for Riot:
1. Pick a name, e.g. `teal`. at time of writing we have `light` and `dark`. 1. Pick a name, e.g. `teal`. at time of writing we have `light` and `dark`.
2. Fork `src/skins/vector/css/themes/dark.scss` to be teal.scss 2. Fork `src/skins/vector/css/themes/dark.scss` to be `teal.scss`
3. Fork `src/skins/vector/css/themes/_base.scss` to be _teal.scss 3. Fork `src/skins/vector/css/themes/_base.scss` to be `_teal.scss`
4. Override variables in _teal.scss as desired. You may wish to delete ones 4. Override variables in `_teal.scss` as desired. You may wish to delete ones
which don't differ from _base.scss, to make it clear which are being which don't differ from `_base.scss`, to make it clear which are being
overridden. If every single colour is being changed (as per _dark.scss) overridden. If every single colour is being changed (as per `_dark.scss`)
then you might as well keep them all. then you might as well keep them all.
5. Add the theme to the list of entrypoints in webpack.config.js 5. Add the theme to the list of entrypoints in webpack.config.js
6. Add the theme to the list of themes in matrix-react-sdk's UserSettings.js 6. Add the theme to the list of themes in matrix-react-sdk's UserSettings.js