@1337exp/taoui 5.11.0 → 5.11.1

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": "5.11.0",
3
+ "version": "5.11.1",
4
4
  "description": "Design-token driven Vue 3 / Nuxt component library: palettes with tested contrast, accessible menus and toolbars, navigation that adapts without JS, small charts, built-in locales.",
5
5
  "keywords": [
6
6
  "vue",
@@ -68,14 +68,14 @@
68
68
  /* Neutral: the quiet action next to a primary one. Strong text, only the wash takes the theme colour.
69
69
  Нейтральный: тихое действие рядом с главным. Сильный текст, цвет темы — только у подложки при наведении. */
70
70
  .tao-tone-neutral {
71
- --tao-tone: var(--tao-color-text-muted);
71
+ --tao-tone: var(--tao-color-neutral);
72
72
  --tao-tone-hover: var(--tao-color-neutral-hover);
73
73
  /* white on the mid grey in both themes (5.7:1); the page colour was dark on dark in the dark theme (3.4:1)
74
74
  белое на среднем сером в обеих темах; цвет страницы в тёмной теме давал тёмное на тёмном */
75
75
  --tao-tone-on: var(--tao-color-on-neutral);
76
76
  --tao-tone-text: var(--tao-color-text-strong);
77
77
  --tao-tone-text-hover: var(--tao-color-text-strong);
78
- --tao-tone-subtle: color-mix(in srgb, var(--tao-color-text-muted) 15%, transparent);
78
+ --tao-tone-subtle: color-mix(in srgb, var(--tao-color-neutral) 15%, transparent);
79
79
  --tao-tone-wash: var(--tao-color-accent-subtle-hover);
80
80
  }
81
81
 
@@ -51,7 +51,9 @@
51
51
  --tao-color-text: var(--tao-gray-200);
52
52
  --tao-color-text-strong: var(--tao-gray-0);
53
53
  --tao-color-text-subtle: var(--tao-gray-300); /* idle-контролы: segmented, tabs. Подписи остаются muted */
54
- --tao-color-text-muted: var(--tao-gray-400);
54
+ /* secondary text (labels, hints, legends) still reads: 5.3:1 on the page, 4.8:1 on a card; it was #666, 3.2:1
55
+ второстепенный текст (подписи, подсказки, легенды) читается: 5,3:1 на странице, 4,8:1 на карточке; был #666, 3,2:1 */
56
+ --tao-color-text-muted: var(--tao-gray-350);
55
57
  --tao-color-text-disabled: var(--tao-gray-500); /* dimmer than muted: a disabled item must not stand out / тусклее muted */
56
58
 
57
59
  /* ---------- Links ---------- */
@@ -68,13 +70,15 @@
68
70
  --tao-color-on-success: var(--tao-gray-950);
69
71
  --tao-color-on-warning: var(--tao-gray-950);
70
72
  --tao-color-on-info: var(--tao-gray-950);
71
- /* the neutral fill is the muted text grey: a white label on it / нейтральная заливка — серый muted, подпись белая */
73
+ /* the neutral fill: a mid grey of its own, so the white label keeps 5.7:1 (muted text is lighter now)
74
+ нейтральная заливка: свой средний серый, чтобы белая подпись держала 5,7:1 (приглушённый текст теперь светлее) */
75
+ --tao-color-neutral: var(--tao-gray-400);
72
76
  --tao-color-on-neutral: var(--tao-gray-0);
73
77
  /* under the pointer the neutral fill steps darker, as the other dark fills do: it went to the near-white text
74
78
  colour and the white label was lost on it
75
79
  под указателем нейтральная заливка темнеет, как остальные тёмные заливки: она становилась почти белым цветом
76
80
  текста, и белая подпись на ней терялась */
77
- --tao-color-neutral-hover: color-mix(in srgb, var(--tao-color-text-muted) 78%, var(--tao-color-bg));
81
+ --tao-color-neutral-hover: color-mix(in srgb, var(--tao-color-neutral) 78%, var(--tao-color-bg));
78
82
  /* light fills with a dark label, as the amber accent: bright enough to read as a button on a dark page
79
83
  светлые заливки с тёмной подписью, как у янтарного акцента: достаточно яркие, чтобы читаться кнопкой на тёмной странице */
80
84
  --tao-color-success: var(--tao-green-400);
@@ -59,10 +59,11 @@
59
59
  --tao-color-on-success: #ffffff;
60
60
  --tao-color-on-warning: #ffffff;
61
61
  --tao-color-on-info: #ffffff;
62
+ --tao-color-neutral: var(--tao-gray-400);
62
63
  --tao-color-on-neutral: #ffffff;
63
64
  /* a light page: a step darker under the pointer, as the other light fills do (it was the near-black text, a jump)
64
65
  светлая страница: под указателем на шаг темнее, как остальные светлые заливки (был почти чёрный текст, скачок) */
65
- --tao-color-neutral-hover: color-mix(in srgb, var(--tao-color-text-muted) 78%, var(--tao-color-text-strong));
66
+ --tao-color-neutral-hover: color-mix(in srgb, var(--tao-color-neutral) 78%, var(--tao-color-text-strong));
66
67
  --tao-color-success: var(--tao-green-700);
67
68
  --tao-color-success-hover: color-mix(in srgb, var(--tao-green-700) 85%, #000000);
68
69
  --tao-color-success-subtle: color-mix(in srgb, var(--tao-color-success) 10%, transparent);
@@ -12,6 +12,8 @@
12
12
  --tao-gray-100: #e0e0e0;
13
13
  --tao-gray-200: #bfbfbf;
14
14
  --tao-gray-300: #999999;
15
+ /* the muted text of the dark theme: 4.5:1 and more on its page and its cards / приглушённый текст тёмной темы */
16
+ --tao-gray-350: #8a8a8a;
15
17
  --tao-gray-400: #666666;
16
18
  --tao-gray-500: #444444;
17
19
  --tao-gray-600: #333333;