@1337exp/taoui 5.44.0 → 5.49.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/CHANGELOG.md +41 -0
- package/README.md +1 -1
- package/README.ru.md +1 -1
- package/dist/index.d.ts +84 -8
- package/dist/index.js +102 -51
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/skills/taoui/SKILL.md +1 -1
- package/skills/taoui/references/components.md +1392 -1389
- package/src/styles/base.css +5 -1
- package/src/styles/palettes/lagoon.css +3 -3
- package/src/styles/palettes/marple.css +3 -3
- package/src/styles/palettes/ocean-blue.css +3 -3
- package/src/styles/palettes/pinheiro.css +7 -7
- package/src/styles/palettes/sunset.css +3 -3
- package/src/styles/palettes/tokyo-night.css +3 -3
- package/src/styles/palettes/violet-dusk.css +7 -7
- package/src/styles/themes/light.css +11 -3
package/src/styles/base.css
CHANGED
|
@@ -77,7 +77,11 @@ a {
|
|
|
77
77
|
transition: color var(--tao-duration-base) var(--tao-ease-base);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
a:hover
|
|
80
|
+
/* `a:where(:hover)` weighs as `a` and no more: a class on a link (a menu link, a card, a button) keeps its own colour on hover.
|
|
81
|
+
A bare `a:hover` (0,1,1) beat any class (0,1,0) and painted the link rose on whatever it stood on.
|
|
82
|
+
`a:where(:hover)` весит как `a` и не больше: класс на ссылке (пункт меню, карточка, кнопка) сохраняет свой цвет при наведении.
|
|
83
|
+
Голый `a:hover` (0,1,1) бил любой класс (0,1,0) и красил ссылку розовым на чём угодно. */
|
|
84
|
+
a:where(:hover) {
|
|
81
85
|
color: var(--tao-color-link-hover);
|
|
82
86
|
}
|
|
83
87
|
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
--tao-color-accent: #00838f;
|
|
64
64
|
--tao-color-accent-hover: #007681;
|
|
65
65
|
--tao-color-accent-active: #006872;
|
|
66
|
-
--tao-color-accent-text: #
|
|
67
|
-
--tao-color-accent-text-hover: #
|
|
66
|
+
--tao-color-accent-text: #006b75;
|
|
67
|
+
--tao-color-accent-text-hover: #005a63;
|
|
68
68
|
--tao-color-on-accent: #ffffff;
|
|
69
69
|
--tao-color-accent-2: #ca7104;
|
|
70
70
|
--tao-glow: #00838f;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--tao-color-surface-raised: #eef4fa;
|
|
75
75
|
--tao-color-surface-hover: #dde4e9;
|
|
76
76
|
--tao-color-link: var(--tao-color-text-strong);
|
|
77
|
-
--tao-color-link-hover: #
|
|
77
|
+
--tao-color-link-hover: #005a63;
|
|
78
78
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
|
|
79
79
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
|
|
80
80
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
--tao-color-accent: #ca2851;
|
|
64
64
|
--tao-color-accent-hover: #ba1045;
|
|
65
65
|
--tao-color-accent-active: #ab003c;
|
|
66
|
-
--tao-color-accent-text: #
|
|
67
|
-
--tao-color-accent-text-hover: #
|
|
66
|
+
--tao-color-accent-text: #b80b43;
|
|
67
|
+
--tao-color-accent-text-hover: #a10038;
|
|
68
68
|
--tao-color-on-accent: #ffffff;
|
|
69
69
|
--tao-color-accent-2: #e95354;
|
|
70
70
|
--tao-glow: #ca2851;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--tao-color-surface-raised: #faf1f1;
|
|
75
75
|
--tao-color-surface-hover: #e9e0e1;
|
|
76
76
|
--tao-color-link: var(--tao-color-text-strong);
|
|
77
|
-
--tao-color-link-hover: #
|
|
77
|
+
--tao-color-link-hover: #a10038;
|
|
78
78
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
|
|
79
79
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
|
|
80
80
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
--tao-color-accent: #0277b6;
|
|
64
64
|
--tao-color-accent-hover: #0069a3;
|
|
65
65
|
--tao-color-accent-active: #005f93;
|
|
66
|
-
--tao-color-accent-text: #
|
|
67
|
-
--tao-color-accent-text-hover: #
|
|
66
|
+
--tao-color-accent-text: #00649a;
|
|
67
|
+
--tao-color-accent-text-hover: #005585;
|
|
68
68
|
--tao-color-on-accent: #ffffff;
|
|
69
69
|
--tao-color-accent-2: #0095ab;
|
|
70
70
|
--tao-glow: #0277b6;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--tao-color-surface-raised: #f0f3fa;
|
|
75
75
|
--tao-color-surface-hover: #e0e3ea;
|
|
76
76
|
--tao-color-link: var(--tao-color-text-strong);
|
|
77
|
-
--tao-color-link-hover: #
|
|
77
|
+
--tao-color-link-hover: #005585;
|
|
78
78
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
|
|
79
79
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
|
|
80
80
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
--tao-color-accent: #2e9e7e;
|
|
8
8
|
--tao-color-accent-hover: #3eab8a;
|
|
9
9
|
--tao-color-accent-active: #4eb998;
|
|
10
|
-
--tao-color-accent-text: #
|
|
11
|
-
--tao-color-accent-text-hover: #
|
|
10
|
+
--tao-color-accent-text: #3aa787;
|
|
11
|
+
--tao-color-accent-text-hover: #4cb796;
|
|
12
12
|
--tao-color-on-accent: #0d0d0d;
|
|
13
13
|
--tao-color-accent-2: #2e9e7e;
|
|
14
14
|
--tao-glow: #2e9e7e;
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
--tao-color-surface: #021410;
|
|
18
18
|
--tao-color-surface-raised: #0c201c;
|
|
19
19
|
--tao-color-surface-hover: #182c28;
|
|
20
|
-
--tao-color-link: #
|
|
21
|
-
--tao-color-link-hover: #
|
|
20
|
+
--tao-color-link: #3aa787;
|
|
21
|
+
--tao-color-link-hover: #4cb796;
|
|
22
22
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 8%, transparent);
|
|
23
23
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 14%, transparent);
|
|
24
24
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
--tao-color-accent: #008567;
|
|
64
64
|
--tao-color-accent-hover: #00765b;
|
|
65
65
|
--tao-color-accent-active: #006951;
|
|
66
|
-
--tao-color-accent-text: #
|
|
67
|
-
--tao-color-accent-text-hover: #
|
|
66
|
+
--tao-color-accent-text: #006e55;
|
|
67
|
+
--tao-color-accent-text-hover: #005e48;
|
|
68
68
|
--tao-color-on-accent: #ffffff;
|
|
69
69
|
--tao-color-accent-2: #27997a;
|
|
70
70
|
--tao-glow: #008567;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--tao-color-surface-raised: #edf6f3;
|
|
75
75
|
--tao-color-surface-hover: #dce5e3;
|
|
76
76
|
--tao-color-link: var(--tao-color-text-strong);
|
|
77
|
-
--tao-color-link-hover: #
|
|
77
|
+
--tao-color-link-hover: #005e48;
|
|
78
78
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
|
|
79
79
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
|
|
80
80
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
--tao-color-accent: #ca4f00;
|
|
64
64
|
--tao-color-accent-hover: #b64600;
|
|
65
65
|
--tao-color-accent-active: #a43e00;
|
|
66
|
-
--tao-color-accent-text: #
|
|
67
|
-
--tao-color-accent-text-hover: #
|
|
66
|
+
--tao-color-accent-text: #a63f00;
|
|
67
|
+
--tao-color-accent-text-hover: #903500;
|
|
68
68
|
--tao-color-on-accent: #ffffff;
|
|
69
69
|
--tao-color-accent-2: #ca6f00;
|
|
70
70
|
--tao-glow: #ca4f00;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--tao-color-surface-raised: #faf1ee;
|
|
75
75
|
--tao-color-surface-hover: #e9e1de;
|
|
76
76
|
--tao-color-link: var(--tao-color-text-strong);
|
|
77
|
-
--tao-color-link-hover: #
|
|
77
|
+
--tao-color-link-hover: #903500;
|
|
78
78
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
|
|
79
79
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
|
|
80
80
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
--tao-color-accent: #c724b1;
|
|
64
64
|
--tao-color-accent-hover: #b908a4;
|
|
65
65
|
--tao-color-accent-active: #a60093;
|
|
66
|
-
--tao-color-accent-text: #
|
|
67
|
-
--tao-color-accent-text-hover: #
|
|
66
|
+
--tao-color-accent-text: #ac0099;
|
|
67
|
+
--tao-color-accent-text-hover: #940083;
|
|
68
68
|
--tao-color-on-accent: #ffffff;
|
|
69
69
|
--tao-color-accent-2: #5b2a86;
|
|
70
70
|
--tao-glow: #c724b1;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--tao-color-surface-raised: #f2f3fa;
|
|
75
75
|
--tao-color-surface-hover: #e1e2ea;
|
|
76
76
|
--tao-color-link: var(--tao-color-text-strong);
|
|
77
|
-
--tao-color-link-hover: #
|
|
77
|
+
--tao-color-link-hover: #940083;
|
|
78
78
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
|
|
79
79
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
|
|
80
80
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
--tao-color-accent: #995679;
|
|
8
8
|
--tao-color-accent-hover: #8b496c;
|
|
9
9
|
--tao-color-accent-active: #803f62;
|
|
10
|
-
--tao-color-accent-text: #
|
|
11
|
-
--tao-color-accent-text-hover: #
|
|
10
|
+
--tao-color-accent-text: #c0799d;
|
|
11
|
+
--tao-color-accent-text-hover: #d188ad;
|
|
12
12
|
--tao-color-on-accent: #ffffff;
|
|
13
13
|
--tao-color-accent-2: #845e8a;
|
|
14
14
|
--tao-glow: #995679;
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
--tao-color-surface: #160c18;
|
|
18
18
|
--tao-color-surface-raised: #221723;
|
|
19
19
|
--tao-color-surface-hover: #2e2330;
|
|
20
|
-
--tao-color-link: #
|
|
21
|
-
--tao-color-link-hover: #
|
|
20
|
+
--tao-color-link: #c0799d;
|
|
21
|
+
--tao-color-link-hover: #d188ad;
|
|
22
22
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 8%, transparent);
|
|
23
23
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 14%, transparent);
|
|
24
24
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
--tao-color-accent: #935073;
|
|
64
64
|
--tao-color-accent-hover: #864567;
|
|
65
65
|
--tao-color-accent-active: #7a395c;
|
|
66
|
-
--tao-color-accent-text: #
|
|
67
|
-
--tao-color-accent-text-hover: #
|
|
66
|
+
--tao-color-accent-text: #8b496c;
|
|
67
|
+
--tao-color-accent-text-hover: #7b3b5e;
|
|
68
68
|
--tao-color-on-accent: #ffffff;
|
|
69
69
|
--tao-color-accent-2: #502d55;
|
|
70
70
|
--tao-glow: #935073;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--tao-color-surface-raised: #f7f1f7;
|
|
75
75
|
--tao-color-surface-hover: #e6e1e7;
|
|
76
76
|
--tao-color-link: var(--tao-color-text-strong);
|
|
77
|
-
--tao-color-link-hover: #
|
|
77
|
+
--tao-color-link-hover: #7b3b5e;
|
|
78
78
|
--tao-color-accent-subtle: color-mix(in srgb, var(--tao-color-accent) 10%, transparent);
|
|
79
79
|
--tao-color-accent-subtle-hover: color-mix(in srgb, var(--tao-color-accent) 16%, transparent);
|
|
80
80
|
--tao-color-selection: var(--tao-color-accent);
|
|
@@ -31,7 +31,13 @@
|
|
|
31
31
|
--tao-color-bg: var(--tao-gray-0);
|
|
32
32
|
--tao-color-surface: var(--tao-gray-0);
|
|
33
33
|
--tao-color-surface-raised: var(--tao-gray-50);
|
|
34
|
-
|
|
34
|
+
/* A tint, not a grey: on the white page it is the same #f5f5f5, on a raised panel (also #f5f5f5) it is darker, so a field,
|
|
35
|
+
a track or a code block sunk into a panel is still seen as sunk. As in dark.css.
|
|
36
|
+
Подкраска, а не серый: на белой странице тот же #f5f5f5, на поднятой панели (тоже #f5f5f5) темнее, поэтому поле, дорожка
|
|
37
|
+
или блок кода, вдавленные в панель, по-прежнему видны вдавленными. Как в dark.css. */
|
|
38
|
+
--tao-color-surface-sunken: color-mix(in srgb, var(--tao-gray-900) 4.3%, transparent);
|
|
39
|
+
/* a soft white over the track, not pure white: pure white shouted beside a grey track and the white page / мягкий белый поверх дорожки, а не чистый: чистый белый кричал рядом с серой дорожкой и белой страницей */
|
|
40
|
+
--tao-segmented-thumb: color-mix(in srgb, var(--tao-gray-0) 60%, transparent);
|
|
35
41
|
--tao-color-surface-hover: var(--tao-gray-100);
|
|
36
42
|
/* see dark.css / см. dark.css */
|
|
37
43
|
--tao-color-hover: color-mix(in srgb, var(--tao-color-text-strong) 9%, transparent);
|
|
@@ -47,7 +53,8 @@
|
|
|
47
53
|
|
|
48
54
|
/* Plain black links that turn rose on hover; no glow (that one is for the dark theme) */
|
|
49
55
|
--tao-color-link: #000000;
|
|
50
|
-
|
|
56
|
+
/* a rose that reads on a grey panel too (pink-400 was 3.7:1 there) / розовый, который читается и на серой панели (pink-400 давал там 3,7:1) */
|
|
57
|
+
--tao-color-link-hover: var(--tao-color-accent-text-hover);
|
|
51
58
|
--tao-color-link-shadow: none;
|
|
52
59
|
|
|
53
60
|
--tao-color-danger: var(--tao-red-500);
|
|
@@ -101,7 +108,8 @@
|
|
|
101
108
|
/* the same role as in the dark theme: a field is the sunken surface, like the segmented track next to it (it was pure white, so a field stood out from its neighbours)
|
|
102
109
|
та же роль, что в тёмной теме: поле — «утопленная» поверхность, как дорожка сегментов рядом (раньше было чисто белым, и поле выбивалось из соседей) */
|
|
103
110
|
--tao-color-input-bg: var(--tao-color-surface-sunken);
|
|
104
|
-
|
|
111
|
+
/* the text of a field is `text`, as the ladder says (gray-950 was `text-strong`: a field read brighter than the buttons beside it) / текст поля — `text`, как говорит лестница */
|
|
112
|
+
--tao-color-input-text: var(--tao-color-text);
|
|
105
113
|
--tao-color-input-placeholder: var(--tao-gray-300);
|
|
106
114
|
/* a translucent tone, as in the dark theme: gray-50 is the field itself now, and a disabled field has to differ
|
|
107
115
|
полупрозрачный тон, как в тёмной теме: gray-50 теперь сам фон поля, а выключенное должно отличаться */
|