@okshaun/components 1.0.1 → 2.0.0
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/.mcp.json +2 -5
- package/dist/icon-metadata.json +5173 -0
- package/dist/index.js +17088 -9273
- package/dist/index.js.map +1 -1
- package/dist/panda.buildinfo.json +693 -0
- package/dist/playroom-static.css +187432 -0
- package/dist/{preset-BzrKiUEH.js → preset-Coz-VwQR.js} +4051 -3217
- package/dist/preset-Coz-VwQR.js.map +1 -0
- package/dist/preset.js +1 -1
- package/dist/specs/color-palette.json +22 -1
- package/dist/specs/patterns.json +0 -16
- package/dist/specs/recipes.json +411 -247
- package/dist/specs/semantic-tokens.json +330 -115
- package/dist/specs/text-styles.json +72 -0
- package/dist/specs/tokens.json +237 -27
- package/dist/sprite.svg +1 -1
- package/dist/sprite.symbol.html +6662 -320
- package/dist/styles.css +36938 -5
- package/dist/svgs/calendar-lock.svg +1 -0
- package/dist/svgs/computer.svg +1 -0
- package/dist/svgs/cookie.svg +1 -0
- package/dist/svgs/folder-check.svg +1 -0
- package/dist/svgs/folder-copy.svg +1 -0
- package/dist/svgs/folder-dashed.svg +1 -0
- package/dist/svgs/folder-open.svg +1 -0
- package/dist/svgs/folder-topic.svg +1 -0
- package/dist/svgs/folder.svg +1 -0
- package/dist/svgs/mobile.svg +1 -0
- package/dist/svgs/numpad.svg +1 -0
- package/dist/svgs/phone.svg +1 -0
- package/dist/svgs/qr-code.svg +1 -0
- package/dist/svgs/sparkle.svg +1 -0
- package/dist/svgs/trolley.svg +1 -0
- package/dist/types/index.d.ts +834 -347
- package/package.json +49 -36
- package/src/recipes/avatar.ts +4 -4
- package/src/recipes/badge.ts +22 -48
- package/src/recipes/box.ts +1 -7
- package/src/recipes/breadcrumbs.ts +42 -25
- package/src/recipes/button.ts +151 -85
- package/src/recipes/card.ts +5 -1
- package/src/recipes/checkbox.ts +23 -24
- package/src/recipes/checkboxInput.ts +25 -0
- package/src/recipes/chip.ts +35 -37
- package/src/recipes/code.ts +4 -4
- package/src/recipes/datePicker.ts +223 -0
- package/src/recipes/divider.ts +38 -31
- package/src/recipes/formField.ts +41 -23
- package/src/recipes/highlightText.ts +14 -0
- package/src/recipes/icon.ts +13 -0
- package/src/recipes/list.ts +14 -0
- package/src/recipes/listItem.ts +310 -0
- package/src/recipes/listItemGroup.ts +62 -0
- package/src/recipes/menu.ts +90 -163
- package/src/recipes/modal.ts +51 -18
- package/src/recipes/radio.ts +29 -20
- package/src/recipes/radioInput.ts +25 -0
- package/src/recipes/recipes-regular.ts +14 -0
- package/src/recipes/{index.ts → recipes-slot.ts} +14 -23
- package/src/recipes/select.ts +1 -1
- package/src/recipes/spinner.ts +49 -23
- package/src/recipes/tag.ts +80 -84
- package/src/recipes/text.ts +18 -19
- package/src/recipes/textInput.ts +205 -0
- package/src/recipes/textarea.ts +65 -138
- package/src/recipes/themeSwitcher.ts +3 -3
- package/src/recipes/timePicker.ts +199 -0
- package/src/recipes/toggle.ts +72 -99
- package/src/recipes/toggleInput.ts +26 -0
- package/src/recipes/tooltip.ts +52 -343
- package/src/styles/index.css +1 -1
- package/src/styles/primitives/borders.ts +7 -1
- package/src/styles/primitives/colors.ts +51 -0
- package/src/styles/primitives/fontSizes.ts +1 -0
- package/src/styles/primitives/index.ts +2 -1
- package/src/styles/primitives/radii.ts +1 -1
- package/src/styles/primitives/shadows.ts +9 -9
- package/src/styles/primitives/sizes.ts +1 -0
- package/src/styles/primitives/zIndex.ts +17 -0
- package/src/styles/semantics/colors.ts +137 -82
- package/src/styles/semantics/index.ts +1 -0
- package/src/styles/semantics/zIndex.ts +18 -0
- package/src/styles/utilities/breakpoints.ts +6 -6
- package/src/styles/utilities/index.ts +3 -0
- package/src/styles/utilities/textStyles.ts +71 -1
- package/src/utils/splitProps.ts +4 -4
- package/dist/preset-BzrKiUEH.js.map +0 -1
- package/dist/styles/global.css +0 -148
- package/dist/styles/recipes/avatar.css +0 -185
- package/dist/styles/recipes/badge.css +0 -85
- package/dist/styles/recipes/breadcrumbs.css +0 -38
- package/dist/styles/recipes/button.css +0 -195
- package/dist/styles/recipes/card.css +0 -57
- package/dist/styles/recipes/checkbox-input.css +0 -12
- package/dist/styles/recipes/checkbox.css +0 -90
- package/dist/styles/recipes/chip.css +0 -137
- package/dist/styles/recipes/code.css +0 -12
- package/dist/styles/recipes/divider.css +0 -43
- package/dist/styles/recipes/form-field.css +0 -39
- package/dist/styles/recipes/heading.css +0 -40
- package/dist/styles/recipes/icon-button.css +0 -181
- package/dist/styles/recipes/label.css +0 -14
- package/dist/styles/recipes/link.css +0 -49
- package/dist/styles/recipes/menu.css +0 -141
- package/dist/styles/recipes/modal.css +0 -99
- package/dist/styles/recipes/pre.css +0 -16
- package/dist/styles/recipes/radio-input.css +0 -7
- package/dist/styles/recipes/radio.css +0 -82
- package/dist/styles/recipes/select.css +0 -103
- package/dist/styles/recipes/spinner.css +0 -36
- package/dist/styles/recipes/tag.css +0 -27
- package/dist/styles/recipes/text.css +0 -46
- package/dist/styles/recipes/textarea.css +0 -91
- package/dist/styles/recipes/textinput.css +0 -87
- package/dist/styles/recipes/theme-switcher.css +0 -53
- package/dist/styles/recipes/toggle-input.css +0 -12
- package/dist/styles/recipes/toggle.css +0 -125
- package/dist/styles/recipes/tooltip.css +0 -133
- package/dist/styles/recipes.css +0 -30
- package/dist/styles/reset.css +0 -1
- package/dist/styles/tokens.css +0 -1016
- package/dist/styles/utilities.css +0 -1694
- package/src/recipes/checkboxinput.ts +0 -15
- package/src/recipes/radioinput.ts +0 -12
- package/src/recipes/textinput.ts +0 -100
- package/src/recipes/toggleinput.ts +0 -16
- package/src/utils/injectSprite.ts +0 -36
- package/src/utils/spriteContent.ts +0 -4
package/package.json
CHANGED
|
@@ -1,23 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okshaun/components",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "okshaun design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
8
|
+
"types": "./dist/types/index.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"prepare": "npx panda
|
|
11
|
-
"dev": "npx panda
|
|
12
|
-
"build": "rm -rf dist && PANDA_STATIC=true npx panda
|
|
13
|
-
"lint": "
|
|
10
|
+
"prepare": "npx panda && npx simple-git-hooks",
|
|
11
|
+
"dev": "npx panda --watch & vite",
|
|
12
|
+
"build": "rm -rf dist && PANDA_STATIC=true npx panda && npx panda spec && npx panda ship --outfile ./panda.buildinfo.json && vite build",
|
|
13
|
+
"lint": "biome lint .",
|
|
14
|
+
"check": "biome check .",
|
|
15
|
+
"check:write": "biome check . --write",
|
|
16
|
+
"format": "biome format . --write",
|
|
17
|
+
"typecheck": "tsc --noEmit",
|
|
18
|
+
"standards:check": "node tools/validate-standards.mjs",
|
|
19
|
+
"standards:changed": "node tools/validate-standards.mjs --changed",
|
|
20
|
+
"standards:staged": "node tools/validate-standards.mjs --staged",
|
|
21
|
+
"standards:test": "node --test tools/tests/*.test.mjs",
|
|
22
|
+
"validate": "node tools/run-validate.mjs --full --include-typecheck",
|
|
23
|
+
"validate:staged": "node tools/run-validate.mjs --staged --write",
|
|
24
|
+
"validate:full": "node tools/run-validate.mjs --full --report-only --include-typecheck",
|
|
14
25
|
"preview": "vite preview",
|
|
15
26
|
"generate-sprite": "node src/utils/generate-sprite.js",
|
|
16
|
-
"storybook": "PANDA_STATIC=true storybook dev -p 6006",
|
|
17
|
-
"storybook:build": "PANDA_STATIC=true storybook build",
|
|
18
|
-
"
|
|
27
|
+
"storybook": "PANDA_STATIC=true STORYBOOK=true storybook dev -p 6006",
|
|
28
|
+
"storybook:build": "PANDA_STATIC=true STORYBOOK=true storybook build",
|
|
29
|
+
"playroom": "node .playroom/playroom-dev.js",
|
|
30
|
+
"playroom:css": "node .playroom/playroom-dev.js --css-only",
|
|
31
|
+
"playroom:build": "node .playroom/playroom-build.js",
|
|
32
|
+
"panda": "npx panda --watch",
|
|
33
|
+
"panda:mcp": "npx panda mcp",
|
|
19
34
|
"prepublishOnly": "npm run build",
|
|
20
|
-
"
|
|
35
|
+
"doctor": "npm run doctor:react && npm run doctor:storybook",
|
|
36
|
+
"doctor:react": "npx -y react-doctor@latest .",
|
|
37
|
+
"doctor:storybook": "npx storybook doctor"
|
|
38
|
+
},
|
|
39
|
+
"simple-git-hooks": {
|
|
40
|
+
"pre-commit": "npm run validate:staged"
|
|
21
41
|
},
|
|
22
42
|
"files": [
|
|
23
43
|
"./dist/",
|
|
@@ -54,50 +74,43 @@
|
|
|
54
74
|
}
|
|
55
75
|
},
|
|
56
76
|
"dependencies": {
|
|
57
|
-
"@floating-ui/react": "^0.27.16"
|
|
58
|
-
"date-fns": "^4.1.0"
|
|
77
|
+
"@floating-ui/react": "^0.27.16"
|
|
59
78
|
},
|
|
60
79
|
"devDependencies": {
|
|
61
|
-
"@
|
|
80
|
+
"@babel/core": "^7.28.3",
|
|
81
|
+
"@babel/preset-react": "^7.28.5",
|
|
82
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
83
|
+
"@biomejs/biome": "2.0.6",
|
|
62
84
|
"@fontsource-variable/piazzolla": "^5.2.8",
|
|
63
85
|
"@fontsource/ibm-plex-mono": "^5.2.7",
|
|
64
86
|
"@fontsource/ibm-plex-sans": "^5.2.8",
|
|
65
87
|
"@pandacss/dev": "^1.8.0",
|
|
66
|
-
"@storybook/addon-
|
|
67
|
-
"@storybook/addon-
|
|
68
|
-
"@storybook/addon-
|
|
69
|
-
"@storybook/
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@storybook/react
|
|
72
|
-
"@storybook/
|
|
88
|
+
"@storybook/addon-a11y": "^8.6.17",
|
|
89
|
+
"@storybook/addon-essentials": "^8.6.17",
|
|
90
|
+
"@storybook/addon-interactions": "^8.6.17",
|
|
91
|
+
"@storybook/addon-themes": "^8.6.17",
|
|
92
|
+
"@storybook/blocks": "^8.6.17",
|
|
93
|
+
"@storybook/react": "^8.6.17",
|
|
94
|
+
"@storybook/react-vite": "^8.6.17",
|
|
95
|
+
"@storybook/test": "^8.6.17",
|
|
73
96
|
"@types/node": "^22.15.30",
|
|
74
97
|
"@types/react": "19.0.8",
|
|
75
98
|
"@types/react-dom": "19.0.3",
|
|
76
99
|
"@vitejs/plugin-react": "^4.3.4",
|
|
77
|
-
"
|
|
78
|
-
"eslint-config-prettier": "^9.1.0",
|
|
79
|
-
"eslint-plugin-react": "^7.37.2",
|
|
80
|
-
"eslint-plugin-react-hooks": "^5.0.0",
|
|
81
|
-
"eslint-plugin-react-refresh": "^0.4.16",
|
|
82
|
-
"eslint-plugin-storybook": "^0.11.2",
|
|
100
|
+
"babel-loader": "^10.0.0",
|
|
83
101
|
"gh-pages": "^6.2.0",
|
|
84
|
-
"
|
|
102
|
+
"playroom": "^0.44.0",
|
|
85
103
|
"postcss": "^8.5.1",
|
|
86
|
-
"
|
|
87
|
-
"
|
|
104
|
+
"react-doctor": "^0.0.29",
|
|
105
|
+
"simple-git-hooks": "^2.13.1",
|
|
106
|
+
"storybook": "^8.6.17",
|
|
88
107
|
"svg-sprite": "^2.0.4",
|
|
89
108
|
"svgo": "^3.0.2",
|
|
90
109
|
"typescript": "^5.7.3",
|
|
91
|
-
"typescript-eslint": "^8.54.0",
|
|
92
110
|
"vite": "^6.0.5",
|
|
93
111
|
"vite-plugin-dts": "^4.5.4",
|
|
94
112
|
"vite-plugin-static-copy": "^3.1.4"
|
|
95
113
|
},
|
|
96
|
-
"eslintConfig": {
|
|
97
|
-
"extends": [
|
|
98
|
-
"plugin:storybook/recommended"
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
114
|
"exports": {
|
|
102
115
|
".": {
|
|
103
116
|
"types": "./dist/types/index.d.ts",
|
package/src/recipes/avatar.ts
CHANGED
|
@@ -44,11 +44,11 @@ export const avatarRecipe = defineSlotRecipe({
|
|
|
44
44
|
position: 'absolute',
|
|
45
45
|
bottom: '0',
|
|
46
46
|
right: '0',
|
|
47
|
-
borderRadius: '
|
|
47
|
+
borderRadius: '999',
|
|
48
48
|
borderWidth: '2',
|
|
49
49
|
borderStyle: 'solid',
|
|
50
50
|
borderColor: 'bg',
|
|
51
|
-
zIndex:
|
|
51
|
+
zIndex: 'raised',
|
|
52
52
|
},
|
|
53
53
|
status: {
|
|
54
54
|
position: 'absolute',
|
|
@@ -57,11 +57,11 @@ export const avatarRecipe = defineSlotRecipe({
|
|
|
57
57
|
display: 'flex',
|
|
58
58
|
alignItems: 'center',
|
|
59
59
|
justifyContent: 'center',
|
|
60
|
-
borderRadius: '
|
|
60
|
+
borderRadius: '999',
|
|
61
61
|
borderWidth: '2',
|
|
62
62
|
borderStyle: 'solid',
|
|
63
63
|
borderColor: 'bg',
|
|
64
|
-
zIndex:
|
|
64
|
+
zIndex: 'raised',
|
|
65
65
|
},
|
|
66
66
|
},
|
|
67
67
|
variants: {
|
package/src/recipes/badge.ts
CHANGED
|
@@ -17,10 +17,10 @@ export const badgeRecipe = defineSlotRecipe({
|
|
|
17
17
|
borderRadius: '999',
|
|
18
18
|
fontWeight: 'medium',
|
|
19
19
|
fontFamily: 'sans',
|
|
20
|
-
lineHeight: '
|
|
20
|
+
lineHeight: 'none',
|
|
21
21
|
whiteSpace: 'nowrap',
|
|
22
22
|
userSelect: 'none',
|
|
23
|
-
zIndex: '
|
|
23
|
+
zIndex: 'raised',
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
26
|
variants: {
|
|
@@ -89,50 +89,50 @@ export const badgeRecipe = defineSlotRecipe({
|
|
|
89
89
|
variant: {
|
|
90
90
|
neutral: {
|
|
91
91
|
indicator: {
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
color: { base: 'neutral.110', _dark: 'neutral.0' },
|
|
93
|
+
bg: { base: 'neutral.40', _dark: 'neutral.70' },
|
|
94
94
|
},
|
|
95
95
|
},
|
|
96
96
|
subtle: {
|
|
97
97
|
indicator: {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
color: { base: 'neutral.100', _dark: 'darkNeutral.120' },
|
|
99
|
+
bg: { base: 'neutralA.20', _dark: 'darkNeutralA.20' },
|
|
100
100
|
},
|
|
101
101
|
},
|
|
102
|
-
|
|
102
|
+
bold: {
|
|
103
103
|
indicator: {
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
color: { base: 'neutral.0', _dark: 'darkNeutral.10' },
|
|
105
|
+
bg: { base: 'darkNeutral.0', _dark: 'neutral.0' },
|
|
106
106
|
},
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
inverse: {
|
|
109
109
|
indicator: {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
color: { base: 'neutral.110', _dark: 'darkNeutral.120' },
|
|
111
|
+
bg: { base: 'neutral.0', _dark: 'darkNeutral.0' },
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
114
|
success: {
|
|
115
115
|
indicator: {
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
color: { base: 'neutral.0', _dark: 'darkNeutral.0' },
|
|
117
|
+
bg: { base: 'green.50', _dark: 'green.40' },
|
|
118
118
|
},
|
|
119
119
|
},
|
|
120
|
-
|
|
120
|
+
warning: {
|
|
121
121
|
indicator: {
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
color: { base: 'neutral.100', _dark: 'darkNeutral.10' },
|
|
123
|
+
bg: { base: 'orange.30', _dark: 'orange.30' },
|
|
124
124
|
},
|
|
125
125
|
},
|
|
126
|
-
|
|
126
|
+
danger: {
|
|
127
127
|
indicator: {
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
color: { base: 'neutral.0', _dark: 'neutral.0' },
|
|
129
|
+
bg: { base: 'red.50', _dark: 'red.50' },
|
|
130
130
|
},
|
|
131
131
|
},
|
|
132
132
|
info: {
|
|
133
133
|
indicator: {
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
color: { base: 'neutral.0', _dark: 'darkNeutral.10' },
|
|
135
|
+
bg: { base: 'blue.50', _dark: 'blue.40' },
|
|
136
136
|
},
|
|
137
137
|
},
|
|
138
138
|
},
|
|
@@ -146,9 +146,6 @@ export const badgeRecipe = defineSlotRecipe({
|
|
|
146
146
|
indicator: {
|
|
147
147
|
minW: '16',
|
|
148
148
|
h: 'fit',
|
|
149
|
-
// w: '4',
|
|
150
|
-
// h: '4',
|
|
151
|
-
// p: '3',
|
|
152
149
|
},
|
|
153
150
|
},
|
|
154
151
|
},
|
|
@@ -159,9 +156,6 @@ export const badgeRecipe = defineSlotRecipe({
|
|
|
159
156
|
indicator: {
|
|
160
157
|
minW: '20',
|
|
161
158
|
h: 'fit',
|
|
162
|
-
// w: '6',
|
|
163
|
-
// h: '6',
|
|
164
|
-
// p: '4',
|
|
165
159
|
},
|
|
166
160
|
},
|
|
167
161
|
},
|
|
@@ -172,9 +166,6 @@ export const badgeRecipe = defineSlotRecipe({
|
|
|
172
166
|
indicator: {
|
|
173
167
|
minW: '24',
|
|
174
168
|
h: 'fit',
|
|
175
|
-
// w: '8',
|
|
176
|
-
// h: '8',
|
|
177
|
-
// p: '5',
|
|
178
169
|
},
|
|
179
170
|
},
|
|
180
171
|
},
|
|
@@ -183,21 +174,4 @@ export const badgeRecipe = defineSlotRecipe({
|
|
|
183
174
|
size: 'md',
|
|
184
175
|
variant: 'danger',
|
|
185
176
|
},
|
|
186
|
-
// staticCss: [
|
|
187
|
-
// {
|
|
188
|
-
// size: ['sm', 'md', 'lg'],
|
|
189
|
-
// standalone: ['true', 'false'],
|
|
190
|
-
// dot: ['true', 'false'],
|
|
191
|
-
// variant: [
|
|
192
|
-
// 'neutral',
|
|
193
|
-
// 'inverted',
|
|
194
|
-
// 'subtle',
|
|
195
|
-
// 'subtle-inverted',
|
|
196
|
-
// 'success',
|
|
197
|
-
// 'danger',
|
|
198
|
-
// 'warning',
|
|
199
|
-
// 'info',
|
|
200
|
-
// ],
|
|
201
|
-
// },
|
|
202
|
-
// ],
|
|
203
177
|
});
|
package/src/recipes/box.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { defineRecipe } from '@pandacss/dev';
|
|
2
2
|
|
|
3
|
-
const boxBase = {};
|
|
4
|
-
|
|
5
|
-
const boxVariants = {};
|
|
6
|
-
|
|
7
3
|
export const boxRecipe = defineRecipe({
|
|
8
4
|
className: 'box',
|
|
9
5
|
jsx: ['Box'],
|
|
10
|
-
base:
|
|
11
|
-
variants: boxVariants,
|
|
12
|
-
defaultVariants: {},
|
|
6
|
+
base: {},
|
|
13
7
|
});
|
|
@@ -1,29 +1,46 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
display: 'flex',
|
|
5
|
-
alignItems: 'center',
|
|
6
|
-
'& li': {
|
|
7
|
-
display: 'flex',
|
|
8
|
-
alignItems: 'center',
|
|
9
|
-
},
|
|
10
|
-
'& a': {
|
|
11
|
-
color: { base: 'gray.60', _dark: 'gray.60' },
|
|
12
|
-
_focusVisible: {
|
|
13
|
-
color: 'blue.50',
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
'& p': {
|
|
17
|
-
color: { base: 'gray.90', _dark: 'gray.10' },
|
|
18
|
-
},
|
|
19
|
-
'& span': {
|
|
20
|
-
mx: '6',
|
|
21
|
-
color: 'gray.20',
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const breadcrumbsRecipe = defineRecipe({
|
|
3
|
+
export const breadcrumbsRecipe = defineSlotRecipe({
|
|
26
4
|
className: 'breadcrumbs',
|
|
27
5
|
jsx: ['Breadcrumbs'],
|
|
28
|
-
|
|
6
|
+
slots: ['wrapper', 'slash', 'linkSegment', 'currentSegment'],
|
|
7
|
+
base: {
|
|
8
|
+
wrapper: {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
gap: '6',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
fontFamily: 'mono',
|
|
13
|
+
fontSize: '14',
|
|
14
|
+
'& li': {
|
|
15
|
+
display: 'flex',
|
|
16
|
+
gap: '6',
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
slash: {
|
|
21
|
+
fontFamily: 'mono',
|
|
22
|
+
fontSize: '14',
|
|
23
|
+
color: 'text.placeholder',
|
|
24
|
+
},
|
|
25
|
+
linkSegment: {
|
|
26
|
+
fontFamily: 'mono',
|
|
27
|
+
fontSize: '14',
|
|
28
|
+
color: 'text.subtlest',
|
|
29
|
+
fontWeight: 'normal',
|
|
30
|
+
whiteSpace: 'nowrap',
|
|
31
|
+
_hover: {
|
|
32
|
+
color: 'link',
|
|
33
|
+
},
|
|
34
|
+
_focusVisible: {
|
|
35
|
+
color: 'blue.50',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
currentSegment: {
|
|
39
|
+
fontFamily: 'mono',
|
|
40
|
+
fontSize: '14',
|
|
41
|
+
color: 'text',
|
|
42
|
+
fontWeight: 'bold',
|
|
43
|
+
whiteSpace: 'nowrap',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
29
46
|
});
|