Update skinning thoughts.md

This commit is contained in:
Resynth 2020-07-17 11:30:16 +00:00 committed by resynth1943
parent 17649dc2b1
commit 44c15df58e
1 changed files with 7 additions and 7 deletions

View File

@ -5,14 +5,14 @@ matrix-react-sdk
- base CSS - base CSS
- all the components needed to build a workable app (including the top layer) - all the components needed to build a workable app (including the top layer)
riot-web: the riot skin Element: the Element skin
- riot-specific classes (e.g. login header/footer) - Element-specific classes (e.g. login header/footer)
- riot-specific themes - Element-specific themes
- light - light
- dark - dark
i.e. the only things which should go into riot-web are bits which apply vector-specific skinning i.e. the only things which should go into Element are bits which apply vector-specific skinning
specifically "Stuff that any other brand would not want to use. (e.g. riot logos, links, T&Cs)" specifically "Stuff that any other brand would not want to use. (e.g. Element logos, links, T&Cs)"
- Questions: - Questions:
- Electron app? (should probably be a separate repo in its own right? but might as well go here for now) - Electron app? (should probably be a separate repo in its own right? but might as well go here for now)
- index.html & index.js? (should be in matrix-react-sdk, given the SDK is useless without them?) - index.html & index.js? (should be in matrix-react-sdk, given the SDK is useless without them?)
@ -21,7 +21,7 @@ ideally matrix-react-sdk itself should ship with a default skin which actually w
status skin (can go in the same app for now) status skin (can go in the same app for now)
- has status theme - has status theme
- which inherits from riot light theme - which inherits from Element light theme
- how do we share graphics between skins? - how do we share graphics between skins?
- shove them into react-sdk, or... - shove them into react-sdk, or...
- guess we do ../../vector/img - guess we do ../../vector/img
@ -64,5 +64,5 @@ random thoughts;
----------------- -----------------
Immediate plan for Status: Immediate plan for Status:
* Implement it as a theme for the riot skin * Implement it as a theme for the Element skin
* Ideally move skins to a sensible level (possibly even including src?) * Ideally move skins to a sensible level (possibly even including src?)