1
0
mirror of https://gitlab.com/ceda_ei/wish synced 2025-10-31 04:10:11 +01:00

Add initial docs

This commit is contained in:
2023-12-06 18:35:53 +05:30
parent c5ed5caaa6
commit e39e955046
23 changed files with 374 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# Creating Plugins
TODO

View File

@@ -0,0 +1,10 @@
# Creating Themes
Themes need to define the following variables.
+ `WISH_DEFAULT_FG`
+ `WISH_DEFAULT_BG`
Plugins will fallback to these variables if they are not themed.
Themes also need to define variables for plugins. For each plugin named `abc`, the theme needs to define `WISH_ABC_BG` and `WISH_ABC_FG`. Themes can optionally iterate over `WISH_PLUGINS` array to ensure to theme all elements. Check existing [themes](https://gitlab.com/ceda_ei/wish/tree/master/themes).