feat(web): custom stylesheets (#4602)

* add initial ui and api definitions for stylesheets

* proper saving

* make custom css work

* add textarea

* rebuild api

* run prettier

* add typecast

* update typings

* move css accordion to be sorted alphabetically

* set content-type properly

* rename stylesheets to theme

* fix server test
This commit is contained in:
Wingy
2023-10-23 11:38:41 -07:00
committed by GitHub
parent 28d35bf04e
commit 62a11283af
23 changed files with 405 additions and 2 deletions

View File

@@ -8060,6 +8060,9 @@
"storageTemplate": {
"$ref": "#/components/schemas/SystemConfigStorageTemplateDto"
},
"theme": {
"$ref": "#/components/schemas/SystemConfigThemeDto"
},
"thumbnail": {
"$ref": "#/components/schemas/SystemConfigThumbnailDto"
},
@@ -8077,7 +8080,8 @@
"storageTemplate",
"job",
"thumbnail",
"trash"
"trash",
"theme"
],
"type": "object"
},
@@ -8404,6 +8408,17 @@
],
"type": "object"
},
"SystemConfigThemeDto": {
"properties": {
"customCss": {
"type": "string"
}
},
"required": [
"customCss"
],
"type": "object"
},
"SystemConfigThumbnailDto": {
"properties": {
"colorspace": {