@recanica/tokens 0.0.0-stage → 0.1.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/LICENSE +9 -0
- package/README.md +21 -2
- package/generated/android/RecanicaTokens.kt +149 -0
- package/generated/css/tailwind-theme.css +47 -0
- package/generated/css/variables.css +151 -0
- package/generated/figma/tokens-studio.json +779 -0
- package/generated/flutter/recanica_tokens.dart +243 -0
- package/generated/ios/RecanicaTokens.swift +96 -0
- package/generated/js/tokens.cjs +225 -0
- package/generated/js/tokens.d.ts +223 -0
- package/generated/js/tokens.mjs +223 -0
- package/generated/json/tokens.json +221 -0
- package/generated/tailwind/preset.cjs +57 -0
- package/package.json +53 -3
- package/scripts/build.mjs +344 -0
- package/theme.css +126 -0
- package/tokens/color.primitive.json +240 -0
- package/tokens/color.semantic.json +332 -0
- package/tokens/dimension.json +199 -0
- package/tokens/effects.json +71 -0
- package/tokens/typography.json +142 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Aturanica Labs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @recanica/tokens
|
|
2
|
+
|
|
3
|
+
Recanica's design tokens. One source (`tokens/*.json`, W3C Design Tokens format) → every platform.
|
|
4
|
+
|
|
5
|
+
| Output | Import |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Tailwind v4 (full theme) | `@import "@recanica/tokens/theme.css";` |
|
|
8
|
+
| Plain CSS variables | `@import "@recanica/tokens/variables.css";` |
|
|
9
|
+
| Tailwind v3 preset | `presets: [require("@recanica/tokens/tailwind-preset")]` + variables.css |
|
|
10
|
+
| JS / TS | `import { tokens } from "@recanica/tokens"` |
|
|
11
|
+
| JSON (resolved hex) | `@recanica/tokens/tokens.json` |
|
|
12
|
+
| Flutter | `generated/flutter/recanica_tokens.dart` → `recanicaTheme(Brightness.dark)` |
|
|
13
|
+
| SwiftUI | `generated/ios/RecanicaTokens.swift` → `Recanica.Colors.background` |
|
|
14
|
+
| Jetpack Compose | `generated/android/RecanicaTokens.kt` → `recanicaColorScheme(dark)` |
|
|
15
|
+
| Figma | `generated/figma/tokens-studio.json` (import with the Tokens Studio plugin) |
|
|
16
|
+
|
|
17
|
+
## Editing tokens
|
|
18
|
+
|
|
19
|
+
1. Edit `tokens/*.json`. Semantic colors put light in `$value` and dark in `$extensions["com.recanica"].dark`.
|
|
20
|
+
2. `pnpm --filter @recanica/tokens build`
|
|
21
|
+
3. Commit `tokens/` and `generated/` together. CI runs `check` and fails if they drift.
|
|
2
22
|
|
|
3
|
-
This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// GENERATED by @recanica/tokens (scripts/build.mjs) from tokens/*.json. Do not edit.
|
|
2
|
+
// Jetpack Compose. Usage: MaterialTheme(colorScheme = recanicaColorScheme(isSystemInDarkTheme())) { … }
|
|
3
|
+
package com.aturanica.recanica
|
|
4
|
+
|
|
5
|
+
import androidx.compose.material3.ColorScheme
|
|
6
|
+
import androidx.compose.material3.darkColorScheme
|
|
7
|
+
import androidx.compose.material3.lightColorScheme
|
|
8
|
+
import androidx.compose.ui.graphics.Color
|
|
9
|
+
import androidx.compose.ui.unit.dp
|
|
10
|
+
import androidx.compose.ui.unit.sp
|
|
11
|
+
|
|
12
|
+
object RecanicaColors {
|
|
13
|
+
object Light {
|
|
14
|
+
val Background = Color(0xFFFFFFFF)
|
|
15
|
+
val Foreground = Color(0xFF0D0D0D)
|
|
16
|
+
val Surface = Color(0xFFFAFAFA)
|
|
17
|
+
val Panel = Color(0xFFFFFFFF)
|
|
18
|
+
val Card = Color(0xFFFFFFFF)
|
|
19
|
+
val CardForeground = Color(0xFF0D0D0D)
|
|
20
|
+
val Popover = Color(0xFFFFFFFF)
|
|
21
|
+
val PopoverForeground = Color(0xFF0D0D0D)
|
|
22
|
+
val Primary = Color(0xFF0D0D0D)
|
|
23
|
+
val PrimaryForeground = Color(0xFFFAFAFA)
|
|
24
|
+
val Secondary = Color(0xFFF4F4F4)
|
|
25
|
+
val SecondaryForeground = Color(0xFF161616)
|
|
26
|
+
val Muted = Color(0xFFF4F4F4)
|
|
27
|
+
val MutedForeground = Color(0xFF737373)
|
|
28
|
+
val Accent = Color(0xFFF4F4F4)
|
|
29
|
+
val AccentForeground = Color(0xFF161616)
|
|
30
|
+
val Brand = Color(0xFF161616)
|
|
31
|
+
val BrandForeground = Color(0xFFFFFFFF)
|
|
32
|
+
val Destructive = Color(0xFFDB4241)
|
|
33
|
+
val DestructiveForeground = Color(0xFFFFFFFF)
|
|
34
|
+
val Success = Color(0xFF46A16B)
|
|
35
|
+
val Warning = Color(0xFFDDA552)
|
|
36
|
+
val Border = Color(0xFFE5E5E5)
|
|
37
|
+
val Input = Color(0xFFE5E5E5)
|
|
38
|
+
val Ring = Color(0xFF737373)
|
|
39
|
+
val Sidebar = Color(0xFFF4F4F4)
|
|
40
|
+
val SidebarForeground = Color(0xFF737373)
|
|
41
|
+
val SidebarAccent = Color(0xFFE5E5E5)
|
|
42
|
+
val SidebarBorder = Color(0xFFE5E5E5)
|
|
43
|
+
val SidebarPrimary = Color(0xFF0D0D0D)
|
|
44
|
+
val SidebarPrimaryForeground = Color(0xFFFFFFFF)
|
|
45
|
+
val SidebarAccentForeground = Color(0xFF0D0D0D)
|
|
46
|
+
val SidebarRing = Color(0xFF737373)
|
|
47
|
+
val Chart1 = Color(0xFF0D0D0D)
|
|
48
|
+
val Chart2 = Color(0xFF404040)
|
|
49
|
+
val Chart3 = Color(0xFF737373)
|
|
50
|
+
val Chart4 = Color(0xFFA1A1A1)
|
|
51
|
+
val Chart5 = Color(0xFFD4D4D4)
|
|
52
|
+
}
|
|
53
|
+
object Dark {
|
|
54
|
+
val Background = Color(0xFF020202)
|
|
55
|
+
val Foreground = Color(0xFFFAFAFA)
|
|
56
|
+
val Surface = Color(0xFF0D0D0D)
|
|
57
|
+
val Panel = Color(0xFF0D0D0D)
|
|
58
|
+
val Card = Color(0xFF0D0D0D)
|
|
59
|
+
val CardForeground = Color(0xFFFAFAFA)
|
|
60
|
+
val Popover = Color(0xFF161616)
|
|
61
|
+
val PopoverForeground = Color(0xFFFAFAFA)
|
|
62
|
+
val Primary = Color(0xFFFAFAFA)
|
|
63
|
+
val PrimaryForeground = Color(0xFF0D0D0D)
|
|
64
|
+
val Secondary = Color(0xFF161616)
|
|
65
|
+
val SecondaryForeground = Color(0xFFF4F4F4)
|
|
66
|
+
val Muted = Color(0xFF161616)
|
|
67
|
+
val MutedForeground = Color(0xFF8C8C8C)
|
|
68
|
+
val Accent = Color(0xFF161616)
|
|
69
|
+
val AccentForeground = Color(0xFFFAFAFA)
|
|
70
|
+
val Brand = Color(0xFFCFD1D4)
|
|
71
|
+
val BrandForeground = Color(0xFF0D0D0D)
|
|
72
|
+
val Destructive = Color(0xFFEA6A6A)
|
|
73
|
+
val DestructiveForeground = Color(0xFFFFFFFF)
|
|
74
|
+
val Success = Color(0xFF46A16B)
|
|
75
|
+
val Warning = Color(0xFFDDA552)
|
|
76
|
+
val Border = Color(0xFF1E1E1E)
|
|
77
|
+
val Input = Color(0xFF262626)
|
|
78
|
+
val Ring = Color(0xFFAFB1B4)
|
|
79
|
+
val Sidebar = Color(0xFF020202)
|
|
80
|
+
val SidebarForeground = Color(0xFF8C8C8C)
|
|
81
|
+
val SidebarAccent = Color(0xFF161616)
|
|
82
|
+
val SidebarBorder = Color(0xFF1E1E1E)
|
|
83
|
+
val SidebarPrimary = Color(0xFFFAFAFA)
|
|
84
|
+
val SidebarPrimaryForeground = Color(0xFF0D0D0D)
|
|
85
|
+
val SidebarAccentForeground = Color(0xFFFAFAFA)
|
|
86
|
+
val SidebarRing = Color(0xFFAFB1B4)
|
|
87
|
+
val Chart1 = Color(0xFFFAFAFA)
|
|
88
|
+
val Chart2 = Color(0xFFCFD1D4)
|
|
89
|
+
val Chart3 = Color(0xFF8A8C90)
|
|
90
|
+
val Chart4 = Color(0xFF525252)
|
|
91
|
+
val Chart5 = Color(0xFF404040)
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
object RecanicaRadius {
|
|
96
|
+
val Base = 12.dp
|
|
97
|
+
val Sm = 8.dp
|
|
98
|
+
val Md = 10.dp
|
|
99
|
+
val Lg = 12.dp
|
|
100
|
+
val Xl = 16.dp
|
|
101
|
+
val Xxl = 20.dp
|
|
102
|
+
val Full = 9999.dp
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
object RecanicaSpacing {
|
|
106
|
+
val Unit = 4.dp
|
|
107
|
+
val Gutter = 16.dp
|
|
108
|
+
val Section = 64.dp
|
|
109
|
+
val SectionSm = 48.dp
|
|
110
|
+
val Panel = 28.dp
|
|
111
|
+
val Stack = 40.dp
|
|
112
|
+
val Sidebar = 240.dp
|
|
113
|
+
val Flow = 20.dp
|
|
114
|
+
val Group = 12.dp
|
|
115
|
+
val InsetSm = 16.dp
|
|
116
|
+
val Inset = 20.dp
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
object RecanicaTextSize {
|
|
120
|
+
val Xs = 12.sp
|
|
121
|
+
val Sm = 14.sp
|
|
122
|
+
val Base = 16.sp
|
|
123
|
+
val Heading = 24.sp
|
|
124
|
+
val Title = 30.sp
|
|
125
|
+
val Metric = 40.sp
|
|
126
|
+
val DisplaySm = 36.sp
|
|
127
|
+
val DisplayMd = 48.sp
|
|
128
|
+
val DisplayLg = 64.sp
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
fun recanicaColorScheme(dark: Boolean): ColorScheme = if (dark) {
|
|
132
|
+
darkColorScheme(
|
|
133
|
+
primary = RecanicaColors.Dark.Primary, onPrimary = RecanicaColors.Dark.PrimaryForeground,
|
|
134
|
+
secondary = RecanicaColors.Dark.Secondary, onSecondary = RecanicaColors.Dark.SecondaryForeground,
|
|
135
|
+
background = RecanicaColors.Dark.Background, onBackground = RecanicaColors.Dark.Foreground,
|
|
136
|
+
surface = RecanicaColors.Dark.Card, onSurface = RecanicaColors.Dark.Foreground,
|
|
137
|
+
error = RecanicaColors.Dark.Destructive, onError = RecanicaColors.Dark.DestructiveForeground,
|
|
138
|
+
outline = RecanicaColors.Dark.Border,
|
|
139
|
+
)
|
|
140
|
+
} else {
|
|
141
|
+
lightColorScheme(
|
|
142
|
+
primary = RecanicaColors.Light.Primary, onPrimary = RecanicaColors.Light.PrimaryForeground,
|
|
143
|
+
secondary = RecanicaColors.Light.Secondary, onSecondary = RecanicaColors.Light.SecondaryForeground,
|
|
144
|
+
background = RecanicaColors.Light.Background, onBackground = RecanicaColors.Light.Foreground,
|
|
145
|
+
surface = RecanicaColors.Light.Card, onSurface = RecanicaColors.Light.Foreground,
|
|
146
|
+
error = RecanicaColors.Light.Destructive, onError = RecanicaColors.Light.DestructiveForeground,
|
|
147
|
+
outline = RecanicaColors.Light.Border,
|
|
148
|
+
)
|
|
149
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* GENERATED by @recanica/tokens (scripts/build.mjs) from tokens/*.json. Do not edit.
|
|
2
|
+
* Tailwind v4 scale (imported by theme.css). */
|
|
3
|
+
@theme inline {
|
|
4
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
5
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
6
|
+
--radius-lg: var(--radius);
|
|
7
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
8
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
9
|
+
|
|
10
|
+
--font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
|
|
11
|
+
--font-mono: var(--font-geist-mono), ui-monospace, monospace;
|
|
12
|
+
|
|
13
|
+
--spacing-gutter: clamp(1rem, 3vw, 2.5rem);
|
|
14
|
+
--spacing-section: clamp(4rem, 10vw, 8rem);
|
|
15
|
+
--spacing-section-sm: clamp(3rem, 6vw, 5rem);
|
|
16
|
+
--spacing-panel: 1.75rem;
|
|
17
|
+
--spacing-stack: 2.5rem;
|
|
18
|
+
--spacing-sidebar: 15rem;
|
|
19
|
+
--spacing-flow: 1.25rem;
|
|
20
|
+
--spacing-group: 0.75rem;
|
|
21
|
+
--spacing-inset-sm: 1rem;
|
|
22
|
+
--spacing-inset: 1.25rem;
|
|
23
|
+
--container-content: 72rem;
|
|
24
|
+
--container-narrow: 48rem;
|
|
25
|
+
--container-copy: 40rem;
|
|
26
|
+
|
|
27
|
+
--text-heading: clamp(1.25rem, 1.1464rem + 0.442vw, 1.5rem);
|
|
28
|
+
--text-heading--line-height: 1.25;
|
|
29
|
+
--text-heading--letter-spacing: -0.015em;
|
|
30
|
+
--text-title: clamp(1.625rem, 1.5214rem + 0.442vw, 1.875rem);
|
|
31
|
+
--text-title--line-height: 1.2;
|
|
32
|
+
--text-title--letter-spacing: -0.02em;
|
|
33
|
+
--text-metric: 2.5rem;
|
|
34
|
+
--text-metric--line-height: 1;
|
|
35
|
+
--text-metric--letter-spacing: -0.03em;
|
|
36
|
+
--text-display-sm: clamp(1.75rem, 1.5428rem + 0.884vw, 2.25rem);
|
|
37
|
+
--text-display-sm--line-height: 1.1;
|
|
38
|
+
--text-display-md: clamp(2.125rem, 1.7624rem + 1.547vw, 3rem);
|
|
39
|
+
--text-display-md--line-height: 1.05;
|
|
40
|
+
--text-display-lg: clamp(2.5rem, 1.8785rem + 2.6519vw, 4rem);
|
|
41
|
+
--text-display-lg--line-height: 1;
|
|
42
|
+
--text-display-lg--letter-spacing: -0.035em;
|
|
43
|
+
|
|
44
|
+
--shadow-soft: 0 1px 2px 0 #0000000a, 0 4px 16px -4px #00000014;
|
|
45
|
+
--shadow-float: 0 2px 4px 0 #0000000a, 0 16px 40px -8px #00000029;
|
|
46
|
+
--ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
|
|
47
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/* GENERATED by @recanica/tokens (scripts/build.mjs) from tokens/*.json. Do not edit.
|
|
2
|
+
* Plain CSS variables: works with or without Tailwind.
|
|
3
|
+
* Semantic colors switch with the .dark class on an ancestor (usually <html>). */
|
|
4
|
+
:root {
|
|
5
|
+
--rc-gray-0: oklch(1 0 0);
|
|
6
|
+
--rc-gray-50: oklch(0.985 0 0);
|
|
7
|
+
--rc-gray-100: oklch(0.967 0 0);
|
|
8
|
+
--rc-gray-200: oklch(0.922 0 0);
|
|
9
|
+
--rc-gray-300: oklch(0.87 0 0);
|
|
10
|
+
--rc-gray-400: oklch(0.708 0 0);
|
|
11
|
+
--rc-gray-450: oklch(0.64 0 0);
|
|
12
|
+
--rc-gray-500: oklch(0.556 0 0);
|
|
13
|
+
--rc-gray-600: oklch(0.439 0 0);
|
|
14
|
+
--rc-gray-700: oklch(0.371 0 0);
|
|
15
|
+
--rc-gray-800: oklch(0.269 0 0);
|
|
16
|
+
--rc-gray-850: oklch(0.235 0 0);
|
|
17
|
+
--rc-gray-900: oklch(0.2 0 0);
|
|
18
|
+
--rc-gray-950: oklch(0.16 0 0);
|
|
19
|
+
--rc-gray-1000: oklch(0.09 0 0);
|
|
20
|
+
--rc-silver-50: oklch(0.975 0.002 260);
|
|
21
|
+
--rc-silver-100: oklch(0.93 0.003 260);
|
|
22
|
+
--rc-silver-200: oklch(0.86 0.004 260);
|
|
23
|
+
--rc-silver-300: oklch(0.76 0.005 260);
|
|
24
|
+
--rc-silver-400: oklch(0.64 0.006 260);
|
|
25
|
+
--rc-silver-500: oklch(0.52 0.006 260);
|
|
26
|
+
--rc-red-400: oklch(0.68 0.16 22);
|
|
27
|
+
--rc-red-500: oklch(0.6 0.19 25);
|
|
28
|
+
--rc-green-500: oklch(0.64 0.12 155);
|
|
29
|
+
--rc-amber-500: oklch(0.76 0.12 75);
|
|
30
|
+
|
|
31
|
+
--radius: 0.75rem;
|
|
32
|
+
--rc-radius-sm: calc(var(--radius) - 4px);
|
|
33
|
+
--rc-radius-md: calc(var(--radius) - 2px);
|
|
34
|
+
--rc-radius-lg: var(--radius);
|
|
35
|
+
--rc-radius-xl: calc(var(--radius) + 4px);
|
|
36
|
+
--rc-radius-2xl: calc(var(--radius) + 8px);
|
|
37
|
+
--rc-radius-full: 9999px;
|
|
38
|
+
--rc-space-unit: 4px;
|
|
39
|
+
--rc-space-gutter: clamp(1rem, 3vw, 2.5rem);
|
|
40
|
+
--rc-space-section: clamp(4rem, 10vw, 8rem);
|
|
41
|
+
--rc-space-section-sm: clamp(3rem, 6vw, 5rem);
|
|
42
|
+
--rc-space-panel: 1.75rem;
|
|
43
|
+
--rc-space-stack: 2.5rem;
|
|
44
|
+
--rc-space-sidebar: 15rem;
|
|
45
|
+
--rc-space-flow: 1.25rem;
|
|
46
|
+
--rc-space-group: 0.75rem;
|
|
47
|
+
--rc-space-inset-sm: 1rem;
|
|
48
|
+
--rc-space-inset: 1.25rem;
|
|
49
|
+
--rc-container-content: 72rem;
|
|
50
|
+
--rc-container-narrow: 48rem;
|
|
51
|
+
--rc-container-copy: 40rem;
|
|
52
|
+
--rc-font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
|
|
53
|
+
--rc-font-mono: var(--font-geist-mono), ui-monospace, monospace;
|
|
54
|
+
--rc-text-xs: 0.75rem;
|
|
55
|
+
--rc-text-sm: 0.875rem;
|
|
56
|
+
--rc-text-base: 1rem;
|
|
57
|
+
--rc-text-heading: clamp(1.25rem, 1.1464rem + 0.442vw, 1.5rem);
|
|
58
|
+
--rc-text-title: clamp(1.625rem, 1.5214rem + 0.442vw, 1.875rem);
|
|
59
|
+
--rc-text-metric: 2.5rem;
|
|
60
|
+
--rc-text-display-sm: clamp(1.75rem, 1.5428rem + 0.884vw, 2.25rem);
|
|
61
|
+
--rc-text-display-md: clamp(2.125rem, 1.7624rem + 1.547vw, 3rem);
|
|
62
|
+
--rc-text-display-lg: clamp(2.5rem, 1.8785rem + 2.6519vw, 4rem);
|
|
63
|
+
--rc-duration-fast: 150ms;
|
|
64
|
+
--rc-duration-base: 200ms;
|
|
65
|
+
--rc-duration-slow: 300ms;
|
|
66
|
+
--rc-duration-slower: 700ms;
|
|
67
|
+
--rc-ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
|
|
68
|
+
--rc-shadow-soft: 0 1px 2px 0 #0000000a, 0 4px 16px -4px #00000014;
|
|
69
|
+
--rc-shadow-float: 0 2px 4px 0 #0000000a, 0 16px 40px -8px #00000029;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Semantic: light */
|
|
73
|
+
:root {
|
|
74
|
+
--background: var(--rc-gray-0);
|
|
75
|
+
--foreground: var(--rc-gray-950);
|
|
76
|
+
--surface: var(--rc-gray-50);
|
|
77
|
+
--panel: var(--rc-gray-0);
|
|
78
|
+
--card: var(--rc-gray-0);
|
|
79
|
+
--card-foreground: var(--rc-gray-950);
|
|
80
|
+
--popover: var(--rc-gray-0);
|
|
81
|
+
--popover-foreground: var(--rc-gray-950);
|
|
82
|
+
--primary: var(--rc-gray-950);
|
|
83
|
+
--primary-foreground: var(--rc-gray-50);
|
|
84
|
+
--secondary: var(--rc-gray-100);
|
|
85
|
+
--secondary-foreground: var(--rc-gray-900);
|
|
86
|
+
--muted: var(--rc-gray-100);
|
|
87
|
+
--muted-foreground: var(--rc-gray-500);
|
|
88
|
+
--accent: var(--rc-gray-100);
|
|
89
|
+
--accent-foreground: var(--rc-gray-900);
|
|
90
|
+
--brand: var(--rc-gray-900);
|
|
91
|
+
--brand-foreground: var(--rc-gray-0);
|
|
92
|
+
--destructive: var(--rc-red-500);
|
|
93
|
+
--destructive-foreground: var(--rc-gray-0);
|
|
94
|
+
--success: var(--rc-green-500);
|
|
95
|
+
--warning: var(--rc-amber-500);
|
|
96
|
+
--border: var(--rc-gray-200);
|
|
97
|
+
--input: var(--rc-gray-200);
|
|
98
|
+
--ring: var(--rc-gray-500);
|
|
99
|
+
--sidebar: var(--rc-gray-100);
|
|
100
|
+
--sidebar-foreground: var(--rc-gray-500);
|
|
101
|
+
--sidebar-accent: var(--rc-gray-200);
|
|
102
|
+
--sidebar-border: var(--rc-gray-200);
|
|
103
|
+
--sidebar-primary: var(--rc-gray-950);
|
|
104
|
+
--sidebar-primary-foreground: var(--rc-gray-0);
|
|
105
|
+
--sidebar-accent-foreground: var(--rc-gray-950);
|
|
106
|
+
--sidebar-ring: var(--rc-gray-500);
|
|
107
|
+
--chart-1: var(--rc-gray-950);
|
|
108
|
+
--chart-2: var(--rc-gray-700);
|
|
109
|
+
--chart-3: var(--rc-gray-500);
|
|
110
|
+
--chart-4: var(--rc-gray-400);
|
|
111
|
+
--chart-5: var(--rc-gray-300);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Semantic: dark */
|
|
115
|
+
.dark {
|
|
116
|
+
--background: var(--rc-gray-1000);
|
|
117
|
+
--foreground: var(--rc-gray-50);
|
|
118
|
+
--surface: var(--rc-gray-950);
|
|
119
|
+
--panel: var(--rc-gray-950);
|
|
120
|
+
--card: var(--rc-gray-950);
|
|
121
|
+
--card-foreground: var(--rc-gray-50);
|
|
122
|
+
--popover: var(--rc-gray-900);
|
|
123
|
+
--popover-foreground: var(--rc-gray-50);
|
|
124
|
+
--primary: var(--rc-gray-50);
|
|
125
|
+
--primary-foreground: var(--rc-gray-950);
|
|
126
|
+
--secondary: var(--rc-gray-900);
|
|
127
|
+
--secondary-foreground: var(--rc-gray-100);
|
|
128
|
+
--muted: var(--rc-gray-900);
|
|
129
|
+
--muted-foreground: var(--rc-gray-450);
|
|
130
|
+
--accent: var(--rc-gray-900);
|
|
131
|
+
--accent-foreground: var(--rc-gray-50);
|
|
132
|
+
--brand: var(--rc-silver-200);
|
|
133
|
+
--brand-foreground: var(--rc-gray-950);
|
|
134
|
+
--destructive: var(--rc-red-400);
|
|
135
|
+
--border: var(--rc-gray-850);
|
|
136
|
+
--input: var(--rc-gray-800);
|
|
137
|
+
--ring: var(--rc-silver-300);
|
|
138
|
+
--sidebar: var(--rc-gray-1000);
|
|
139
|
+
--sidebar-foreground: var(--rc-gray-450);
|
|
140
|
+
--sidebar-accent: var(--rc-gray-900);
|
|
141
|
+
--sidebar-border: var(--rc-gray-850);
|
|
142
|
+
--sidebar-primary: var(--rc-gray-50);
|
|
143
|
+
--sidebar-primary-foreground: var(--rc-gray-950);
|
|
144
|
+
--sidebar-accent-foreground: var(--rc-gray-50);
|
|
145
|
+
--sidebar-ring: var(--rc-silver-300);
|
|
146
|
+
--chart-1: var(--rc-gray-50);
|
|
147
|
+
--chart-2: var(--rc-silver-200);
|
|
148
|
+
--chart-3: var(--rc-silver-400);
|
|
149
|
+
--chart-4: var(--rc-gray-600);
|
|
150
|
+
--chart-5: var(--rc-gray-700);
|
|
151
|
+
}
|