@astryx-vue/themes 0.7.28 → 0.8.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/butter/icon.css CHANGED
@@ -6,9 +6,10 @@
6
6
  --astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
7
7
  --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
8
8
  --astryx-icon-accent-foreground: var(--astryx-color-on-accent);
9
- --astryx-icon-success-foreground: var(--astryx-color-text-green);
10
- --astryx-icon-error-foreground: var(--astryx-color-text-red);
11
- --astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
9
+ --astryx-icon-info-foreground: var(--astryx-color-icon-info);
10
+ --astryx-icon-success-foreground: var(--astryx-color-icon-success);
11
+ --astryx-icon-error-foreground: var(--astryx-color-icon-error);
12
+ --astryx-icon-warning-foreground: var(--astryx-color-icon-warning);
12
13
  --astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
13
14
  --astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
14
15
  --astryx-icon-green-foreground: var(--astryx-color-icon-green);
@@ -6,9 +6,10 @@
6
6
  --astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
7
7
  --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
8
8
  --astryx-icon-accent-foreground: var(--astryx-color-on-accent);
9
- --astryx-icon-success-foreground: var(--astryx-color-text-green);
10
- --astryx-icon-error-foreground: var(--astryx-color-text-red);
11
- --astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
9
+ --astryx-icon-info-foreground: var(--astryx-color-icon-info);
10
+ --astryx-icon-success-foreground: var(--astryx-color-icon-success);
11
+ --astryx-icon-error-foreground: var(--astryx-color-icon-error);
12
+ --astryx-icon-warning-foreground: var(--astryx-color-icon-warning);
12
13
  --astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
13
14
  --astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
14
15
  --astryx-icon-green-foreground: var(--astryx-color-icon-green);
@@ -8,14 +8,14 @@
8
8
  --astryx-input-height-sm: var(--astryx-size-element-sm);
9
9
  --astryx-input-height-md: var(--astryx-size-element-md);
10
10
  --astryx-input-height-lg: var(--astryx-size-element-lg);
11
- --astryx-input-error: var(--astryx-color-error);
12
- --astryx-input-error-foreground: var(--astryx-color-text-red);
11
+ --astryx-input-error: var(--astryx-color-border-error);
12
+ --astryx-input-error-foreground: var(--astryx-color-on-error-muted);
13
13
  --astryx-input-error-background: var(--astryx-color-error-muted);
14
- --astryx-input-warning: var(--astryx-color-warning);
15
- --astryx-input-warning-foreground: var(--astryx-color-text-yellow);
14
+ --astryx-input-warning: var(--astryx-color-border-warning);
15
+ --astryx-input-warning-foreground: var(--astryx-color-on-warning-muted);
16
16
  --astryx-input-warning-background: var(--astryx-color-warning-muted);
17
- --astryx-input-success: var(--astryx-color-success);
18
- --astryx-input-success-foreground: var(--astryx-color-text-green);
17
+ --astryx-input-success: var(--astryx-color-border-success);
18
+ --astryx-input-success-foreground: var(--astryx-color-on-success-muted);
19
19
  --astryx-input-success-background: var(--astryx-color-success-muted);
20
20
  }
21
21
  }
package/gothic/icon.css CHANGED
@@ -6,9 +6,10 @@
6
6
  --astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
7
7
  --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
8
8
  --astryx-icon-accent-foreground: var(--astryx-color-on-accent);
9
- --astryx-icon-success-foreground: var(--astryx-color-text-green);
10
- --astryx-icon-error-foreground: var(--astryx-color-text-red);
11
- --astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
9
+ --astryx-icon-info-foreground: var(--astryx-color-icon-info);
10
+ --astryx-icon-success-foreground: var(--astryx-color-icon-success);
11
+ --astryx-icon-error-foreground: var(--astryx-color-icon-error);
12
+ --astryx-icon-warning-foreground: var(--astryx-color-icon-warning);
12
13
  --astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
13
14
  --astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
14
15
  --astryx-icon-green-foreground: var(--astryx-color-icon-green);
package/gothic/input.css CHANGED
@@ -8,14 +8,14 @@
8
8
  --astryx-input-height-sm: var(--astryx-size-element-sm);
9
9
  --astryx-input-height-md: var(--astryx-size-element-md);
10
10
  --astryx-input-height-lg: var(--astryx-size-element-lg);
11
- --astryx-input-error: var(--astryx-color-error);
12
- --astryx-input-error-foreground: var(--astryx-color-text-red);
11
+ --astryx-input-error: var(--astryx-color-border-error);
12
+ --astryx-input-error-foreground: var(--astryx-color-on-error-muted);
13
13
  --astryx-input-error-background: var(--astryx-color-error-muted);
14
- --astryx-input-warning: var(--astryx-color-warning);
15
- --astryx-input-warning-foreground: var(--astryx-color-text-yellow);
14
+ --astryx-input-warning: var(--astryx-color-border-warning);
15
+ --astryx-input-warning-foreground: var(--astryx-color-on-warning-muted);
16
16
  --astryx-input-warning-background: var(--astryx-color-warning-muted);
17
- --astryx-input-success: var(--astryx-color-success);
18
- --astryx-input-success-foreground: var(--astryx-color-text-green);
17
+ --astryx-input-success: var(--astryx-color-border-success);
18
+ --astryx-input-success-foreground: var(--astryx-color-on-success-muted);
19
19
  --astryx-input-success-background: var(--astryx-color-success-muted);
20
20
  }
21
21
  }
package/matcha/icon.css CHANGED
@@ -6,9 +6,10 @@
6
6
  --astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
7
7
  --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
8
8
  --astryx-icon-accent-foreground: var(--astryx-color-on-accent);
9
- --astryx-icon-success-foreground: var(--astryx-color-text-green);
10
- --astryx-icon-error-foreground: var(--astryx-color-text-red);
11
- --astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
9
+ --astryx-icon-info-foreground: var(--astryx-color-icon-info);
10
+ --astryx-icon-success-foreground: var(--astryx-color-icon-success);
11
+ --astryx-icon-error-foreground: var(--astryx-color-icon-error);
12
+ --astryx-icon-warning-foreground: var(--astryx-color-icon-warning);
12
13
  --astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
13
14
  --astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
14
15
  --astryx-icon-green-foreground: var(--astryx-color-icon-green);
package/matcha/input.css CHANGED
@@ -8,14 +8,14 @@
8
8
  --astryx-input-height-sm: var(--astryx-size-element-sm);
9
9
  --astryx-input-height-md: var(--astryx-size-element-md);
10
10
  --astryx-input-height-lg: var(--astryx-size-element-lg);
11
- --astryx-input-error: var(--astryx-color-error);
12
- --astryx-input-error-foreground: var(--astryx-color-text-red);
11
+ --astryx-input-error: var(--astryx-color-border-error);
12
+ --astryx-input-error-foreground: var(--astryx-color-on-error-muted);
13
13
  --astryx-input-error-background: var(--astryx-color-error-muted);
14
- --astryx-input-warning: var(--astryx-color-warning);
15
- --astryx-input-warning-foreground: var(--astryx-color-text-yellow);
14
+ --astryx-input-warning: var(--astryx-color-border-warning);
15
+ --astryx-input-warning-foreground: var(--astryx-color-on-warning-muted);
16
16
  --astryx-input-warning-background: var(--astryx-color-warning-muted);
17
- --astryx-input-success: var(--astryx-color-success);
18
- --astryx-input-success-foreground: var(--astryx-color-text-green);
17
+ --astryx-input-success: var(--astryx-color-border-success);
18
+ --astryx-input-success-foreground: var(--astryx-color-on-success-muted);
19
19
  --astryx-input-success-background: var(--astryx-color-success-muted);
20
20
  }
21
21
  }
@@ -12,7 +12,7 @@
12
12
  --astryx-avatar-status-dot-neutral-foreground: var(--astryx-color-icon-secondary);
13
13
  --astryx-avatar-status-dot-info-background: var(--astryx-color-info);
14
14
  --astryx-avatar-status-dot-success-background: var(--astryx-color-success);
15
- --astryx-avatar-status-dot-warning-background: #ffce2f;
15
+ --astryx-avatar-status-dot-warning-background: var(--astryx-color-warning);
16
16
  --astryx-avatar-status-dot-error-background: var(--astryx-color-error);
17
17
  }
18
18
  }
@@ -12,7 +12,7 @@
12
12
  --astryx-dropdown-menu-hover-background: var(--astryx-color-overlay-hover);
13
13
  --astryx-dropdown-menu-pressed-background: var(--astryx-color-overlay-pressed);
14
14
  --astryx-dropdown-menu-trigger-open-overlay: var(--astryx-color-overlay-pressed);
15
- --astryx-dropdown-menu-destructive-foreground: var(--astryx-color-error);
15
+ --astryx-dropdown-menu-destructive-foreground: var(--astryx-color-text-error);
16
16
  --astryx-dropdown-menu-section-heading-foreground: var(--astryx-color-text-secondary);
17
17
  }
18
18
  }
package/neutral/icon.css CHANGED
@@ -7,9 +7,10 @@
7
7
  --astryx-icon-secondary-foreground: light-dark(#6a6a6a, #9e9e9e);
8
8
  --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
9
9
  --astryx-icon-accent-foreground: var(--astryx-color-icon-accent);
10
- --astryx-icon-success-foreground: light-dark(#00490b, #a4d6a3);
11
- --astryx-icon-error-foreground: light-dark(#76000c, #ffc4be);
12
- --astryx-icon-warning-foreground: light-dark(#4b3900, #f8d36a);
10
+ --astryx-icon-info-foreground: var(--astryx-color-icon-info);
11
+ --astryx-icon-success-foreground: var(--astryx-color-icon-success);
12
+ --astryx-icon-error-foreground: var(--astryx-color-icon-error);
13
+ --astryx-icon-warning-foreground: var(--astryx-color-icon-warning);
13
14
  --astryx-icon-blue-foreground: light-dark(#003978, #88bcff);
14
15
  --astryx-icon-cyan-foreground: light-dark(#004351, #71c7dd);
15
16
  --astryx-icon-green-foreground: light-dark(#00490b, #a4d6a3);
package/neutral/input.css CHANGED
@@ -9,14 +9,14 @@
9
9
  --astryx-input-height-sm: var(--astryx-size-element-sm);
10
10
  --astryx-input-height-md: var(--astryx-size-element-md);
11
11
  --astryx-input-height-lg: var(--astryx-size-element-lg);
12
- --astryx-input-error: var(--astryx-color-error);
13
- --astryx-input-error-foreground: var(--astryx-color-text-red);
12
+ --astryx-input-error: var(--astryx-color-border-error);
13
+ --astryx-input-error-foreground: var(--astryx-color-on-error-muted);
14
14
  --astryx-input-error-background: var(--astryx-color-error-muted);
15
- --astryx-input-warning: var(--astryx-color-warning);
16
- --astryx-input-warning-foreground: var(--astryx-color-text-yellow);
15
+ --astryx-input-warning: var(--astryx-color-border-warning);
16
+ --astryx-input-warning-foreground: var(--astryx-color-on-warning-muted);
17
17
  --astryx-input-warning-background: var(--astryx-color-warning-muted);
18
- --astryx-input-success: var(--astryx-color-success);
19
- --astryx-input-success-foreground: var(--astryx-color-text-green);
18
+ --astryx-input-success: var(--astryx-color-border-success);
19
+ --astryx-input-success-foreground: var(--astryx-color-on-success-muted);
20
20
  --astryx-input-success-background: var(--astryx-color-success-muted);
21
21
  }
22
22
  }
@@ -7,7 +7,7 @@
7
7
  --astryx-more-menu-foreground: var(--astryx-color-text-primary);
8
8
  --astryx-more-menu-description-foreground: var(--astryx-color-text-secondary);
9
9
  --astryx-more-menu-heading-foreground: var(--astryx-color-text-secondary);
10
- --astryx-more-menu-destructive-foreground: var(--astryx-color-error);
10
+ --astryx-more-menu-destructive-foreground: var(--astryx-color-text-error);
11
11
  --astryx-more-menu-item-hover-background: var(--astryx-color-overlay-hover);
12
12
  --astryx-more-menu-item-pressed-background: var(--astryx-color-overlay-pressed);
13
13
  --astryx-more-menu-scrim: var(--astryx-color-overlay);
@@ -5,9 +5,8 @@
5
5
  [data-astryx-theme='neutral'] {
6
6
  --astryx-status-dot-neutral-background: var(--astryx-color-icon-secondary);
7
7
  --astryx-status-dot-info-background: var(--astryx-color-info);
8
- /* 同原版 StatusDot:状态点用图标色,比底色深一档,在浅色底上也看得清。 */
9
- --astryx-status-dot-success-background: var(--astryx-color-icon-success);
10
- --astryx-status-dot-warning-background: var(--astryx-color-icon-warning);
11
- --astryx-status-dot-error-background: var(--astryx-color-icon-error);
8
+ --astryx-status-dot-success-background: var(--astryx-color-success);
9
+ --astryx-status-dot-warning-background: var(--astryx-color-warning);
10
+ --astryx-status-dot-error-background: var(--astryx-color-error);
12
11
  }
13
12
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/themes",
3
3
  "type": "module",
4
- "version": "0.7.28",
4
+ "version": "0.8.0",
5
5
  "description": "CSS themes for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",
package/stone/icon.css CHANGED
@@ -6,9 +6,10 @@
6
6
  --astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
7
7
  --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
8
8
  --astryx-icon-accent-foreground: var(--astryx-color-on-accent);
9
- --astryx-icon-success-foreground: var(--astryx-color-text-green);
10
- --astryx-icon-error-foreground: var(--astryx-color-text-red);
11
- --astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
9
+ --astryx-icon-info-foreground: var(--astryx-color-icon-info);
10
+ --astryx-icon-success-foreground: var(--astryx-color-icon-success);
11
+ --astryx-icon-error-foreground: var(--astryx-color-icon-error);
12
+ --astryx-icon-warning-foreground: var(--astryx-color-icon-warning);
12
13
  --astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
13
14
  --astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
14
15
  --astryx-icon-green-foreground: var(--astryx-color-icon-green);
package/y2k/icon.css CHANGED
@@ -6,9 +6,10 @@
6
6
  --astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
7
7
  --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
8
8
  --astryx-icon-accent-foreground: var(--astryx-color-on-accent);
9
- --astryx-icon-success-foreground: var(--astryx-color-text-green);
10
- --astryx-icon-error-foreground: var(--astryx-color-text-red);
11
- --astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
9
+ --astryx-icon-info-foreground: var(--astryx-color-icon-info);
10
+ --astryx-icon-success-foreground: var(--astryx-color-icon-success);
11
+ --astryx-icon-error-foreground: var(--astryx-color-icon-error);
12
+ --astryx-icon-warning-foreground: var(--astryx-color-icon-warning);
12
13
  --astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
13
14
  --astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
14
15
  --astryx-icon-green-foreground: var(--astryx-color-icon-green);
package/y2k/input.css CHANGED
@@ -8,14 +8,14 @@
8
8
  --astryx-input-height-sm: var(--astryx-size-element-sm);
9
9
  --astryx-input-height-md: var(--astryx-size-element-md);
10
10
  --astryx-input-height-lg: var(--astryx-size-element-lg);
11
- --astryx-input-error: var(--astryx-color-error);
12
- --astryx-input-error-foreground: var(--astryx-color-text-red);
11
+ --astryx-input-error: var(--astryx-color-border-error);
12
+ --astryx-input-error-foreground: var(--astryx-color-on-error-muted);
13
13
  --astryx-input-error-background: var(--astryx-color-error-muted);
14
- --astryx-input-warning: var(--astryx-color-warning);
15
- --astryx-input-warning-foreground: var(--astryx-color-text-yellow);
14
+ --astryx-input-warning: var(--astryx-color-border-warning);
15
+ --astryx-input-warning-foreground: var(--astryx-color-on-warning-muted);
16
16
  --astryx-input-warning-background: var(--astryx-color-warning-muted);
17
- --astryx-input-success: var(--astryx-color-success);
18
- --astryx-input-success-foreground: var(--astryx-color-text-green);
17
+ --astryx-input-success: var(--astryx-color-border-success);
18
+ --astryx-input-success-foreground: var(--astryx-color-on-success-muted);
19
19
  --astryx-input-success-background: var(--astryx-color-success-muted);
20
20
  }
21
21
  }