@duro-app/tokens 0.35.0 → 0.35.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": "@duro-app/tokens",
3
- "version": "0.35.0",
3
+ "version": "0.35.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,7 +42,6 @@
42
42
  "./tokens/shadows.css": "./src/tokens/shadows.css.ts",
43
43
  "./tokens/type-presets.css": "./src/tokens/type-presets.css.ts",
44
44
  "./themes/light.css": "./src/themes/light.css.ts",
45
- "./themes/landscape.css": "./src/themes/landscape.css.ts",
46
45
  "./themes/high-contrast.css": "./src/themes/high-contrast.css.ts"
47
46
  },
48
47
  "peerDependencies": {
@@ -1,51 +0,0 @@
1
- import { css } from 'react-strict-dom';
2
- export declare const landscapeTheme: css.Theme<css.VarGroup<Readonly<{
3
- bg: string;
4
- bgCard: string;
5
- bgCardHover: string;
6
- text: string;
7
- textMuted: string;
8
- accent: string;
9
- accentHover: string;
10
- accentContrast: string;
11
- border: string;
12
- error: string;
13
- errorHover: string;
14
- errorBg: string;
15
- errorBorder: string;
16
- errorText: string;
17
- errorContrast: string;
18
- success: string;
19
- successBg: string;
20
- successBorder: string;
21
- successText: string;
22
- warning: string;
23
- warningBg: string;
24
- warningBorder: string;
25
- warningText: string;
26
- info: string;
27
- infoBg: string;
28
- infoBorder: string;
29
- infoText: string;
30
- }>, symbol>, symbol>;
31
- export declare const landscapeShadows: css.Theme<css.VarGroup<Readonly<{
32
- sm: string;
33
- md: string;
34
- lg: string;
35
- }>, symbol>, symbol>;
36
- export declare const landscapeTypography: css.Theme<css.VarGroup<Readonly<{
37
- fontFamily: string;
38
- fontFamilyMono: string;
39
- fontSizeXs: string;
40
- fontSizeSm: string;
41
- fontSizeMd: string;
42
- fontSizeLg: string;
43
- fontSizeXl: string;
44
- fontSizeHeading: string;
45
- fontWeightNormal: string;
46
- fontWeightMedium: string;
47
- fontWeightSemibold: string;
48
- fontWeightBold: string;
49
- lineHeight: string;
50
- }>, symbol>, symbol>;
51
- //# sourceMappingURL=landscape.css.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"landscape.css.d.ts","sourceRoot":"","sources":["../../src/themes/landscape.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAWpC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA4BzB,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;oBAI3B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;oBAG9B,CAAA"}
@@ -1,51 +0,0 @@
1
- import {css} from 'react-strict-dom'
2
- import {colors} from '../tokens/colors.css'
3
- import {shadows} from '../tokens/shadows.css'
4
- import {typography} from '../tokens/typography.css'
5
-
6
- /* "Landscape" — the editorial paper-and-ink identity of application-landscape
7
- * (EA cartography): warm paper background, near-black ink, parchment hairlines,
8
- * ink-filled primary actions, and the app's lifecycle palette for the status
9
- * colors (success = actuel green, warning = transition orange, info = cible
10
- * blue, error = obsolescence red). */
11
-
12
- export const landscapeTheme = css.createTheme(colors, {
13
- bg: '#faf7f1', // paper
14
- bgCard: '#ffffff', // card
15
- bgCardHover: '#f5f1e8',
16
- text: '#1a1a1a', // ink
17
- textMuted: '#6b6760', // ink3
18
- accent: '#1a1a1a', // primary actions are INK-filled in this identity
19
- accentHover: '#3c3a36', // ink2
20
- accentContrast: '#faf7f1',
21
- border: '#e7e1d6', // line
22
- error: '#c00000', // obsolescence red
23
- errorHover: '#9a1010',
24
- errorBg: 'rgba(192, 0, 0, 0.07)',
25
- errorBorder: 'rgba(192, 0, 0, 0.3)',
26
- errorText: '#9a1010',
27
- errorContrast: '#ffffff',
28
- success: '#2e7d46', // lifecycle "actuel" green
29
- successBg: 'rgba(46, 125, 70, 0.08)',
30
- successBorder: 'rgba(46, 125, 70, 0.3)',
31
- successText: '#1d5a30',
32
- warning: '#b26b00', // lifecycle "transition" orange
33
- warningBg: 'rgba(178, 107, 0, 0.08)',
34
- warningBorder: 'rgba(178, 107, 0, 0.3)',
35
- warningText: '#8f4e00',
36
- info: '#1f5fb2', // lifecycle "cible" blue
37
- infoBg: 'rgba(31, 95, 178, 0.08)',
38
- infoBorder: 'rgba(31, 95, 178, 0.3)',
39
- infoText: '#1f5fb2',
40
- })
41
-
42
- export const landscapeShadows = css.createTheme(shadows, {
43
- sm: '0 1px 3px rgba(22, 20, 15, 0.04)',
44
- md: '0 4px 14px rgba(22, 20, 15, 0.1)',
45
- lg: '0 12px 40px rgba(22, 20, 15, 0.18)',
46
- })
47
-
48
- export const landscapeTypography = css.createTheme(typography, {
49
- fontFamily: '"Hanken Grotesk", "Segoe UI", system-ui, sans-serif',
50
- fontFamilyMono: '"JetBrains Mono", monospace',
51
- })