@neetechs/ui 0.0.1 → 0.0.3
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/LICENSE +21 -0
- package/README.md +10 -0
- package/dist/ai/ai-action-button/ai-action-button.css +269 -269
- package/dist/ai/ai-approval-card/ai-approval-card.css +320 -320
- package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
- package/dist/ai/ai-prompt-input/ai-prompt-input.css +377 -377
- package/dist/ai/ai-proposal-card/ai-proposal-card.css +358 -358
- package/dist/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
- package/dist/ai/ai-tool-call/ai-tool-call.css +255 -255
- package/dist/ai/index.css +1 -1
- package/dist/appearance/cache.d.ts +50 -0
- package/dist/appearance/cache.d.ts.map +1 -0
- package/dist/appearance/cache.js +126 -0
- package/dist/appearance/cache.js.map +1 -0
- package/dist/appearance/cookie.d.ts +18 -0
- package/dist/appearance/cookie.d.ts.map +1 -0
- package/dist/appearance/cookie.js +56 -0
- package/dist/appearance/cookie.js.map +1 -0
- package/dist/appearance/index.d.ts +8 -0
- package/dist/appearance/index.d.ts.map +1 -0
- package/dist/appearance/index.js +5 -0
- package/dist/appearance/index.js.map +1 -0
- package/dist/appearance/preference.d.ts +13 -0
- package/dist/appearance/preference.d.ts.map +1 -0
- package/dist/appearance/preference.js +26 -0
- package/dist/appearance/preference.js.map +1 -0
- package/dist/appearance/theme-controller.d.ts +80 -0
- package/dist/appearance/theme-controller.d.ts.map +1 -0
- package/dist/appearance/theme-controller.js +235 -0
- package/dist/appearance/theme-controller.js.map +1 -0
- package/dist/appearance/types.d.ts +21 -0
- package/dist/appearance/types.d.ts.map +1 -0
- package/dist/appearance/types.js +2 -0
- package/dist/appearance/types.js.map +1 -0
- package/dist/components/alert/alert.css +216 -216
- package/dist/components/avatar/avatar.css +218 -218
- package/dist/components/badge/badge.css +174 -174
- package/dist/components/breadcrumb/breadcrumb.css +204 -204
- package/dist/components/button/button.css +166 -166
- package/dist/components/card/card.css +219 -219
- package/dist/components/checkbox/checkbox.css +186 -186
- package/dist/components/chip/chip.css +267 -267
- package/dist/components/data-grid/data-grid.css +368 -368
- package/dist/components/dialog/dialog.css +274 -274
- package/dist/components/drawer/drawer.css +402 -402
- package/dist/components/dropdown/dropdown.css +297 -297
- package/dist/components/icon-button/icon-button.css +157 -157
- package/dist/components/input/input.css +162 -162
- package/dist/components/menu/menu.css +313 -313
- package/dist/components/modal/modal.css +317 -317
- package/dist/components/pagination/pagination.css +249 -249
- package/dist/components/panel/panel.css +282 -282
- package/dist/components/progress/progress.css +247 -247
- package/dist/components/radio/radio.css +163 -163
- package/dist/components/segmented-control/segmented-control.css +204 -204
- package/dist/components/select/select.css +102 -102
- package/dist/components/skeleton/skeleton.css +262 -262
- package/dist/components/split-button/split-button.css +284 -284
- package/dist/components/switch/switch.css +180 -180
- package/dist/components/tabs/tabs.css +288 -288
- package/dist/components/textarea/textarea.css +85 -85
- package/dist/components/toast/toast.css +322 -322
- package/dist/components/tooltip/tooltip.css +254 -254
- package/dist/domain/billing/index.css +497 -497
- package/dist/domain/calendar/day-slice/day-slice.css +382 -382
- package/dist/domain/calendar/day-timeline/day-timeline.css +323 -323
- package/dist/domain/calendar/event-card/event-card.css +336 -336
- package/dist/domain/calendar/month-grid/month-grid.css +419 -419
- package/dist/domain/calendar/week-grid/week-grid.css +469 -469
- package/dist/domain/companies/index.css +525 -525
- package/dist/index.css +5 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/patterns/command-palette/command-palette.css +438 -438
- package/dist/patterns/company-switcher/company-switcher.css +362 -362
- package/dist/patterns/empty-state/empty-state.css +258 -258
- package/dist/patterns/error-state/error-state.css +271 -271
- package/dist/patterns/loading-state/loading-state.css +287 -287
- package/dist/patterns/notification-center/notification-center.css +437 -437
- package/dist/patterns/profile-menu/profile-menu.css +296 -296
- package/dist/patterns/search-bar/search-bar.css +443 -443
- package/dist/patterns/workspace-switcher/workspace-switcher.css +379 -379
- package/dist/shell/app-shell/app-shell.css +67 -67
- package/dist/shell/content-frame/content-frame.css +93 -93
- package/dist/shell/header/header.css +177 -177
- package/dist/shell/index.css +5 -5
- package/dist/shell/mobile-nav/mobile-nav.css +170 -170
- package/dist/shell/right-drawer/right-drawer.css +107 -107
- package/dist/shell/sidebar/sidebar.css +145 -145
- package/dist/styles/animations/motion.css +161 -161
- package/dist/styles/base.css +81 -81
- package/dist/styles/reset.css +50 -50
- package/dist/styles/themes/dark.css +119 -119
- package/dist/styles/themes/high-contrast.css +118 -118
- package/dist/styles/themes/light.css +118 -118
- package/dist/styles/tokens/breakpoints.css +14 -14
- package/dist/styles/tokens/color.css +96 -96
- package/dist/styles/tokens/elevation.css +31 -31
- package/dist/styles/tokens/motion.css +35 -35
- package/dist/styles/tokens/radius.css +20 -20
- package/dist/styles/tokens/spacing.css +49 -49
- package/dist/styles/tokens/typography.css +83 -83
- package/dist/styles/tokens/z-index.css +14 -14
- package/dist/styles/utilities/layout.css +134 -134
- package/dist/styles/utilities/text.css +151 -151
- package/dist/styles/utilities/visibility.css +47 -47
- package/docs/theming.md +227 -0
- package/package.json +24 -17
- package/src/ai/ai-action-button/ai-action-button.css +269 -269
- package/src/ai/ai-approval-card/ai-approval-card.css +320 -320
- package/src/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
- package/src/ai/ai-prompt-input/ai-prompt-input.css +377 -377
- package/src/ai/ai-proposal-card/ai-proposal-card.css +358 -358
- package/src/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
- package/src/ai/ai-tool-call/ai-tool-call.css +255 -255
- package/src/ai/index.css +1 -1
- package/src/appearance/cache.ts +160 -0
- package/src/appearance/cookie.ts +68 -0
- package/src/appearance/index.ts +38 -0
- package/src/appearance/preference.ts +35 -0
- package/src/appearance/theme-controller.ts +383 -0
- package/src/appearance/types.ts +23 -0
- package/src/behaviors/dialog.ts +167 -167
- package/src/behaviors/drawer.ts +176 -176
- package/src/behaviors/dropdown.ts +280 -280
- package/src/behaviors/focus-trap.ts +260 -260
- package/src/behaviors/ids.ts +47 -47
- package/src/behaviors/index.ts +6 -6
- package/src/behaviors/keyboard.ts +302 -302
- package/src/behaviors/overlay.ts +230 -230
- package/src/components/alert/alert.css +216 -216
- package/src/components/avatar/avatar.css +218 -218
- package/src/components/badge/badge.css +174 -174
- package/src/components/breadcrumb/breadcrumb.css +204 -204
- package/src/components/button/button.css +166 -166
- package/src/components/card/card.css +219 -219
- package/src/components/checkbox/checkbox.css +186 -186
- package/src/components/chip/chip.css +267 -267
- package/src/components/data-grid/data-grid.css +368 -368
- package/src/components/dialog/dialog.css +274 -274
- package/src/components/drawer/drawer.css +402 -402
- package/src/components/dropdown/dropdown.css +297 -297
- package/src/components/icon-button/icon-button.css +157 -157
- package/src/components/input/input.css +162 -162
- package/src/components/menu/menu.css +313 -313
- package/src/components/modal/modal.css +317 -317
- package/src/components/pagination/pagination.css +249 -249
- package/src/components/panel/panel.css +282 -282
- package/src/components/progress/progress.css +247 -247
- package/src/components/radio/radio.css +163 -163
- package/src/components/segmented-control/segmented-control.css +204 -204
- package/src/components/select/select.css +102 -102
- package/src/components/skeleton/skeleton.css +262 -262
- package/src/components/split-button/split-button.css +284 -284
- package/src/components/switch/switch.css +180 -180
- package/src/components/tabs/tabs.css +288 -288
- package/src/components/textarea/textarea.css +85 -85
- package/src/components/toast/toast.css +322 -322
- package/src/components/tooltip/tooltip.css +254 -254
- package/src/domain/billing/index.css +497 -497
- package/src/domain/calendar/day-slice/day-slice.css +382 -382
- package/src/domain/calendar/day-timeline/day-timeline.css +323 -323
- package/src/domain/calendar/event-card/event-card.css +336 -336
- package/src/domain/calendar/month-grid/month-grid.css +419 -419
- package/src/domain/calendar/week-grid/week-grid.css +469 -469
- package/src/domain/companies/index.css +525 -525
- package/src/index.css +5 -5
- package/src/index.ts +6 -5
- package/src/patterns/command-palette/command-palette.css +438 -438
- package/src/patterns/company-switcher/company-switcher.css +362 -362
- package/src/patterns/empty-state/empty-state.css +258 -258
- package/src/patterns/error-state/error-state.css +271 -271
- package/src/patterns/loading-state/loading-state.css +287 -287
- package/src/patterns/notification-center/notification-center.css +437 -437
- package/src/patterns/profile-menu/profile-menu.css +296 -296
- package/src/patterns/search-bar/search-bar.css +443 -443
- package/src/patterns/workspace-switcher/workspace-switcher.css +379 -379
- package/src/shell/app-shell/app-shell.css +67 -67
- package/src/shell/content-frame/content-frame.css +93 -93
- package/src/shell/header/header.css +177 -177
- package/src/shell/index.css +5 -5
- package/src/shell/mobile-nav/mobile-nav.css +170 -170
- package/src/shell/right-drawer/right-drawer.css +107 -107
- package/src/shell/sidebar/sidebar.css +145 -145
- package/src/styles/animations/motion.css +161 -161
- package/src/styles/base.css +81 -81
- package/src/styles/reset.css +50 -50
- package/src/styles/themes/dark.css +119 -119
- package/src/styles/themes/high-contrast.css +118 -118
- package/src/styles/themes/light.css +118 -118
- package/src/styles/tokens/breakpoints.css +14 -14
- package/src/styles/tokens/color.css +96 -96
- package/src/styles/tokens/elevation.css +31 -31
- package/src/styles/tokens/motion.css +35 -35
- package/src/styles/tokens/radius.css +20 -20
- package/src/styles/tokens/spacing.css +49 -49
- package/src/styles/tokens/typography.css +83 -83
- package/src/styles/tokens/z-index.css +14 -14
- package/src/styles/utilities/layout.css +134 -134
- package/src/styles/utilities/text.css +151 -151
- package/src/styles/utilities/visibility.css +47 -47
package/dist/styles/base.css
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
color-scheme: dark;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
html {
|
|
6
|
-
scroll-behavior: smooth;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
body {
|
|
10
|
-
background: var(--nt-bg-app);
|
|
11
|
-
color: var(--nt-text-primary);
|
|
12
|
-
font-family: var(--nt-font-sans);
|
|
13
|
-
font-size: var(--nt-font-size-body-md);
|
|
14
|
-
line-height: var(--nt-line-height-body-md);
|
|
15
|
-
font-weight: var(--nt-font-weight-regular);
|
|
16
|
-
font-synthesis: none;
|
|
17
|
-
text-rendering: optimizeLegibility;
|
|
18
|
-
-webkit-font-smoothing: antialiased;
|
|
19
|
-
-moz-osx-font-smoothing: grayscale;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
::selection {
|
|
23
|
-
background: var(--nt-selection-bg);
|
|
24
|
-
color: var(--nt-selection-text);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:focus-visible {
|
|
28
|
-
outline: 2px solid var(--nt-focus-ring);
|
|
29
|
-
outline-offset: 2px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
html {
|
|
33
|
-
scrollbar-color: var(--nt-scrollbar-thumb) var(--nt-scrollbar-track);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
::-webkit-scrollbar {
|
|
37
|
-
width: var(--nt-scrollbar-size);
|
|
38
|
-
height: var(--nt-scrollbar-size);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
::-webkit-scrollbar-track {
|
|
42
|
-
background: var(--nt-scrollbar-track);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
::-webkit-scrollbar-thumb {
|
|
46
|
-
background: var(--nt-scrollbar-thumb);
|
|
47
|
-
border-radius: var(--nt-radius-full);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
::-webkit-scrollbar-thumb:hover {
|
|
51
|
-
background: var(--nt-scrollbar-thumb-hover);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.nt-app {
|
|
55
|
-
min-width: 320px;
|
|
56
|
-
min-height: 100vh;
|
|
57
|
-
background: var(--nt-bg-app);
|
|
58
|
-
color: var(--nt-text-primary);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.nt-theme-dark {
|
|
62
|
-
color-scheme: dark;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.nt-theme-light {
|
|
66
|
-
color-scheme: light;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@media (prefers-reduced-motion: reduce) {
|
|
70
|
-
html {
|
|
71
|
-
scroll-behavior: auto;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
*,
|
|
75
|
-
*::before,
|
|
76
|
-
*::after {
|
|
77
|
-
animation-duration: 0.001ms !important;
|
|
78
|
-
animation-iteration-count: 1 !important;
|
|
79
|
-
scroll-behavior: auto !important;
|
|
80
|
-
transition-duration: 0.001ms !important;
|
|
81
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
color-scheme: dark;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
html {
|
|
6
|
+
scroll-behavior: smooth;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
background: var(--nt-bg-app);
|
|
11
|
+
color: var(--nt-text-primary);
|
|
12
|
+
font-family: var(--nt-font-sans);
|
|
13
|
+
font-size: var(--nt-font-size-body-md);
|
|
14
|
+
line-height: var(--nt-line-height-body-md);
|
|
15
|
+
font-weight: var(--nt-font-weight-regular);
|
|
16
|
+
font-synthesis: none;
|
|
17
|
+
text-rendering: optimizeLegibility;
|
|
18
|
+
-webkit-font-smoothing: antialiased;
|
|
19
|
+
-moz-osx-font-smoothing: grayscale;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
::selection {
|
|
23
|
+
background: var(--nt-selection-bg);
|
|
24
|
+
color: var(--nt-selection-text);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:focus-visible {
|
|
28
|
+
outline: 2px solid var(--nt-focus-ring);
|
|
29
|
+
outline-offset: 2px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
html {
|
|
33
|
+
scrollbar-color: var(--nt-scrollbar-thumb) var(--nt-scrollbar-track);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
::-webkit-scrollbar {
|
|
37
|
+
width: var(--nt-scrollbar-size);
|
|
38
|
+
height: var(--nt-scrollbar-size);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
::-webkit-scrollbar-track {
|
|
42
|
+
background: var(--nt-scrollbar-track);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
::-webkit-scrollbar-thumb {
|
|
46
|
+
background: var(--nt-scrollbar-thumb);
|
|
47
|
+
border-radius: var(--nt-radius-full);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
::-webkit-scrollbar-thumb:hover {
|
|
51
|
+
background: var(--nt-scrollbar-thumb-hover);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.nt-app {
|
|
55
|
+
min-width: 320px;
|
|
56
|
+
min-height: 100vh;
|
|
57
|
+
background: var(--nt-bg-app);
|
|
58
|
+
color: var(--nt-text-primary);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.nt-theme-dark {
|
|
62
|
+
color-scheme: dark;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.nt-theme-light {
|
|
66
|
+
color-scheme: light;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (prefers-reduced-motion: reduce) {
|
|
70
|
+
html {
|
|
71
|
+
scroll-behavior: auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
*,
|
|
75
|
+
*::before,
|
|
76
|
+
*::after {
|
|
77
|
+
animation-duration: 0.001ms !important;
|
|
78
|
+
animation-iteration-count: 1 !important;
|
|
79
|
+
scroll-behavior: auto !important;
|
|
80
|
+
transition-duration: 0.001ms !important;
|
|
81
|
+
}
|
|
82
82
|
}
|
package/dist/styles/reset.css
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
*,
|
|
2
|
-
*::before,
|
|
3
|
-
*::after {
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
html {
|
|
8
|
-
min-width: 320px;
|
|
9
|
-
min-height: 100%;
|
|
10
|
-
text-size-adjust: 100%;
|
|
11
|
-
-webkit-text-size-adjust: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
body {
|
|
15
|
-
min-width: 320px;
|
|
16
|
-
min-height: 100vh;
|
|
17
|
-
margin: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
img,
|
|
21
|
-
picture,
|
|
22
|
-
video,
|
|
23
|
-
canvas,
|
|
24
|
-
svg {
|
|
25
|
-
display: block;
|
|
26
|
-
max-width: 100%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
button,
|
|
30
|
-
input,
|
|
31
|
-
textarea,
|
|
32
|
-
select {
|
|
33
|
-
font: inherit;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
button {
|
|
37
|
-
color: inherit;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
a {
|
|
41
|
-
color: inherit;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
table {
|
|
45
|
-
border-collapse: collapse;
|
|
46
|
-
border-spacing: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
[hidden] {
|
|
50
|
-
display: none !important;
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
html {
|
|
8
|
+
min-width: 320px;
|
|
9
|
+
min-height: 100%;
|
|
10
|
+
text-size-adjust: 100%;
|
|
11
|
+
-webkit-text-size-adjust: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body {
|
|
15
|
+
min-width: 320px;
|
|
16
|
+
min-height: 100vh;
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
img,
|
|
21
|
+
picture,
|
|
22
|
+
video,
|
|
23
|
+
canvas,
|
|
24
|
+
svg {
|
|
25
|
+
display: block;
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
button,
|
|
30
|
+
input,
|
|
31
|
+
textarea,
|
|
32
|
+
select {
|
|
33
|
+
font: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
button {
|
|
37
|
+
color: inherit;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
a {
|
|
41
|
+
color: inherit;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
table {
|
|
45
|
+
border-collapse: collapse;
|
|
46
|
+
border-spacing: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[hidden] {
|
|
50
|
+
display: none !important;
|
|
51
51
|
}
|
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
[data-nt-theme='dark'] {
|
|
3
|
-
color-scheme: dark;
|
|
4
|
-
|
|
5
|
-
/* App backgrounds */
|
|
6
|
-
--nt-bg-app: var(--nt-color-gray-950);
|
|
7
|
-
--nt-bg-shell: var(--nt-color-gray-925);
|
|
8
|
-
--nt-bg-sidebar: #050a16;
|
|
9
|
-
--nt-bg-header: rgba(5, 10, 22, 0.86);
|
|
10
|
-
|
|
11
|
-
/* Surfaces */
|
|
12
|
-
--nt-bg-surface: #0b1120;
|
|
13
|
-
--nt-bg-surface-muted: #111827;
|
|
14
|
-
--nt-bg-surface-raised: #111a2e;
|
|
15
|
-
--nt-bg-surface-hover: #172033;
|
|
16
|
-
--nt-bg-surface-active: #1e293b;
|
|
17
|
-
--nt-bg-overlay: rgba(2, 6, 23, 0.72);
|
|
18
|
-
--nt-bg-inverse: var(--nt-color-gray-50);
|
|
19
|
-
|
|
20
|
-
/* Borders */
|
|
21
|
-
--nt-border-subtle: rgba(148, 163, 184, 0.14);
|
|
22
|
-
--nt-border-muted: rgba(148, 163, 184, 0.18);
|
|
23
|
-
--nt-border-strong: rgba(148, 163, 184, 0.28);
|
|
24
|
-
--nt-border-interactive: rgba(249, 115, 22, 0.48);
|
|
25
|
-
|
|
26
|
-
/* Text */
|
|
27
|
-
--nt-text-primary: #f8fafc;
|
|
28
|
-
--nt-text-secondary: #cbd5e1;
|
|
29
|
-
--nt-text-muted: #94a3b8;
|
|
30
|
-
--nt-text-subtle: #64748b;
|
|
31
|
-
--nt-text-disabled: rgba(148, 163, 184, 0.5);
|
|
32
|
-
--nt-text-inverse: #020617;
|
|
33
|
-
|
|
34
|
-
/* Icons */
|
|
35
|
-
--nt-icon-primary: #e2e8f0;
|
|
36
|
-
--nt-icon-secondary: #94a3b8;
|
|
37
|
-
--nt-icon-muted: #64748b;
|
|
38
|
-
--nt-icon-disabled: rgba(148, 163, 184, 0.45);
|
|
39
|
-
|
|
40
|
-
/* Accent */
|
|
41
|
-
--nt-accent: var(--nt-color-orange-500);
|
|
42
|
-
--nt-accent-hover: var(--nt-color-orange-400);
|
|
43
|
-
--nt-accent-active: var(--nt-color-orange-600);
|
|
44
|
-
--nt-accent-muted: rgba(249, 115, 22, 0.14);
|
|
45
|
-
--nt-accent-subtle: rgba(249, 115, 22, 0.08);
|
|
46
|
-
--nt-accent-text: #fff7ed;
|
|
47
|
-
--nt-accent-contrast: #111827;
|
|
48
|
-
|
|
49
|
-
/* Focus */
|
|
50
|
-
--nt-focus-ring: rgba(249, 115, 22, 0.72);
|
|
51
|
-
--nt-focus-ring-muted: rgba(249, 115, 22, 0.28);
|
|
52
|
-
|
|
53
|
-
/* Selection */
|
|
54
|
-
--nt-selection-bg: rgba(249, 115, 22, 0.32);
|
|
55
|
-
--nt-selection-text: #fff7ed;
|
|
56
|
-
|
|
57
|
-
/* Scrollbar */
|
|
58
|
-
--nt-scrollbar-size: 0.75rem;
|
|
59
|
-
--nt-scrollbar-track: transparent;
|
|
60
|
-
--nt-scrollbar-thumb: rgba(148, 163, 184, 0.28);
|
|
61
|
-
--nt-scrollbar-thumb-hover: rgba(148, 163, 184, 0.42);
|
|
62
|
-
|
|
63
|
-
/* Semantic states */
|
|
64
|
-
--nt-success: var(--nt-color-green-400);
|
|
65
|
-
--nt-success-bg: rgba(34, 197, 94, 0.12);
|
|
66
|
-
--nt-success-border: rgba(34, 197, 94, 0.28);
|
|
67
|
-
--nt-success-text: #bbf7d0;
|
|
68
|
-
|
|
69
|
-
--nt-warning: var(--nt-color-yellow-400);
|
|
70
|
-
--nt-warning-bg: rgba(234, 179, 8, 0.12);
|
|
71
|
-
--nt-warning-border: rgba(234, 179, 8, 0.28);
|
|
72
|
-
--nt-warning-text: #fef08a;
|
|
73
|
-
|
|
74
|
-
--nt-danger: var(--nt-color-red-400);
|
|
75
|
-
--nt-danger-bg: rgba(239, 68, 68, 0.12);
|
|
76
|
-
--nt-danger-border: rgba(239, 68, 68, 0.28);
|
|
77
|
-
--nt-danger-text: #fecaca;
|
|
78
|
-
|
|
79
|
-
--nt-info: var(--nt-color-blue-400);
|
|
80
|
-
--nt-info-bg: rgba(59, 130, 246, 0.12);
|
|
81
|
-
--nt-info-border: rgba(59, 130, 246, 0.28);
|
|
82
|
-
--nt-info-text: #bfdbfe;
|
|
83
|
-
|
|
84
|
-
--nt-neutral: var(--nt-color-gray-400);
|
|
85
|
-
--nt-neutral-bg: rgba(148, 163, 184, 0.1);
|
|
86
|
-
--nt-neutral-border: rgba(148, 163, 184, 0.2);
|
|
87
|
-
--nt-neutral-text: #cbd5e1;
|
|
88
|
-
|
|
89
|
-
/* Disabled */
|
|
90
|
-
--nt-disabled-bg: rgba(148, 163, 184, 0.08);
|
|
91
|
-
--nt-disabled-border: rgba(148, 163, 184, 0.12);
|
|
92
|
-
--nt-disabled-text: rgba(148, 163, 184, 0.48);
|
|
93
|
-
|
|
94
|
-
/* Controls */
|
|
95
|
-
--nt-control-bg: rgba(15, 23, 42, 0.78);
|
|
96
|
-
--nt-control-bg-hover: rgba(30, 41, 59, 0.82);
|
|
97
|
-
--nt-control-bg-active: rgba(30, 41, 59, 1);
|
|
98
|
-
--nt-control-border: rgba(148, 163, 184, 0.2);
|
|
99
|
-
--nt-control-border-hover: rgba(148, 163, 184, 0.34);
|
|
100
|
-
--nt-control-border-focus: var(--nt-focus-ring);
|
|
101
|
-
|
|
102
|
-
/* AI */
|
|
103
|
-
--nt-ai-accent: var(--nt-color-purple-400);
|
|
104
|
-
--nt-ai-accent-hover: var(--nt-color-purple-300);
|
|
105
|
-
--nt-ai-bg: rgba(168, 85, 247, 0.1);
|
|
106
|
-
--nt-ai-bg-raised: rgba(88, 28, 135, 0.24);
|
|
107
|
-
--nt-ai-border: rgba(192, 132, 252, 0.28);
|
|
108
|
-
--nt-ai-glow: rgba(168, 85, 247, 0.22);
|
|
109
|
-
--nt-ai-user-bubble: rgba(249, 115, 22, 0.16);
|
|
110
|
-
--nt-ai-assistant-bubble: rgba(168, 85, 247, 0.12);
|
|
111
|
-
|
|
112
|
-
/* Status */
|
|
113
|
-
--nt-status-draft: var(--nt-neutral);
|
|
114
|
-
--nt-status-sent: var(--nt-info);
|
|
115
|
-
--nt-status-active: var(--nt-success);
|
|
116
|
-
--nt-status-paused: var(--nt-warning);
|
|
117
|
-
--nt-status-paid: var(--nt-success);
|
|
118
|
-
--nt-status-overdue: var(--nt-danger);
|
|
119
|
-
--nt-status-failed: var(--nt-danger);
|
|
1
|
+
:root,
|
|
2
|
+
[data-nt-theme='dark'] {
|
|
3
|
+
color-scheme: dark;
|
|
4
|
+
|
|
5
|
+
/* App backgrounds */
|
|
6
|
+
--nt-bg-app: var(--nt-color-gray-950);
|
|
7
|
+
--nt-bg-shell: var(--nt-color-gray-925);
|
|
8
|
+
--nt-bg-sidebar: #050a16;
|
|
9
|
+
--nt-bg-header: rgba(5, 10, 22, 0.86);
|
|
10
|
+
|
|
11
|
+
/* Surfaces */
|
|
12
|
+
--nt-bg-surface: #0b1120;
|
|
13
|
+
--nt-bg-surface-muted: #111827;
|
|
14
|
+
--nt-bg-surface-raised: #111a2e;
|
|
15
|
+
--nt-bg-surface-hover: #172033;
|
|
16
|
+
--nt-bg-surface-active: #1e293b;
|
|
17
|
+
--nt-bg-overlay: rgba(2, 6, 23, 0.72);
|
|
18
|
+
--nt-bg-inverse: var(--nt-color-gray-50);
|
|
19
|
+
|
|
20
|
+
/* Borders */
|
|
21
|
+
--nt-border-subtle: rgba(148, 163, 184, 0.14);
|
|
22
|
+
--nt-border-muted: rgba(148, 163, 184, 0.18);
|
|
23
|
+
--nt-border-strong: rgba(148, 163, 184, 0.28);
|
|
24
|
+
--nt-border-interactive: rgba(249, 115, 22, 0.48);
|
|
25
|
+
|
|
26
|
+
/* Text */
|
|
27
|
+
--nt-text-primary: #f8fafc;
|
|
28
|
+
--nt-text-secondary: #cbd5e1;
|
|
29
|
+
--nt-text-muted: #94a3b8;
|
|
30
|
+
--nt-text-subtle: #64748b;
|
|
31
|
+
--nt-text-disabled: rgba(148, 163, 184, 0.5);
|
|
32
|
+
--nt-text-inverse: #020617;
|
|
33
|
+
|
|
34
|
+
/* Icons */
|
|
35
|
+
--nt-icon-primary: #e2e8f0;
|
|
36
|
+
--nt-icon-secondary: #94a3b8;
|
|
37
|
+
--nt-icon-muted: #64748b;
|
|
38
|
+
--nt-icon-disabled: rgba(148, 163, 184, 0.45);
|
|
39
|
+
|
|
40
|
+
/* Accent */
|
|
41
|
+
--nt-accent: var(--nt-color-orange-500);
|
|
42
|
+
--nt-accent-hover: var(--nt-color-orange-400);
|
|
43
|
+
--nt-accent-active: var(--nt-color-orange-600);
|
|
44
|
+
--nt-accent-muted: rgba(249, 115, 22, 0.14);
|
|
45
|
+
--nt-accent-subtle: rgba(249, 115, 22, 0.08);
|
|
46
|
+
--nt-accent-text: #fff7ed;
|
|
47
|
+
--nt-accent-contrast: #111827;
|
|
48
|
+
|
|
49
|
+
/* Focus */
|
|
50
|
+
--nt-focus-ring: rgba(249, 115, 22, 0.72);
|
|
51
|
+
--nt-focus-ring-muted: rgba(249, 115, 22, 0.28);
|
|
52
|
+
|
|
53
|
+
/* Selection */
|
|
54
|
+
--nt-selection-bg: rgba(249, 115, 22, 0.32);
|
|
55
|
+
--nt-selection-text: #fff7ed;
|
|
56
|
+
|
|
57
|
+
/* Scrollbar */
|
|
58
|
+
--nt-scrollbar-size: 0.75rem;
|
|
59
|
+
--nt-scrollbar-track: transparent;
|
|
60
|
+
--nt-scrollbar-thumb: rgba(148, 163, 184, 0.28);
|
|
61
|
+
--nt-scrollbar-thumb-hover: rgba(148, 163, 184, 0.42);
|
|
62
|
+
|
|
63
|
+
/* Semantic states */
|
|
64
|
+
--nt-success: var(--nt-color-green-400);
|
|
65
|
+
--nt-success-bg: rgba(34, 197, 94, 0.12);
|
|
66
|
+
--nt-success-border: rgba(34, 197, 94, 0.28);
|
|
67
|
+
--nt-success-text: #bbf7d0;
|
|
68
|
+
|
|
69
|
+
--nt-warning: var(--nt-color-yellow-400);
|
|
70
|
+
--nt-warning-bg: rgba(234, 179, 8, 0.12);
|
|
71
|
+
--nt-warning-border: rgba(234, 179, 8, 0.28);
|
|
72
|
+
--nt-warning-text: #fef08a;
|
|
73
|
+
|
|
74
|
+
--nt-danger: var(--nt-color-red-400);
|
|
75
|
+
--nt-danger-bg: rgba(239, 68, 68, 0.12);
|
|
76
|
+
--nt-danger-border: rgba(239, 68, 68, 0.28);
|
|
77
|
+
--nt-danger-text: #fecaca;
|
|
78
|
+
|
|
79
|
+
--nt-info: var(--nt-color-blue-400);
|
|
80
|
+
--nt-info-bg: rgba(59, 130, 246, 0.12);
|
|
81
|
+
--nt-info-border: rgba(59, 130, 246, 0.28);
|
|
82
|
+
--nt-info-text: #bfdbfe;
|
|
83
|
+
|
|
84
|
+
--nt-neutral: var(--nt-color-gray-400);
|
|
85
|
+
--nt-neutral-bg: rgba(148, 163, 184, 0.1);
|
|
86
|
+
--nt-neutral-border: rgba(148, 163, 184, 0.2);
|
|
87
|
+
--nt-neutral-text: #cbd5e1;
|
|
88
|
+
|
|
89
|
+
/* Disabled */
|
|
90
|
+
--nt-disabled-bg: rgba(148, 163, 184, 0.08);
|
|
91
|
+
--nt-disabled-border: rgba(148, 163, 184, 0.12);
|
|
92
|
+
--nt-disabled-text: rgba(148, 163, 184, 0.48);
|
|
93
|
+
|
|
94
|
+
/* Controls */
|
|
95
|
+
--nt-control-bg: rgba(15, 23, 42, 0.78);
|
|
96
|
+
--nt-control-bg-hover: rgba(30, 41, 59, 0.82);
|
|
97
|
+
--nt-control-bg-active: rgba(30, 41, 59, 1);
|
|
98
|
+
--nt-control-border: rgba(148, 163, 184, 0.2);
|
|
99
|
+
--nt-control-border-hover: rgba(148, 163, 184, 0.34);
|
|
100
|
+
--nt-control-border-focus: var(--nt-focus-ring);
|
|
101
|
+
|
|
102
|
+
/* AI */
|
|
103
|
+
--nt-ai-accent: var(--nt-color-purple-400);
|
|
104
|
+
--nt-ai-accent-hover: var(--nt-color-purple-300);
|
|
105
|
+
--nt-ai-bg: rgba(168, 85, 247, 0.1);
|
|
106
|
+
--nt-ai-bg-raised: rgba(88, 28, 135, 0.24);
|
|
107
|
+
--nt-ai-border: rgba(192, 132, 252, 0.28);
|
|
108
|
+
--nt-ai-glow: rgba(168, 85, 247, 0.22);
|
|
109
|
+
--nt-ai-user-bubble: rgba(249, 115, 22, 0.16);
|
|
110
|
+
--nt-ai-assistant-bubble: rgba(168, 85, 247, 0.12);
|
|
111
|
+
|
|
112
|
+
/* Status */
|
|
113
|
+
--nt-status-draft: var(--nt-neutral);
|
|
114
|
+
--nt-status-sent: var(--nt-info);
|
|
115
|
+
--nt-status-active: var(--nt-success);
|
|
116
|
+
--nt-status-paused: var(--nt-warning);
|
|
117
|
+
--nt-status-paid: var(--nt-success);
|
|
118
|
+
--nt-status-overdue: var(--nt-danger);
|
|
119
|
+
--nt-status-failed: var(--nt-danger);
|
|
120
120
|
}
|