mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #18665 from psrpinto/fix/theme-hot-reload
Fix isues with CSS hot-reload
This commit is contained in:
commit
24a076a202
@ -3,8 +3,8 @@ CSS_HOT_RELOAD=1
|
|||||||
# To use a single theme, uncomment the line with the theme you want to hot-reload.
|
# To use a single theme, uncomment the line with the theme you want to hot-reload.
|
||||||
MATRIX_THEMES='light'
|
MATRIX_THEMES='light'
|
||||||
#MATRIX_THEMES='dark'
|
#MATRIX_THEMES='dark'
|
||||||
#MATRIX_THEMES='light-legacy'
|
#MATRIX_THEMES='legacy-light'
|
||||||
#MATRIX_THEMES='dark-legacy'
|
#MATRIX_THEMES='legacy-dark'
|
||||||
#MATRIX_THEMES='light-custom'
|
#MATRIX_THEMES='light-custom'
|
||||||
#MATRIX_THEMES='dark-custom'
|
#MATRIX_THEMES='dark-custom'
|
||||||
# You can also enable multiple themes by using a comma-separated list.
|
# You can also enable multiple themes by using a comma-separated list.
|
||||||
|
@ -16,7 +16,7 @@ if (!ogImageUrl) ogImageUrl = 'https://app.element.io/themes/element/img/logos/o
|
|||||||
|
|
||||||
const cssThemes = {
|
const cssThemes = {
|
||||||
// CSS themes
|
// CSS themes
|
||||||
"theme-legacy": "./node_modules/matrix-react-sdk/res/themes/legacy-light/css/legacy-light.scss",
|
"theme-legacy-light": "./node_modules/matrix-react-sdk/res/themes/legacy-light/css/legacy-light.scss",
|
||||||
"theme-legacy-dark": "./node_modules/matrix-react-sdk/res/themes/legacy-dark/css/legacy-dark.scss",
|
"theme-legacy-dark": "./node_modules/matrix-react-sdk/res/themes/legacy-dark/css/legacy-dark.scss",
|
||||||
"theme-light": "./node_modules/matrix-react-sdk/res/themes/light/css/light.scss",
|
"theme-light": "./node_modules/matrix-react-sdk/res/themes/light/css/light.scss",
|
||||||
"theme-dark": "./node_modules/matrix-react-sdk/res/themes/dark/css/dark.scss",
|
"theme-dark": "./node_modules/matrix-react-sdk/res/themes/dark/css/dark.scss",
|
||||||
|
Loading…
Reference in New Issue
Block a user