origam 2.18.9 → 2.18.10
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.
|
@@ -2158,7 +2158,8 @@
|
|
|
2158
2158
|
--origam-switch__track---width: 44px;
|
|
2159
2159
|
--origam-switch__track---height: 24px;
|
|
2160
2160
|
--origam-switch__track---border-radius: var(--origam-radius---full);
|
|
2161
|
-
|
|
2161
|
+
/* #919 — track-vs-page mesure 1.06-1.83:1 sur les 16 combos identite x mode (Playwright/Chromium) quand ce token vaut surface---disabled : la teinte est visuellement trop proche de la page dans les 8 identites. Derive de text---primary (garanti contraste contre la page par la lisibilite du texte) via color-mix ; comme le pouce par defaut vaut surface---default (= la page), il herite automatiquement du meme contraste contre ce nouveau track. Pire cas remesure apres correctif (cartoon|light) : 3.90:1. */
|
|
2162
|
+
--origam-switch__track---background-color: color-mix(in srgb, var(--origam-color__text---primary) 60%, var(--origam-color__surface---default));
|
|
2162
2163
|
--origam-switch__track---background-color-checked: var(--origam-color__action--primary---bg);
|
|
2163
2164
|
--origam-switch__track---background-color-disabled: var(--origam-color__surface---disabled);
|
|
2164
2165
|
--origam-switch__track---background-color-error: var(--origam-color__feedback--danger---bg);
|
|
@@ -2171,7 +2172,9 @@
|
|
|
2171
2172
|
--origam-switch__thumb---background-color: var(--origam-color__surface---default);
|
|
2172
2173
|
--origam-switch__thumb---background-color-checked: var(--origam-color__surface---default);
|
|
2173
2174
|
--origam-switch__thumb---background-color-disabled: var(--origam-color__surface---overlay);
|
|
2174
|
-
|
|
2175
|
+
/* #919 point 5 — voir light.css pour l'explication complete (pouce invisible
|
|
2176
|
+
sur le rail en erreur, 1.00:1 mesure ; revient a surface---default). */
|
|
2177
|
+
--origam-switch__thumb---background-color-error: var(--origam-color__surface---default);
|
|
2175
2178
|
--origam-switch__thumb---color-error: var(--origam-color__feedback--danger---fg);
|
|
2176
2179
|
--origam-switch__thumb---box-shadow: var(--origam-shadow---sm);
|
|
2177
2180
|
--origam-switch__thumb---border-radius: var(--origam-radius---full);
|
|
@@ -4896,7 +4899,8 @@
|
|
|
4896
4899
|
--origam-switch__track---width: 44px;
|
|
4897
4900
|
--origam-switch__track---height: 24px;
|
|
4898
4901
|
--origam-switch__track---border-radius: var(--origam-radius---full);
|
|
4899
|
-
|
|
4902
|
+
/* #919 — track-vs-page mesure 1.06-1.83:1 sur les 16 combos identite x mode (Playwright/Chromium) quand ce token vaut surface---disabled : la teinte est visuellement trop proche de la page dans les 8 identites. Derive de text---primary (garanti contraste contre la page par la lisibilite du texte) via color-mix ; comme le pouce par defaut vaut surface---default (= la page), il herite automatiquement du meme contraste contre ce nouveau track. Pire cas remesure apres correctif (cartoon|light) : 3.90:1. */
|
|
4903
|
+
--origam-switch__track---background-color: color-mix(in srgb, var(--origam-color__text---primary) 60%, var(--origam-color__surface---default));
|
|
4900
4904
|
--origam-switch__track---background-color-checked: var(--origam-color__action--primary---bg);
|
|
4901
4905
|
--origam-switch__track---background-color-disabled: var(--origam-color__surface---disabled);
|
|
4902
4906
|
--origam-switch__track---background-color-error: var(--origam-color__feedback--danger---bg);
|
|
@@ -4909,7 +4913,9 @@
|
|
|
4909
4913
|
--origam-switch__thumb---background-color: var(--origam-color__surface---default);
|
|
4910
4914
|
--origam-switch__thumb---background-color-checked: var(--origam-color__surface---default);
|
|
4911
4915
|
--origam-switch__thumb---background-color-disabled: var(--origam-color__surface---overlay);
|
|
4912
|
-
|
|
4916
|
+
/* #919 point 5 — voir light.css pour l'explication complete (pouce invisible
|
|
4917
|
+
sur le rail en erreur, 1.00:1 mesure ; revient a surface---default). */
|
|
4918
|
+
--origam-switch__thumb---background-color-error: var(--origam-color__surface---default);
|
|
4913
4919
|
--origam-switch__thumb---color-error: var(--origam-color__feedback--danger---fg);
|
|
4914
4920
|
--origam-switch__thumb---box-shadow: var(--origam-shadow---sm);
|
|
4915
4921
|
--origam-switch__thumb---border-radius: var(--origam-radius---full);
|
|
@@ -2064,7 +2064,8 @@
|
|
|
2064
2064
|
--origam-switch__track---width: 44px;
|
|
2065
2065
|
--origam-switch__track---height: 24px;
|
|
2066
2066
|
--origam-switch__track---border-radius: var(--origam-radius---full);
|
|
2067
|
-
|
|
2067
|
+
/* #919 — track-vs-page mesure 1.06-1.83:1 sur les 16 combos identite x mode (Playwright/Chromium) quand ce token vaut surface---disabled : la teinte est visuellement trop proche de la page dans les 8 identites. Derive de text---primary (garanti contraste contre la page par la lisibilite du texte) via color-mix ; comme le pouce par defaut vaut surface---default (= la page), il herite automatiquement du meme contraste contre ce nouveau track. Pire cas remesure apres correctif (cartoon|light) : 3.90:1. */
|
|
2068
|
+
--origam-switch__track---background-color: color-mix(in srgb, var(--origam-color__text---primary) 60%, var(--origam-color__surface---default));
|
|
2068
2069
|
--origam-switch__track---background-color-checked: var(--origam-color__action--primary---bg);
|
|
2069
2070
|
--origam-switch__track---background-color-disabled: var(--origam-color__surface---disabled);
|
|
2070
2071
|
--origam-switch__track---background-color-error: var(--origam-color__feedback--danger---bg);
|
|
@@ -2077,7 +2078,19 @@
|
|
|
2077
2078
|
--origam-switch__thumb---background-color: var(--origam-color__surface---default);
|
|
2078
2079
|
--origam-switch__thumb---background-color-checked: var(--origam-color__surface---default);
|
|
2079
2080
|
--origam-switch__thumb---background-color-disabled: var(--origam-color__surface---overlay);
|
|
2080
|
-
|
|
2081
|
+
/* #919 point 5 (etats non mesures) — le pouce et le rail utilisaient le MEME
|
|
2082
|
+
token (danger---bg) : pouce totalement invisible sur le rail en erreur,
|
|
2083
|
+
ratio 1.00:1 mesure sur les 16 configs (Playwright/Chromium, `switch-error`
|
|
2084
|
+
dans why-origam-contrast.audit.mjs). Le pouce revient a surface---default —
|
|
2085
|
+
le MEME token que le pouce par defaut (non colore) — au lieu de copier la
|
|
2086
|
+
couleur du rail. Note : `--origam-switch__thumb---color-error` (icone/texte
|
|
2087
|
+
DANS le pouce, applique par le meme selecteur SCSS) reste danger---fg
|
|
2088
|
+
(blanc) ; s'il n'y a pas d'icone (cas par defaut), cette valeur ne peint
|
|
2089
|
+
rien de visible et ne cree aucun conflit. Avec un `icon` explicite EN PLUS
|
|
2090
|
+
de `error`, l'icone blanche perdrait en lisibilite sur un pouce clair en
|
|
2091
|
+
light — combinaison rare, non couverte ici, a traiter separement si elle
|
|
2092
|
+
se presente. */
|
|
2093
|
+
--origam-switch__thumb---background-color-error: var(--origam-color__surface---default);
|
|
2081
2094
|
--origam-switch__thumb---color-error: var(--origam-color__feedback--danger---fg);
|
|
2082
2095
|
--origam-switch__thumb---box-shadow: var(--origam-shadow---sm);
|
|
2083
2096
|
--origam-switch__thumb---border-radius: var(--origam-radius---full);
|
|
@@ -2158,7 +2158,8 @@
|
|
|
2158
2158
|
--origam-switch__track---width: 44px;
|
|
2159
2159
|
--origam-switch__track---height: 24px;
|
|
2160
2160
|
--origam-switch__track---border-radius: var(--origam-radius---full);
|
|
2161
|
-
|
|
2161
|
+
/* #919 — track-vs-page mesure 1.06-1.83:1 sur les 16 combos identite x mode (Playwright/Chromium) quand ce token vaut surface---disabled : la teinte est visuellement trop proche de la page dans les 8 identites. Derive de text---primary (garanti contraste contre la page par la lisibilite du texte) via color-mix ; comme le pouce par defaut vaut surface---default (= la page), il herite automatiquement du meme contraste contre ce nouveau track. Pire cas remesure apres correctif (cartoon|light) : 3.90:1. */
|
|
2162
|
+
--origam-switch__track---background-color: color-mix(in srgb, var(--origam-color__text---primary) 60%, var(--origam-color__surface---default));
|
|
2162
2163
|
--origam-switch__track---background-color-checked: var(--origam-color__action--primary---bg);
|
|
2163
2164
|
--origam-switch__track---background-color-disabled: var(--origam-color__surface---disabled);
|
|
2164
2165
|
--origam-switch__track---background-color-error: var(--origam-color__feedback--danger---bg);
|
|
@@ -2171,7 +2172,9 @@
|
|
|
2171
2172
|
--origam-switch__thumb---background-color: var(--origam-color__surface---default);
|
|
2172
2173
|
--origam-switch__thumb---background-color-checked: var(--origam-color__surface---default);
|
|
2173
2174
|
--origam-switch__thumb---background-color-disabled: var(--origam-color__surface---overlay);
|
|
2174
|
-
|
|
2175
|
+
/* #919 point 5 — voir light.css pour l'explication complete (pouce invisible
|
|
2176
|
+
sur le rail en erreur, 1.00:1 mesure ; revient a surface---default). */
|
|
2177
|
+
--origam-switch__thumb---background-color-error: var(--origam-color__surface---default);
|
|
2175
2178
|
--origam-switch__thumb---color-error: var(--origam-color__feedback--danger---fg);
|
|
2176
2179
|
--origam-switch__thumb---box-shadow: var(--origam-shadow---sm);
|
|
2177
2180
|
--origam-switch__thumb---border-radius: var(--origam-radius---full);
|
|
@@ -4896,7 +4899,8 @@
|
|
|
4896
4899
|
--origam-switch__track---width: 44px;
|
|
4897
4900
|
--origam-switch__track---height: 24px;
|
|
4898
4901
|
--origam-switch__track---border-radius: var(--origam-radius---full);
|
|
4899
|
-
|
|
4902
|
+
/* #919 — track-vs-page mesure 1.06-1.83:1 sur les 16 combos identite x mode (Playwright/Chromium) quand ce token vaut surface---disabled : la teinte est visuellement trop proche de la page dans les 8 identites. Derive de text---primary (garanti contraste contre la page par la lisibilite du texte) via color-mix ; comme le pouce par defaut vaut surface---default (= la page), il herite automatiquement du meme contraste contre ce nouveau track. Pire cas remesure apres correctif (cartoon|light) : 3.90:1. */
|
|
4903
|
+
--origam-switch__track---background-color: color-mix(in srgb, var(--origam-color__text---primary) 60%, var(--origam-color__surface---default));
|
|
4900
4904
|
--origam-switch__track---background-color-checked: var(--origam-color__action--primary---bg);
|
|
4901
4905
|
--origam-switch__track---background-color-disabled: var(--origam-color__surface---disabled);
|
|
4902
4906
|
--origam-switch__track---background-color-error: var(--origam-color__feedback--danger---bg);
|
|
@@ -4909,7 +4913,9 @@
|
|
|
4909
4913
|
--origam-switch__thumb---background-color: var(--origam-color__surface---default);
|
|
4910
4914
|
--origam-switch__thumb---background-color-checked: var(--origam-color__surface---default);
|
|
4911
4915
|
--origam-switch__thumb---background-color-disabled: var(--origam-color__surface---overlay);
|
|
4912
|
-
|
|
4916
|
+
/* #919 point 5 — voir light.css pour l'explication complete (pouce invisible
|
|
4917
|
+
sur le rail en erreur, 1.00:1 mesure ; revient a surface---default). */
|
|
4918
|
+
--origam-switch__thumb---background-color-error: var(--origam-color__surface---default);
|
|
4913
4919
|
--origam-switch__thumb---color-error: var(--origam-color__feedback--danger---fg);
|
|
4914
4920
|
--origam-switch__thumb---box-shadow: var(--origam-shadow---sm);
|
|
4915
4921
|
--origam-switch__thumb---border-radius: var(--origam-radius---full);
|
|
@@ -2064,7 +2064,8 @@
|
|
|
2064
2064
|
--origam-switch__track---width: 44px;
|
|
2065
2065
|
--origam-switch__track---height: 24px;
|
|
2066
2066
|
--origam-switch__track---border-radius: var(--origam-radius---full);
|
|
2067
|
-
|
|
2067
|
+
/* #919 — track-vs-page mesure 1.06-1.83:1 sur les 16 combos identite x mode (Playwright/Chromium) quand ce token vaut surface---disabled : la teinte est visuellement trop proche de la page dans les 8 identites. Derive de text---primary (garanti contraste contre la page par la lisibilite du texte) via color-mix ; comme le pouce par defaut vaut surface---default (= la page), il herite automatiquement du meme contraste contre ce nouveau track. Pire cas remesure apres correctif (cartoon|light) : 3.90:1. */
|
|
2068
|
+
--origam-switch__track---background-color: color-mix(in srgb, var(--origam-color__text---primary) 60%, var(--origam-color__surface---default));
|
|
2068
2069
|
--origam-switch__track---background-color-checked: var(--origam-color__action--primary---bg);
|
|
2069
2070
|
--origam-switch__track---background-color-disabled: var(--origam-color__surface---disabled);
|
|
2070
2071
|
--origam-switch__track---background-color-error: var(--origam-color__feedback--danger---bg);
|
|
@@ -2077,7 +2078,19 @@
|
|
|
2077
2078
|
--origam-switch__thumb---background-color: var(--origam-color__surface---default);
|
|
2078
2079
|
--origam-switch__thumb---background-color-checked: var(--origam-color__surface---default);
|
|
2079
2080
|
--origam-switch__thumb---background-color-disabled: var(--origam-color__surface---overlay);
|
|
2080
|
-
|
|
2081
|
+
/* #919 point 5 (etats non mesures) — le pouce et le rail utilisaient le MEME
|
|
2082
|
+
token (danger---bg) : pouce totalement invisible sur le rail en erreur,
|
|
2083
|
+
ratio 1.00:1 mesure sur les 16 configs (Playwright/Chromium, `switch-error`
|
|
2084
|
+
dans why-origam-contrast.audit.mjs). Le pouce revient a surface---default —
|
|
2085
|
+
le MEME token que le pouce par defaut (non colore) — au lieu de copier la
|
|
2086
|
+
couleur du rail. Note : `--origam-switch__thumb---color-error` (icone/texte
|
|
2087
|
+
DANS le pouce, applique par le meme selecteur SCSS) reste danger---fg
|
|
2088
|
+
(blanc) ; s'il n'y a pas d'icone (cas par defaut), cette valeur ne peint
|
|
2089
|
+
rien de visible et ne cree aucun conflit. Avec un `icon` explicite EN PLUS
|
|
2090
|
+
de `error`, l'icone blanche perdrait en lisibilite sur un pouce clair en
|
|
2091
|
+
light — combinaison rare, non couverte ici, a traiter separement si elle
|
|
2092
|
+
se presente. */
|
|
2093
|
+
--origam-switch__thumb---background-color-error: var(--origam-color__surface---default);
|
|
2081
2094
|
--origam-switch__thumb---color-error: var(--origam-color__feedback--danger---fg);
|
|
2082
2095
|
--origam-switch__thumb---box-shadow: var(--origam-shadow---sm);
|
|
2083
2096
|
--origam-switch__thumb---border-radius: var(--origam-radius---full);
|