wiki:ai2:ai2_themes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:ai2:ai2_themes [2026/08/29 09:02] – [:root variables] Neil Thomas | wiki:ai2:ai2_themes [2026/08/29 13:55] (current) – Neil Thomas | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| The purple theme can be viewed below: | The purple theme can be viewed below: | ||
| + | <WRAP indent>< | ||
| ++++ The Purple Theme | | ++++ The Purple Theme | | ||
| <code css> | <code css> | ||
| @charset " | @charset " | ||
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| - | | + | |
| | | ||
| - | | + | |
| | | ||
| | | ||
| | | ||
| | | ||
| - | |||
| - | /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| - | Theme: Purple (#622f53) | ||
| - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ | ||
| :root { | :root { | ||
| Line 62: | Line 59: | ||
| </ | </ | ||
| ++++ | ++++ | ||
| + | </ | ||
| ===== Creating your own theme ===== | ===== Creating your own theme ===== | ||
| - | ==== :root variables ==== | + | It's quite easy to create your own theme simply by copying any of the themes in the theme folder and renaming it. |
| + | You then need to set the variables in th e// | ||
| + | |||
| + | Below is a description and explanation of the various sections. | ||
| + | |||
| + | ==== :root variables ==== | ||
| + | <WRAP indent> | ||
| These are the foundation for all themes. | These are the foundation for all themes. | ||
| Line 74: | Line 77: | ||
| ++ | ++ | ||
| - | The next three variables; // | + | The next three variables; // |
| Finally, there are four variables that define the gradients that again use existing variables. Again feel free to adjust these if you want. | Finally, there are four variables that define the gradients that again use existing variables. Again feel free to adjust these if you want. | ||
| + | </ | ||
| ===== Redefined Classes ===== | ===== Redefined Classes ===== | ||
| + | <WRAP indent> | ||
| ==== Theme colour combinations ==== | ==== Theme colour combinations ==== | ||
| The three classes included are all in the mid-range of the theme. This is to enable changes to be made to the foreground colours as the background gets lighter. | The three classes included are all in the mid-range of the theme. This is to enable changes to be made to the foreground colours as the background gets lighter. | ||
| + | </ | ||
| ==== Gradients ==== | ==== Gradients ==== | ||
| + | <WRAP indent> | ||
| The same issues arise with gradients as they all use mid-range colours. | The same issues arise with gradients as they all use mid-range colours. | ||
| If you do modify the gradients themselves, it is almost certain that you will need to adjust this colour. | If you do modify the gradients themselves, it is almost certain that you will need to adjust this colour. | ||
| + | </ | ||
wiki/ai2/ai2_themes.txt · Last modified: by Neil Thomas
