@cocso-ui/css 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/theme-dark.css +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocso-ui/css",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cocso/cocso-ui.git",
package/theme-dark.css CHANGED
@@ -34,9 +34,12 @@
34
34
  --cocso-color-surface-inverse: var(--cocso-color-white);
35
35
  --cocso-color-surface-neutral: var(--cocso-color-neutral-800);
36
36
 
37
- /* Border */
38
- --cocso-color-border-primary: var(--cocso-color-neutral-800);
39
- --cocso-color-border-secondary: var(--cocso-color-neutral-900);
37
+ /* Border — one step lighter than the surface they sit on, mirroring the light
38
+ theme where surfaces take the two lightest steps and borders the next two.
39
+ `border-secondary` was `neutral-900`, the same value as `surface-secondary`,
40
+ so every divider drawn on a card was invisible at 1.00:1. */
41
+ --cocso-color-border-primary: var(--cocso-color-neutral-700);
42
+ --cocso-color-border-secondary: var(--cocso-color-neutral-800);
40
43
  /* neutral-600 would be 2.93:1 on the dark surface, under the 3:1 that
41
44
  WCAG 1.4.11 asks of a focus indicator. */
42
45
  --cocso-color-border-strong: var(--cocso-color-neutral-500);