cloud-ide-element 1.1.144 → 1.1.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7993,12 +7993,12 @@ class CideThemeService {
|
|
|
7993
7993
|
// Apply class name
|
|
7994
7994
|
if (this.config.useClassName) {
|
|
7995
7995
|
if (theme === 'dark') {
|
|
7996
|
-
element.classList.add('dark-mode');
|
|
7996
|
+
element.classList.add('dark-mode', 'dark');
|
|
7997
7997
|
element.classList.remove('light-mode');
|
|
7998
7998
|
}
|
|
7999
7999
|
else {
|
|
8000
8000
|
element.classList.add('light-mode');
|
|
8001
|
-
element.classList.remove('dark-mode');
|
|
8001
|
+
element.classList.remove('dark-mode', 'dark');
|
|
8002
8002
|
}
|
|
8003
8003
|
}
|
|
8004
8004
|
// Also apply to body for better compatibility
|
|
@@ -8008,12 +8008,12 @@ class CideThemeService {
|
|
|
8008
8008
|
}
|
|
8009
8009
|
if (this.config.useClassName) {
|
|
8010
8010
|
if (theme === 'dark') {
|
|
8011
|
-
document.body.classList.add('dark-mode');
|
|
8011
|
+
document.body.classList.add('dark-mode', 'dark');
|
|
8012
8012
|
document.body.classList.remove('light-mode');
|
|
8013
8013
|
}
|
|
8014
8014
|
else {
|
|
8015
8015
|
document.body.classList.add('light-mode');
|
|
8016
|
-
document.body.classList.remove('dark-mode');
|
|
8016
|
+
document.body.classList.remove('dark-mode', 'dark');
|
|
8017
8017
|
}
|
|
8018
8018
|
}
|
|
8019
8019
|
}
|