mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Refactor themes - more theme-related improvements coming soon!
This commit is contained in:
parent
2fa867e6ef
commit
ad5f7dcbb4
4 changed files with 22 additions and 2 deletions
2
pack.php
2
pack.php
|
@ -55,7 +55,7 @@ $core = str_replace([
|
||||||
trim(file_get_contents("version")),
|
trim(file_get_contents("version")),
|
||||||
exec("git rev-parse HEAD"),
|
exec("git rev-parse HEAD"),
|
||||||
trim(file_get_contents("peppermint.guiconfig.json")),
|
trim(file_get_contents("peppermint.guiconfig.json")),
|
||||||
trim(file_get_contents("theme_default.css"))
|
trim(file_get_contents("themes/default/theme.css"))
|
||||||
], $core);
|
], $core);
|
||||||
|
|
||||||
$result = $core;
|
$result = $core;
|
||||||
|
|
|
@ -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."
|
* "A more blue theme for pepperminty if anyone's interested."
|
||||||
* By u/ZestyclosePainting on Reddit: https://www.reddit.com/user/ZestyclosePainting/
|
* 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
|
* Original source: https://www.reddit.com/r/selfhosted/comments/9q2kqu/pepperminty_wiki_v017_has_been_released_details/e89jynv?utm_source=share&utm_medium=web2x
|
|
@ -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; }
|
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; }
|
nav { display: flex; background-color: #8a62a7; color: #ffa74d; }
|
7
themes/none/theme.css
Normal file
7
themes/none/theme.css
Normal 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/
|
||||||
|
*/
|
Loading…
Reference in a new issue