@1001-digital/styles 1.3.0 → 2.0.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1001-digital/styles",
3
- "version": "1.3.0",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.css",
6
6
  "style": "./src/index.css",
@@ -61,7 +61,7 @@ dialog {
61
61
  box-sizing: border-box;
62
62
  border-width: 0;
63
63
  border-style: solid;
64
- border-color: #e5e7eb;
64
+ border-color: var(--border-color);
65
65
  }
66
66
 
67
67
  /* Ensure horizontal rules are visible */
package/src/index.css CHANGED
@@ -2,6 +2,9 @@
2
2
  * CSS Layers Order Definition
3
3
  * This establishes the cascade priority:
4
4
  * variables, reset < base < components < utilities
5
+ *
6
+ * The `components` layer is declared here for ordering but populated
7
+ * by Vue SFC <style> blocks (via @layer components { ... }).
5
8
  */
6
9
  @layer variables, reset, base, components, utilities;
7
10
 
package/src/prose.css CHANGED
@@ -121,8 +121,8 @@
121
121
  figure > img,
122
122
  p > img,
123
123
  > img {
124
- border: var(--image-border);
125
- border-radius: var(--image-border-radius);
124
+ border: var(--prose-image-border, none);
125
+ border-radius: var(--prose-image-border-radius, 0);
126
126
  }
127
127
 
128
128
  figure:has(img),
@@ -1,10 +1,10 @@
1
1
  :root {
2
2
  --alert-color: var(--color);
3
- --alert-background-color: transparent;
3
+ --alert-background: transparent;
4
4
  --alert-border-color: var(--border-color);
5
5
 
6
6
  --alert-info-color: var(--alert-color);
7
- --alert-info-background-color: var(--alert-background-color);
7
+ --alert-info-background-color: var(--alert-background);
8
8
  --alert-info-border-color: var(--alert-border-color);
9
9
 
10
10
  --alert-error-color: var(--error);
@@ -0,0 +1,14 @@
1
+ :root {
2
+ --color-picker-area-height: 10rem;
3
+ --color-picker-thumb-size: var(--slider-thumb-size);
4
+ --color-picker-thumb-background: var(--white);
5
+ --color-picker-track-size: var(--slider-track-size);
6
+ --color-picker-track-radius: var(--slider-track-radius);
7
+ --color-picker-checkerboard: var(--gray-z-3);
8
+ --color-picker-trigger-max-width: 10rem;
9
+ }
10
+
11
+ .color-picker-popover {
12
+ --popover-min-width: 24rem;
13
+ --popover-width: 24rem;
14
+ }
@@ -1,4 +1,4 @@
1
1
  :root {
2
2
  --dialog-border-radius: var(--border-radius-lg);
3
- --backdrop-background-color: transparent;
3
+ --backdrop-background: transparent;
4
4
  }
@@ -18,3 +18,4 @@
18
18
  @import './date-picker.css';
19
19
  @import './sidebar.css';
20
20
  @import './bottom-nav.css';
21
+ @import './color-picker.css';