mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Update theming.md
This commit is contained in:
parent
44c15df58e
commit
55ea61b36c
@ -1,14 +1,14 @@
|
|||||||
Theming Riot
|
Theming Element
|
||||||
============
|
============
|
||||||
|
|
||||||
Themes are a very basic way of providing simple alternative look & feels to the
|
Themes are a very basic way of providing simple alternative look & feels to the
|
||||||
riot-web app via CSS & custom imagery.
|
Element app via CSS & custom imagery.
|
||||||
|
|
||||||
They are *NOT* co be confused with 'skins', which describe apps which sit on top
|
They are *NOT* co be confused with 'skins', which describe apps which sit on top
|
||||||
of matrix-react-sdk - e.g. in theory Riot itself is a react-sdk skin.
|
of matrix-react-sdk - e.g. in theory Element itself is a react-sdk skin.
|
||||||
As of Jan 2017, skins are not fully supported; riot is the only available skin.
|
As of Jan 2017, skins are not fully supported; Element is the only available skin.
|
||||||
|
|
||||||
To define a theme for Riot:
|
To define a theme for Element:
|
||||||
|
|
||||||
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`
|
||||||
|
Loading…
Reference in New Issue
Block a user