@1337exp/taoui 1.1.0 → 1.2.2

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": "@1337exp/taoui",
3
- "version": "1.1.0",
3
+ "version": "1.2.2",
4
4
  "description": "Modern UI component library for Nuxt/Vue",
5
5
  "homepage": "https://666.io",
6
6
  "type": "module",
@@ -21,6 +21,16 @@ body {
21
21
  color: var(--tao-color-text);
22
22
  }
23
23
 
24
+ ::selection {
25
+ color: var(--tao-color-selection-text);
26
+ background-color: var(--tao-color-selection);
27
+ }
28
+
29
+ ::-moz-selection {
30
+ color: var(--tao-color-selection-text);
31
+ background-color: var(--tao-color-selection);
32
+ }
33
+
24
34
  /* Scrollbar */
25
35
  ::-webkit-scrollbar {
26
36
  max-width: 5px;
@@ -18,6 +18,9 @@
18
18
  --tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 8%, transparent);
19
19
  --tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 14%, transparent);
20
20
  --tao-color-on-accent: var(--tao-gray-950); /* текст поверх accent-фона */
21
+ --tao-color-text-on-accent: var(--tao-color-on-accent);
22
+ --tao-color-selection: var(--tao-color-accent);
23
+ --tao-color-selection-text: var(--tao-color-on-accent);
21
24
 
22
25
  /* ---------- Surfaces ---------- */
23
26
  --tao-color-bg: var(--tao-gray-900);
@@ -34,7 +37,6 @@
34
37
  --tao-color-text: var(--tao-gray-200);
35
38
  --tao-color-text-strong: var(--tao-gray-0);
36
39
  --tao-color-text-muted: var(--tao-gray-400);
37
- --tao-color-text-on-accent: var(--tao-gray-950);
38
40
  --tao-color-text-disabled: var(--tao-gray-300);
39
41
 
40
42
  /* ---------- Links ---------- */
@@ -16,6 +16,8 @@
16
16
  --tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
17
17
  --tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
18
18
  --tao-color-on-accent: var(--tao-gray-0);
19
+ --tao-color-selection: var(--tao-color-accent);
20
+ --tao-color-selection-text: var(--tao-color-on-accent);
19
21
 
20
22
  --tao-color-bg: var(--tao-gray-0);
21
23
  --tao-color-surface: var(--tao-gray-0);
@@ -29,7 +31,7 @@
29
31
  --tao-color-text: var(--tao-gray-700);
30
32
  --tao-color-text-strong: var(--tao-gray-950);
31
33
  --tao-color-text-muted: var(--tao-gray-400);
32
- --tao-color-text-on-accent: var(--tao-gray-0);
34
+ --tao-color-text-on-accent: var(--tao-color-on-accent);
33
35
  --tao-color-text-disabled: var(--tao-gray-300);
34
36
 
35
37
  --tao-color-link: var(--tao-orange-600);
@@ -1,77 +0,0 @@
1
- :root {
2
- /* Primary Colors */
3
- --tao-primary-color: #ffb40b;
4
- --tao-primary-color-fill-1: #ff9500;
5
- --tao-primary-color-fill-2: #ffc04a;
6
- --tao-primary-color-background: rgba(255, 180, 11, 0.02);
7
- --tao-primary-color-background-hover: rgba(255, 180, 11, 0.04);
8
- --tao-primary-border-color: rgba(255, 180, 11, 0.04);
9
-
10
- /* Secondary Colors */
11
- --tao-secondary-color: rgb(32, 32, 32);
12
- --tao-secondary-color-background: rgba(50, 50, 50, 0.2);
13
- --tao-secondary-border-color: rgba(50, 50, 50, 0.4);
14
-
15
- /* Text Colors */
16
- --tao-link-color: #ffc04a;
17
- --tao-text-color: #bfbfbf;
18
- --tao-text-color-dark: #151515;
19
- --tao-text-color-mark: #666666;
20
-
21
- /* Input Colors */
22
- --tao-input-color: #151515;
23
- --tao-input-placeholder-color: #888888;
24
- --tao-input-disabled-color: #999999;
25
- --tao-input-disabled-bg: rgba(50, 50, 50, 0.1);
26
-
27
- /* Shadows */
28
- --tao-link-color-shadow: 0 0 1px rgba(255, 192, 74, 0.1), 0 0 6px rgba(255, 192, 74, 0.6);
29
-
30
- /* Backgrounds */
31
- --tao-background-img-light-grid: none;
32
- --tao-background-img-dark-noise: #1a1a1a;
33
-
34
- /* Scrollbar Styles */
35
- ::-webkit-scrollbar {
36
- max-width: 5px;
37
- max-height: 5px;
38
- }
39
-
40
- ::-webkit-scrollbar-track {
41
- background: transparent;
42
- }
43
-
44
- ::-webkit-scrollbar-thumb {
45
- background: var(--tao-primary-color);
46
- border-radius: 3px;
47
- }
48
-
49
- /* Link Styling */
50
- a {
51
- color: var(--tao-link-color);
52
- text-decoration: none;
53
- transition: color 0.2s ease;
54
- }
55
-
56
- a:hover {
57
- color: var(--tao-primary-color-fill-2);
58
- }
59
-
60
- /* Input Number Styling */
61
- input[type=number]::-webkit-outer-spin-button,
62
- input[type=number]::-webkit-inner-spin-button {
63
- -webkit-appearance: none;
64
- margin: 0;
65
- }
66
-
67
- input[type=number] {
68
- -moz-appearance: textfield !important;
69
- }
70
-
71
- /* Body Reset */
72
- html, body {
73
- padding: 0;
74
- margin: 0;
75
- font-family: "Roboto", sans-serif;
76
- }
77
- }