snapshot-labs-theme 0.1.21 → 0.1.22

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.
@@ -1,8 +1,10 @@
1
1
  /**
2
- * Do not edit directly, this file was auto-generated.
2
+ * Do not edit directly
3
+ *
3
4
  */
4
5
 
5
- :root {
6
+ :root,
7
+ [data-theme="light"] {
6
8
  --color-text-contrast: var(--color-neutral-900);
7
9
  --color-text-default: var(--color-neutral-700);
8
10
  --color-text-subtle: var(--color-neutral-500);
@@ -32,4 +34,4 @@
32
34
  --color-feedback-informative-text: var(--color-blue-800);
33
35
  --color-feedback-informative-icon: var(--color-blue-600);
34
36
  --color-feedback-informative-bg: var(--color-blue-100);
35
- }
37
+ }
@@ -3,8 +3,7 @@
3
3
  *
4
4
  */
5
5
 
6
- @media (prefers-color-scheme: dark) {
7
- :root {
6
+ [data-theme="dark"] {
8
7
  --color-text-contrast: var(--color-neutral-00);
9
8
  --color-text-default: var(--color-neutral-200);
10
9
  --color-text-subtle: var(--color-neutral-300);
@@ -34,5 +33,4 @@
34
33
  --color-feedback-informative-text: var(--color-blue-600);
35
34
  --color-feedback-informative-icon: var(--color-blue-500);
36
35
  --color-feedback-informative-bg: var(--color-blue-100);
37
- }
38
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snapshot-labs-theme",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "node build.js",