@ngrok/mantle 0.19.9 → 0.19.10

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.
Files changed (2) hide show
  1. package/assets/mantle.css +13 -4
  2. package/package.json +1 -1
package/assets/mantle.css CHANGED
@@ -86,7 +86,10 @@
86
86
  }
87
87
  }
88
88
 
89
- :root {
89
+ :root,
90
+ :root.light,
91
+ :root[data-theme="light"],
92
+ :root[data-applied-theme="light"] {
90
93
  /* ngrok custom blue (600 is current button)
91
94
  * These are required as they are referenced by both light and dark modes.
92
95
  * Replaces the Tailwind blue and a single value of gray.
@@ -686,7 +689,9 @@
686
689
  --navigation-shadow: hsl(0deg 0% 0% / 10%);
687
690
  }
688
691
 
689
- :root.dark {
692
+ :root.dark,
693
+ :root[data-theme="dark"],
694
+ :root[data-applied-theme="dark"] {
690
695
  color-scheme: dark;
691
696
  /* mantle palette (dark) */
692
697
 
@@ -980,7 +985,9 @@
980
985
  --navigation-shadow: hsl(0deg 0% 0% / 40%);
981
986
  }
982
987
 
983
- :root.light-high-contrast {
988
+ :root.light-high-contrast,
989
+ :root[data-theme="light-high-contrast"],
990
+ :root[data-applied-theme="light-high-contrast"] {
984
991
  color-scheme: light;
985
992
 
986
993
  --amber-50: 48 100% 96%;
@@ -1224,7 +1231,9 @@
1224
1231
  --navigation-shadow: hsl(0deg 0% 0% / 60%);
1225
1232
  }
1226
1233
 
1227
- :root.dark-high-contrast {
1234
+ :root.dark-high-contrast,
1235
+ :root[data-theme="dark-high-contrast"],
1236
+ :root[data-applied-theme="dark-high-contrast"] {
1228
1237
  color-scheme: dark;
1229
1238
 
1230
1239
  --white: 0 0% 0%;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "mantle is ngrok's UI library and design system.",
4
4
  "author": "ngrok",
5
5
  "license": "MIT",
6
- "version": "0.19.9",
6
+ "version": "0.19.10",
7
7
  "homepage": "https://mantle.ngrok.com",
8
8
  "repository": {
9
9
  "type": "git",