mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
Update theming.md
This commit is contained in:
parent
5b95986705
commit
c5032ba1bc
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ 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.css 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.
|
||||||
|
@ -22,4 +22,4 @@ To define a theme for Riot:
|
||||||
7. Sit back and admire your handywork.
|
7. Sit back and admire your handywork.
|
||||||
|
|
||||||
In future, the assets for a theme will probably be gathered together into a
|
In future, the assets for a theme will probably be gathered together into a
|
||||||
single directory tree.
|
single directory tree.
|
||||||
|
|
Loading…
Reference in a new issue