@jetbrains/ring-ui 5.0.48 → 5.0.49

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.
@@ -26,9 +26,11 @@ export function applyTheme(theme, container) {
26
26
  if (theme === Theme.DARK) {
27
27
  container.classList.remove(defaultStyles.light);
28
28
  container.classList.add(styles.dark);
29
+ container.classList.add('ring-ui-theme-dark');
29
30
  }
30
31
  else {
31
32
  container.classList.remove(styles.dark);
33
+ container.classList.remove('ring-ui-theme-dark');
32
34
  container.classList.add(defaultStyles.light);
33
35
  }
34
36
  }
@@ -30,8 +30,10 @@ function applyTheme(theme, container) {
30
30
  if (theme === Theme.DARK) {
31
31
  container.classList.remove(modules_6381a4b3.light);
32
32
  container.classList.add(modules_59717246.dark);
33
+ container.classList.add('ring-ui-theme-dark');
33
34
  } else {
34
35
  container.classList.remove(modules_59717246.dark);
36
+ container.classList.remove('ring-ui-theme-dark');
35
37
  container.classList.add(modules_6381a4b3.light);
36
38
  }
37
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "5.0.48",
3
+ "version": "5.0.49",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -259,5 +259,5 @@
259
259
  "node": ">=14.0",
260
260
  "npm": ">=6.0.0"
261
261
  },
262
- "gitHead": "ebfc0f32d9882ba00c6c05b5d9a89e0255f1b1c3"
262
+ "gitHead": "393f795d7a6fcfadcbf4dbc6d64131c3ff35cf33"
263
263
  }