BTHLABS-0000: sandstone
and sketchy
Bootswatch themes
This commit is contained in:
parent
10fccc17f7
commit
fbdebec6c8
|
@ -88,3 +88,7 @@ Copyright (c) Icons8
|
||||||
Licensed under terms of the MIT License
|
Licensed under terms of the MIT License
|
||||||
|
|
||||||
Spinner Loader CSS from https://css-loaders.com/
|
Spinner Loader CSS from https://css-loaders.com/
|
||||||
|
|
||||||
|
cosmo, sandstone, sketchy and solar Bootswatch Themes
|
||||||
|
Copyright 2012-2025 Thomas Park
|
||||||
|
Licensed under terms of the MIT License
|
||||||
|
|
|
@ -73,6 +73,12 @@ def appearance_settings(request: HttpRequest) -> dict:
|
||||||
case 'solar':
|
case 'solar':
|
||||||
result['theme_css'] = 'ui/css/solar.min.css'
|
result['theme_css'] = 'ui/css/solar.min.css'
|
||||||
|
|
||||||
|
case 'sandstone':
|
||||||
|
result['theme_css'] = 'ui/css/sandstone.min.css'
|
||||||
|
|
||||||
|
case 'sketchy':
|
||||||
|
result['theme_css'] = 'ui/css/sketchy.min.css'
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'APPEARANCE_SETTINGS': result,
|
'APPEARANCE_SETTINGS': result,
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,6 +150,8 @@ class SettingsForm(Form):
|
||||||
('bootstrap', _('Bootstrap')),
|
('bootstrap', _('Bootstrap')),
|
||||||
('cosmo', _('Cosmo')),
|
('cosmo', _('Cosmo')),
|
||||||
('solar', _('Solar')),
|
('solar', _('Solar')),
|
||||||
|
('sandstone', _('Sandstone')),
|
||||||
|
('sketchy', _('Sketchy')),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
light_mode = forms.BooleanField(
|
light_mode = forms.BooleanField(
|
||||||
|
|
12
services/backend/hotpocket_backend/apps/ui/static/ui/css/sandstone.min.css
vendored
Normal file
12
services/backend/hotpocket_backend/apps/ui/static/ui/css/sandstone.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
12
services/backend/hotpocket_backend/apps/ui/static/ui/css/sketchy.min.css
vendored
Normal file
12
services/backend/hotpocket_backend/apps/ui/static/ui/css/sketchy.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user