0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 19:02:38 +00:00

Themes list to use object instead of array.

This commit is contained in:
Trevor Buckner
2022-04-15 17:17:13 -04:00
parent ff1f70afa8
commit f71dc004c0
5 changed files with 42 additions and 22 deletions

View File

@@ -1,9 +1,13 @@
@import (less) './themes/fonts/5e/fonts.less';
@import (less) './themes/assets/assets.less';
:root {
--noteGreen : red; // Pastel green
}
//Colors
@background : #EEE5CE; // Light parchment
@noteGreen : #e0e5c1; // Pastel green
@noteGreen : #e0e5c1; // Pastel green
@headerUnderline : #c9ad6a; // Gold
@horizontalRule : #9c2b1b; // Maroon
@headerText : #58180D; // Dark maroon
@@ -211,7 +215,7 @@ body {
padding : 0.14em 0.4em;
}
&:nth-child(odd){
background-color : @noteGreen;
background-color : var(--noteGreen);
}
}
}
@@ -221,7 +225,7 @@ body {
// *****************************/
.note{
.useSansSerif();
background-color : @noteGreen;
background-color : var(--noteGreen);
border-style : solid;
border-width : 1px;
border-image : @noteBorderImage 12 stretch;

View File

@@ -1,24 +1,24 @@
{
"Legacy": [
{
"Legacy": {
"5ePHB": {
"name": "5e PHB",
"renderer": "legacy",
"baseTheme": false,
"path": "5ePHB"
}
],
"V3": [
{
},
"V3": {
"5eDMG": {
"name": "5e DMG",
"renderer": "V3",
"baseTheme": "5ePHB",
"path": "5eDMG"
},
{
"5ePHB": {
"name": "5e PHB",
"renderer": "V3",
"baseTheme": false,
"path": "5ePHB"
}
]
}
}