@passui/tokens 0.1.3 → 0.1.5
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/dist/accent.d.ts +28 -0
- package/dist/accent.js +127 -0
- package/dist/color.d.ts +56 -0
- package/dist/color.js +63 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/layout.d.ts +33 -0
- package/dist/layout.js +35 -0
- package/dist/motion.d.ts +65 -0
- package/dist/motion.js +90 -0
- package/dist/theme-css.d.ts +10 -0
- package/dist/theme-css.js +92 -0
- package/dist/typography.d.ts +94 -0
- package/dist/typography.js +89 -0
- package/package.json +61 -56
- package/styles/base.css +94 -77
- package/styles/globals.css +5 -0
- package/styles/styles.css +40 -35
- package/styles/typeset.css +896 -681
- package/styles/utilities.css +367 -140
- package/theme.css +8 -0
- package/src/accent.ts +0 -157
- package/src/color.ts +0 -113
- package/src/index.ts +0 -6
- package/src/layout.ts +0 -34
- package/src/motion.ts +0 -31
- package/src/theme-css.ts +0 -101
- package/src/typography.ts +0 -99
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export declare const fontFamily: {
|
|
2
|
+
readonly sans: '-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif';
|
|
3
|
+
readonly display: '-apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif';
|
|
4
|
+
/** Reading and writing. Newsreader is bundled; New York is used where present. */
|
|
5
|
+
readonly serif: '"Newsreader", "New York", "Iowan Old Style", Georgia, serif';
|
|
6
|
+
/** Handwriting, for notes and books written in a script hand. */
|
|
7
|
+
readonly script: '"Caveat Variable", "Caveat", "Bradley Hand", "Segoe Print", cursive';
|
|
8
|
+
/** Neat printed handwriting. */
|
|
9
|
+
readonly print: '"Patrick Hand", "Chalkboard SE", "Segoe Print", cursive';
|
|
10
|
+
readonly mono: 'ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace';
|
|
11
|
+
};
|
|
12
|
+
export interface TextStyle {
|
|
13
|
+
size: number;
|
|
14
|
+
lineHeight: number;
|
|
15
|
+
weight: 400 | 600;
|
|
16
|
+
tracking: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The text styles of Apple's Dynamic Type at its default ("Large") size, in
|
|
20
|
+
* points, which are CSS pixels. Names follow SwiftUI's `Font.TextStyle`.
|
|
21
|
+
* In CSS each is a `text-*` utility (`text-footnote`) with a matching
|
|
22
|
+
* `leading-*`, and all of them grow and shrink with `--type-scale`.
|
|
23
|
+
*/
|
|
24
|
+
export declare const textStyles: {
|
|
25
|
+
readonly largeTitle: {
|
|
26
|
+
readonly size: 34;
|
|
27
|
+
readonly lineHeight: 41;
|
|
28
|
+
readonly weight: 400;
|
|
29
|
+
readonly tracking: 0.4;
|
|
30
|
+
};
|
|
31
|
+
readonly title: {
|
|
32
|
+
readonly size: 28;
|
|
33
|
+
readonly lineHeight: 34;
|
|
34
|
+
readonly weight: 400;
|
|
35
|
+
readonly tracking: 0.38;
|
|
36
|
+
};
|
|
37
|
+
readonly title2: {
|
|
38
|
+
readonly size: 22;
|
|
39
|
+
readonly lineHeight: 28;
|
|
40
|
+
readonly weight: 400;
|
|
41
|
+
readonly tracking: -0.26;
|
|
42
|
+
};
|
|
43
|
+
readonly title3: {
|
|
44
|
+
readonly size: 20;
|
|
45
|
+
readonly lineHeight: 25;
|
|
46
|
+
readonly weight: 400;
|
|
47
|
+
readonly tracking: -0.45;
|
|
48
|
+
};
|
|
49
|
+
readonly headline: {
|
|
50
|
+
readonly size: 17;
|
|
51
|
+
readonly lineHeight: 22;
|
|
52
|
+
readonly weight: 600;
|
|
53
|
+
readonly tracking: -0.43;
|
|
54
|
+
};
|
|
55
|
+
readonly body: {
|
|
56
|
+
readonly size: 17;
|
|
57
|
+
readonly lineHeight: 22;
|
|
58
|
+
readonly weight: 400;
|
|
59
|
+
readonly tracking: -0.43;
|
|
60
|
+
};
|
|
61
|
+
readonly callout: {
|
|
62
|
+
readonly size: 16;
|
|
63
|
+
readonly lineHeight: 21;
|
|
64
|
+
readonly weight: 400;
|
|
65
|
+
readonly tracking: -0.31;
|
|
66
|
+
};
|
|
67
|
+
readonly subheadline: {
|
|
68
|
+
readonly size: 15;
|
|
69
|
+
readonly lineHeight: 20;
|
|
70
|
+
readonly weight: 400;
|
|
71
|
+
readonly tracking: -0.23;
|
|
72
|
+
};
|
|
73
|
+
readonly footnote: {
|
|
74
|
+
readonly size: 13;
|
|
75
|
+
readonly lineHeight: 18;
|
|
76
|
+
readonly weight: 400;
|
|
77
|
+
readonly tracking: -0.08;
|
|
78
|
+
};
|
|
79
|
+
readonly caption: {
|
|
80
|
+
readonly size: 12;
|
|
81
|
+
readonly lineHeight: 16;
|
|
82
|
+
readonly weight: 400;
|
|
83
|
+
readonly tracking: 0;
|
|
84
|
+
};
|
|
85
|
+
readonly caption2: {
|
|
86
|
+
readonly size: 11;
|
|
87
|
+
readonly lineHeight: 13;
|
|
88
|
+
readonly weight: 400;
|
|
89
|
+
readonly tracking: 0.06;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export type TextStyleName = keyof typeof textStyles;
|
|
93
|
+
/** Like Dynamic Type, scaled text never drops below the smallest style. */
|
|
94
|
+
export declare const minimumTextSize: 11;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// src/typography.ts
|
|
2
|
+
const fontFamily = {
|
|
3
|
+
sans: "-apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Inter\", \"Segoe UI\", Roboto, sans-serif",
|
|
4
|
+
display: "-apple-system, BlinkMacSystemFont, \"SF Pro Display\", \"Inter\", \"Segoe UI\", Roboto, sans-serif",
|
|
5
|
+
/** Reading and writing. Newsreader is bundled; New York is used where present. */
|
|
6
|
+
serif: "\"Newsreader\", \"New York\", \"Iowan Old Style\", Georgia, serif",
|
|
7
|
+
/** Handwriting, for notes and books written in a script hand. */
|
|
8
|
+
script: "\"Caveat Variable\", \"Caveat\", \"Bradley Hand\", \"Segoe Print\", cursive",
|
|
9
|
+
/** Neat printed handwriting. */
|
|
10
|
+
print: "\"Patrick Hand\", \"Chalkboard SE\", \"Segoe Print\", cursive",
|
|
11
|
+
mono: "ui-monospace, \"SF Mono\", \"JetBrains Mono\", Menlo, monospace"
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The text styles of Apple's Dynamic Type at its default ("Large") size, in
|
|
15
|
+
* points, which are CSS pixels. Names follow SwiftUI's `Font.TextStyle`.
|
|
16
|
+
* In CSS each is a `text-*` utility (`text-footnote`) with a matching
|
|
17
|
+
* `leading-*`, and all of them grow and shrink with `--type-scale`.
|
|
18
|
+
*/
|
|
19
|
+
const textStyles = {
|
|
20
|
+
largeTitle: {
|
|
21
|
+
size: 34,
|
|
22
|
+
lineHeight: 41,
|
|
23
|
+
weight: 400,
|
|
24
|
+
tracking: .4
|
|
25
|
+
},
|
|
26
|
+
title: {
|
|
27
|
+
size: 28,
|
|
28
|
+
lineHeight: 34,
|
|
29
|
+
weight: 400,
|
|
30
|
+
tracking: .38
|
|
31
|
+
},
|
|
32
|
+
title2: {
|
|
33
|
+
size: 22,
|
|
34
|
+
lineHeight: 28,
|
|
35
|
+
weight: 400,
|
|
36
|
+
tracking: -.26
|
|
37
|
+
},
|
|
38
|
+
title3: {
|
|
39
|
+
size: 20,
|
|
40
|
+
lineHeight: 25,
|
|
41
|
+
weight: 400,
|
|
42
|
+
tracking: -.45
|
|
43
|
+
},
|
|
44
|
+
headline: {
|
|
45
|
+
size: 17,
|
|
46
|
+
lineHeight: 22,
|
|
47
|
+
weight: 600,
|
|
48
|
+
tracking: -.43
|
|
49
|
+
},
|
|
50
|
+
body: {
|
|
51
|
+
size: 17,
|
|
52
|
+
lineHeight: 22,
|
|
53
|
+
weight: 400,
|
|
54
|
+
tracking: -.43
|
|
55
|
+
},
|
|
56
|
+
callout: {
|
|
57
|
+
size: 16,
|
|
58
|
+
lineHeight: 21,
|
|
59
|
+
weight: 400,
|
|
60
|
+
tracking: -.31
|
|
61
|
+
},
|
|
62
|
+
subheadline: {
|
|
63
|
+
size: 15,
|
|
64
|
+
lineHeight: 20,
|
|
65
|
+
weight: 400,
|
|
66
|
+
tracking: -.23
|
|
67
|
+
},
|
|
68
|
+
footnote: {
|
|
69
|
+
size: 13,
|
|
70
|
+
lineHeight: 18,
|
|
71
|
+
weight: 400,
|
|
72
|
+
tracking: -.08
|
|
73
|
+
},
|
|
74
|
+
caption: {
|
|
75
|
+
size: 12,
|
|
76
|
+
lineHeight: 16,
|
|
77
|
+
weight: 400,
|
|
78
|
+
tracking: 0
|
|
79
|
+
},
|
|
80
|
+
caption2: {
|
|
81
|
+
size: 11,
|
|
82
|
+
lineHeight: 13,
|
|
83
|
+
weight: 400,
|
|
84
|
+
tracking: .06
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
/** Like Dynamic Type, scaled text never drops below the smallest style. */
|
|
88
|
+
const minimumTextSize = textStyles.caption2.size;
|
|
89
|
+
export { fontFamily, minimumTextSize, textStyles };
|
package/package.json
CHANGED
|
@@ -1,58 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
2
|
+
"name": "@passui/tokens",
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "Framework independent Passui design tokens and shared styles.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/phe-rus/passui.git",
|
|
10
|
+
"directory": "packages/tokens"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://passui.pherus.org",
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public",
|
|
15
|
+
"registry": "https://registry.npmjs.org"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"styles",
|
|
20
|
+
"theme.css",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE"
|
|
23
|
+
],
|
|
24
|
+
"exports": {
|
|
25
|
+
".": "./dist/index.js",
|
|
26
|
+
"./accent": "./dist/accent.js",
|
|
27
|
+
"./color": "./dist/color.js",
|
|
28
|
+
"./layout": "./dist/layout.js",
|
|
29
|
+
"./motion": "./dist/motion.js",
|
|
30
|
+
"./theme-css": "./dist/theme-css.js",
|
|
31
|
+
"./typography": "./dist/typography.js",
|
|
32
|
+
"./package.json": "./package.json",
|
|
33
|
+
"./theme.css": "./theme.css",
|
|
34
|
+
"./base.css": "./styles/base.css",
|
|
35
|
+
"./utilities.css": "./styles/utilities.css",
|
|
36
|
+
"./typeset.css": "./styles/typeset.css",
|
|
37
|
+
"./styles.css": "./styles/styles.css"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"generate": "bun scripts/generate-css.ts",
|
|
41
|
+
"build": "bun run generate && tsdown",
|
|
42
|
+
"typecheck": "tsc --noEmit",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"publish:check": "bun pm pack --dry-run"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"tw-animate-css": "^1.4.0"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"tailwindcss": "^4.3.3"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"typescript": "^7.0.2",
|
|
54
|
+
"@types/node": "^26.6.6",
|
|
55
|
+
"tailwindcss": "^4.3.5",
|
|
56
|
+
"vite": "8.3.8",
|
|
57
|
+
"vitest": "5.1.0",
|
|
58
|
+
"tsdown": "0.23.7"
|
|
59
|
+
},
|
|
60
|
+
"sideEffects": [
|
|
61
|
+
"**/*.css"
|
|
62
|
+
]
|
|
58
63
|
}
|
package/styles/base.css
CHANGED
|
@@ -4,86 +4,96 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
@layer base {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
* {
|
|
8
|
+
@apply border-separator outline-accent/50;
|
|
9
|
+
/* Passui keeps scrolling behavior, but never displays scrollbar chrome. */
|
|
10
|
+
scrollbar-width: none;
|
|
11
|
+
}
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
*::-webkit-scrollbar {
|
|
14
|
+
display: none;
|
|
15
|
+
width: 0;
|
|
16
|
+
height: 0;
|
|
17
|
+
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
html {
|
|
20
|
+
@apply font-sans;
|
|
21
|
+
height: 100%;
|
|
22
|
+
-webkit-font-smoothing: antialiased;
|
|
23
|
+
-moz-osx-font-smoothing: grayscale;
|
|
24
|
+
text-rendering: optimizeLegibility;
|
|
25
|
+
-webkit-tap-highlight-color: transparent;
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
body {
|
|
29
|
+
@apply bg-background text-label [&_svg:not([data-brand])]:dualTone;
|
|
30
|
+
height: 100%;
|
|
31
|
+
overscroll-behavior: none;
|
|
32
|
+
transition:
|
|
33
|
+
background-color var(--duration-normal) var(--ease-standard),
|
|
34
|
+
color var(--duration-normal) var(--ease-standard);
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
37
|
+
input:-webkit-autofill,
|
|
38
|
+
input:-webkit-autofill:hover,
|
|
39
|
+
input:-webkit-autofill:focus,
|
|
40
|
+
textarea:-webkit-autofill,
|
|
41
|
+
textarea:-webkit-autofill:hover,
|
|
42
|
+
textarea:-webkit-autofill:focus {
|
|
43
|
+
-webkit-background-clip: text;
|
|
44
|
+
background-clip: text;
|
|
45
|
+
-webkit-text-fill-color: var(--color-label);
|
|
46
|
+
caret-color: var(--color-label);
|
|
47
|
+
transition: background-color 999999s ease-in-out 0s;
|
|
48
|
+
}
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
button:not(:disabled),
|
|
51
|
+
[role="button"]:not(:disabled) {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
:focus-visible {
|
|
56
|
+
outline: 2px solid var(--color-accent-text);
|
|
57
|
+
outline-offset: 2px;
|
|
58
|
+
}
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
::selection {
|
|
61
|
+
background: color-mix(in srgb, var(--color-accent) 40%, transparent);
|
|
62
|
+
}
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
input[type="number"]::-webkit-outer-spin-button,
|
|
65
|
+
input[type="number"]::-webkit-inner-spin-button {
|
|
66
|
+
-webkit-appearance: none;
|
|
67
|
+
margin: 0;
|
|
68
|
+
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
input[type="number"] {
|
|
71
|
+
-moz-appearance: textfield;
|
|
72
|
+
appearance: textfield;
|
|
73
|
+
}
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
/* Apple's pattern: a heading hugs the paragraph that follows it.
|
|
76
76
|
Section separation comes from the layout around the cluster,
|
|
77
77
|
not from the heading's own bottom margin. Apps that want extra
|
|
78
78
|
air can still add mt-* explicitly. Audit §4.3.3. */
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
h1,
|
|
80
|
+
h2,
|
|
81
|
+
h3,
|
|
82
|
+
h4,
|
|
83
|
+
h5,
|
|
84
|
+
h6 {
|
|
85
|
+
margin-block: 0;
|
|
86
|
+
}
|
|
87
|
+
h1 + p,
|
|
88
|
+
h2 + p,
|
|
89
|
+
h3 + p,
|
|
90
|
+
h4 + p,
|
|
91
|
+
h5 + p,
|
|
92
|
+
h6 + p {
|
|
93
|
+
margin-block-start: 0;
|
|
94
|
+
}
|
|
85
95
|
|
|
86
|
-
|
|
96
|
+
/* Apple's rule: use SF Pro Display optical variants at 20pt and above,
|
|
87
97
|
SF Pro Text below. The --font-display family is declared in
|
|
88
98
|
typography.ts but was previously unused because --font-heading
|
|
89
99
|
aliased to --font-sans. This rule wires Display to the four large
|
|
@@ -91,18 +101,25 @@
|
|
|
91
101
|
optical sizes, so this is invisible there; on systems with SF Pro
|
|
92
102
|
installed outside -apple-system, it ensures the correct cut.
|
|
93
103
|
Audit §4.4. */
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
104
|
+
.text-large-title,
|
|
105
|
+
.text-title,
|
|
106
|
+
.text-title2,
|
|
107
|
+
.text-title3 {
|
|
108
|
+
font-family: var(--font-display);
|
|
109
|
+
}
|
|
97
110
|
}
|
|
98
111
|
|
|
99
112
|
@media (prefers-reduced-motion: reduce) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
113
|
+
*,
|
|
114
|
+
*::before,
|
|
115
|
+
*::after {
|
|
116
|
+
/* biome-ignore lint/complexity/noImportantStyles: design token override */
|
|
117
|
+
scroll-behavior: auto !important;
|
|
118
|
+
/* biome-ignore lint/complexity/noImportantStyles: design token override */
|
|
119
|
+
transition-duration: 0.01ms !important;
|
|
120
|
+
/* biome-ignore lint/complexity/noImportantStyles: design token override */
|
|
121
|
+
animation-duration: 0.01ms !important;
|
|
122
|
+
/* biome-ignore lint/complexity/noImportantStyles: design token override */
|
|
123
|
+
animation-iteration-count: 1 !important;
|
|
124
|
+
}
|
|
108
125
|
}
|
package/styles/styles.css
CHANGED
|
@@ -11,49 +11,54 @@
|
|
|
11
11
|
@import "./base.css";
|
|
12
12
|
@import "./typeset.css";
|
|
13
13
|
|
|
14
|
+
/* Compiled Passui classes. Missing packages are ignored. */
|
|
15
|
+
@source "../../react/dist";
|
|
16
|
+
@source "../../ui/dist";
|
|
17
|
+
@source "../../tanstack/dist";
|
|
18
|
+
|
|
14
19
|
@custom-variant dark (&:is(.dark *));
|
|
15
20
|
|
|
16
21
|
/* Older role names some views still use, mapped onto Passui's roles. */
|
|
17
22
|
@theme inline {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
23
|
+
--color-foreground: var(--color-label);
|
|
24
|
+
--color-muted: var(--color-fill);
|
|
25
|
+
--color-muted-foreground: var(--color-label-secondary);
|
|
26
|
+
--color-card: var(--color-elevated);
|
|
27
|
+
--color-card-foreground: var(--color-label);
|
|
28
|
+
--color-popover: var(--color-elevated);
|
|
29
|
+
--color-popover-foreground: var(--color-label);
|
|
30
|
+
--color-primary: var(--color-inverse);
|
|
31
|
+
--color-primary-foreground: var(--color-on-inverse);
|
|
32
|
+
--color-secondary: var(--color-fill);
|
|
33
|
+
--color-secondary-foreground: var(--color-label);
|
|
34
|
+
--color-accent-foreground: var(--color-label);
|
|
35
|
+
--color-border: var(--color-separator);
|
|
36
|
+
--color-input: var(--color-separator);
|
|
37
|
+
--color-ring: var(--color-accent-text);
|
|
38
|
+
--color-destructive: var(--color-danger);
|
|
39
|
+
--color-destructive-foreground: var(--color-on-inverse);
|
|
40
|
+
--color-sidebar-border: var(--color-separator);
|
|
41
|
+
--color-sidebar-accent: var(--color-accent-soft);
|
|
42
|
+
--color-sidebar-accent-foreground: var(--color-label);
|
|
43
|
+
--color-sidebar-foreground: var(--color-label);
|
|
44
|
+
--font-heading: var(--font-sans);
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
:root {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
--background: var(--color-background);
|
|
49
|
+
--foreground: var(--color-label);
|
|
50
|
+
--primary: var(--color-inverse);
|
|
51
|
+
--secondary: var(--color-fill);
|
|
52
|
+
--border: var(--color-separator);
|
|
53
|
+
--muted-foreground: var(--color-label-secondary);
|
|
54
|
+
--card: var(--color-elevated);
|
|
55
|
+
--accent: var(--color-accent-soft);
|
|
56
|
+
--sidebar-border: var(--color-separator);
|
|
52
57
|
}
|
|
53
58
|
|
|
54
59
|
@utility no-scrollbar {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
scrollbar-width: none;
|
|
61
|
+
&::-webkit-scrollbar {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
59
64
|
}
|