1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

Refactor themes - more theme-related improvements coming soon!

This commit is contained in:
Starbeamrainbowlabs 2019-08-25 01:23:24 +01:00
parent 2fa867e6ef
commit ad5f7dcbb4
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
4 changed files with 22 additions and 2 deletions

View file

@ -55,7 +55,7 @@ $core = str_replace([
trim(file_get_contents("version")),
exec("git rev-parse HEAD"),
trim(file_get_contents("peppermint.guiconfig.json")),
trim(file_get_contents("theme_default.css"))
trim(file_get_contents("themes/default/theme.css"))
], $core);
$result = $core;

View file

@ -1,5 +1,10 @@
/**
* theme_blue
* @id blue
* @name Blue
* @description A more blue theme.
* @author ZestyclosePainting
* @author_link https://reddit.com/u/ZestyclosePainting
*
* "A more blue theme for pepperminty if anyone's interested."
* By u/ZestyclosePainting on Reddit: https://www.reddit.com/user/ZestyclosePainting/
* Original source: https://www.reddit.com/r/selfhosted/comments/9q2kqu/pepperminty_wiki_v017_has_been_released_details/e89jynv?utm_source=share&utm_medium=web2x

View file

@ -1,3 +1,11 @@
/**
* @id default
* @name Default
* @description The default theme.
* @author Starbeamrainbowlabs
* @author_link https://starbeamrainbowlabs.com/
*/
body { margin: 2rem 0 0 0; background: #eee8f2; line-height: 1.45em; color: #111111; font-family: sans-serif; }
nav { display: flex; background-color: #8a62a7; color: #ffa74d; }

7
themes/none/theme.css Normal file
View file

@ -0,0 +1,7 @@
/**
* @id none
* @name No theme
* @description A special theme with no CSS. Useful if you want to create your own complete new theme!
* @author Starbeamrainbowlabs
* @author_link https://starbeamrainbowlabs.com/
*/