@knitli/docs-components 1.0.1 → 1.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/package.json CHANGED
@@ -49,5 +49,5 @@
49
49
  },
50
50
  "type": "module",
51
51
  "types": "./dist/index.d.ts",
52
- "version": "1.0.1"
52
+ "version": "1.0.3"
53
53
  }
@@ -1,27 +1,6 @@
1
1
  ---
2
- // SPDX-FileCopyrightText: 2025 Knitli Inc.
3
- // SPDX-FileContributor: Adam Poulemanos <adam@knit.li>
4
- //
5
- // SPDX-License-Identifier: MIT OR Apache-2.0
6
- //
7
- // Main branded header for Knitli documentation sites
8
- // Provides navigation, branding, and breadcrumb support
9
-
10
- interface Props {
11
- currentProduct?: 'ReCoco' | 'CodeWeaver' | 'Thread';
12
- currentPath?: string;
13
- productUrl?: string;
14
- showBreadcrumb?: boolean;
15
- variant?: 'default' | 'minimal';
16
- }
17
-
18
- const {
19
- currentProduct,
20
- currentPath = '',
21
- productUrl = '',
22
- showBreadcrumb = true,
23
- variant = 'default',
24
- } = Astro.props;
2
+ // Custom header with actual Knitli logo
3
+ const { pathname } = Astro.url;
25
4
 
26
5
  // Environment-aware URL configuration
27
6
  const isDev = import.meta.env.DEV;
@@ -43,49 +22,29 @@ const getSiteUrls = () => {
43
22
  };
44
23
 
45
24
  const urls = getSiteUrls();
46
- const isDocsHome = currentPath === '/' || currentPath === '';
47
- const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
25
+ const isDocsHome = pathname === '/' || pathname === '';
26
+ const shouldShowBreadcrumb = !isDocsHome;
27
+
48
28
  ---
49
29
 
50
- <header class:list={['docs-header', { minimal: variant === 'minimal' }]}>
30
+ <header class="docs-header">
51
31
  <div class="docs-header-content">
52
32
  <!-- Knitli Logo + Docs Section -->
53
33
  <a href={urls.marketing} class="docs-logo" aria-label="Knitli home">
54
- <svg class="logo-icon" width="32" height="32" viewBox="0 0 100 100" fill="none" aria-hidden="true">
55
- <!-- Simplified Knitli knot icon -->
56
- <circle cx="50" cy="50" r="35" fill="var(--docs-copper)" opacity="0.15"/>
57
- <path
58
- d="M50 20 L50 50 L65 50"
59
- stroke="var(--docs-slate)"
60
- stroke-width="4"
61
- fill="none"
62
- stroke-linecap="round"
63
- stroke-linejoin="round"
64
- />
65
- <path
66
- d="M35 50 L50 50 L50 80"
67
- stroke="var(--docs-slate)"
68
- stroke-width="4"
69
- fill="none"
70
- stroke-linecap="round"
71
- stroke-linejoin="round"
72
- />
73
- <circle cx="50" cy="50" r="6" fill="var(--docs-copper)"/>
74
- </svg>
34
+ <img src={`${import.meta.env.BASE_URL}/knitli-logo.svg`} alt="Knitli" class="logo-icon" />
75
35
  <span class="logo-text">
76
- <span class="logo-brand">Knitli</span>
77
36
  <span class="logo-separator">/</span>
78
37
  <span class="logo-section">docs</span>
79
38
  </span>
80
39
  </a>
81
40
 
82
- <!-- Breadcrumb (if not on docs home and product specified) -->
41
+ <!-- Breadcrumb -->
83
42
  {shouldShowBreadcrumb && (
84
43
  <nav class="docs-breadcrumb" aria-label="Breadcrumb">
85
44
  <a href="/">Documentation</a>
86
45
  <span class="breadcrumb-separator" aria-hidden="true">→</span>
87
- <a href={productUrl || `/${currentProduct}`} class="breadcrumb-product">
88
- {currentProduct}
46
+ <a href="/ReCoco" class="breadcrumb-product">
47
+ ReCoco
89
48
  </a>
90
49
  </nav>
91
50
  )}
@@ -122,28 +81,13 @@ const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
122
81
  </header>
123
82
 
124
83
  <style>
125
- :root {
126
- --docs-copper: oklch(0.58 0.08 50); /* #b56c30 */
127
- --docs-slate: oklch(0.35 0.02 240); /* #485563 */
128
- --docs-parchment: oklch(0.96 0.015 70);
129
- }
130
-
131
84
  .docs-header {
132
- background: var(--docs-parchment);
133
- border-bottom: 1px solid oklch(0.85 0.01 50);
85
+ background: white;
86
+ border-bottom: 1px solid #e5e7eb;
87
+ border-radius: 0 0 6px 2px; /* Chamfered bottom corners only */
134
88
  position: sticky;
135
89
  top: 0;
136
90
  z-index: 100;
137
-
138
- /* Copper accent line */
139
- box-shadow:
140
- inset 0 -2px 0 var(--docs-copper),
141
- 0 1px 3px rgba(0, 0, 0, 0.05);
142
- }
143
-
144
- .docs-header.minimal {
145
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
146
- border-bottom: 1px solid oklch(0.90 0.01 60);
147
91
  }
148
92
 
149
93
  .docs-header-content {
@@ -158,7 +102,7 @@ const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
158
102
  .docs-logo {
159
103
  display: flex;
160
104
  align-items: center;
161
- gap: 0.75rem;
105
+ gap: 0.5rem;
162
106
  text-decoration: none;
163
107
  transition: opacity 0.2s ease;
164
108
  }
@@ -168,48 +112,45 @@ const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
168
112
  }
169
113
 
170
114
  .logo-icon {
115
+ height: 32px;
116
+ width: auto;
171
117
  flex-shrink: 0;
172
118
  }
173
119
 
174
120
  .logo-text {
175
- font-family: "DM Mono", "Roboto Mono", "Courier New", monospace;
121
+ font-family: system-ui, -apple-system, sans-serif;
176
122
  font-size: 1.125rem;
177
123
  font-weight: 600;
178
124
  line-height: 1;
179
- }
180
-
181
- .logo-brand {
182
- color: var(--docs-slate);
125
+ color: #374151;
183
126
  }
184
127
 
185
128
  .logo-separator {
186
- color: var(--docs-copper);
187
- opacity: 0.5;
188
- margin: 0 0.25rem;
129
+ color: #9ca3af;
130
+ margin: 0 0.5rem;
189
131
  }
190
132
 
191
133
  .logo-section {
192
- color: var(--docs-copper);
134
+ color: #6b7280;
193
135
  }
194
136
 
195
137
  .docs-breadcrumb {
196
138
  display: flex;
197
139
  align-items: center;
140
+ align-self: flex-end;
198
141
  gap: 0.5rem;
199
- font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
200
142
  font-size: 0.875rem;
201
- color: var(--docs-slate);
202
- opacity: 0.7;
143
+ color: #6b7280;
203
144
  }
204
145
 
205
146
  .docs-breadcrumb a {
206
147
  color: inherit;
207
148
  text-decoration: none;
208
- transition: opacity 0.2s ease;
149
+ transition: color 0.2s ease;
209
150
  }
210
151
 
211
152
  .docs-breadcrumb a:hover {
212
- opacity: 1;
153
+ color: #111827;
213
154
  text-decoration: underline;
214
155
  }
215
156
 
@@ -219,7 +160,7 @@ const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
219
160
 
220
161
  .breadcrumb-product {
221
162
  font-weight: 500;
222
- opacity: 1;
163
+ color: #111827;
223
164
  }
224
165
 
225
166
  .spacer {
@@ -233,33 +174,20 @@ const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
233
174
  }
234
175
 
235
176
  .docs-nav a {
236
- font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
237
177
  font-size: 0.9375rem;
238
- color: var(--docs-slate);
178
+ color: #374151;
239
179
  text-decoration: none;
240
180
  position: relative;
241
181
  padding: 0.25rem 0;
242
182
  transition: color 0.2s ease;
243
183
  }
244
184
 
245
- .docs-nav a::after {
246
- content: '';
247
- position: absolute;
248
- bottom: 0;
249
- left: 0;
250
- width: 0;
251
- height: 1px;
252
- background: var(--docs-copper);
253
- transition: width 0.2s ease;
254
- }
255
-
256
- .docs-nav a:hover::after,
257
- .docs-nav a.active::after {
258
- width: 100%;
185
+ .docs-nav a:hover {
186
+ color: #111827;
259
187
  }
260
188
 
261
189
  .docs-nav a.active {
262
- color: var(--docs-copper);
190
+ color: #111827;
263
191
  font-weight: 500;
264
192
  }
265
193
 
@@ -285,7 +213,6 @@ const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
285
213
  .docs-breadcrumb {
286
214
  order: 3;
287
215
  width: 100%;
288
- padding-left: 0;
289
216
  }
290
217
 
291
218
  .spacer {
@@ -297,32 +224,8 @@ const shouldShowBreadcrumb = showBreadcrumb && !isDocsHome && currentProduct;
297
224
  font-size: 0.875rem;
298
225
  }
299
226
 
300
- .logo-text {
301
- font-size: 1rem;
302
- }
303
- }
304
-
305
- /* Tablet */
306
- @media (min-width: 769px) and (max-width: 1024px) {
307
- .docs-nav {
308
- gap: 1.5rem;
309
- }
310
- }
311
-
312
- /* Accessibility */
313
- .docs-logo:focus-visible,
314
- .docs-nav a:focus-visible,
315
- .docs-breadcrumb a:focus-visible {
316
- outline: 3px solid var(--docs-copper);
317
- outline-offset: 4px;
318
- border-radius: 4px;
319
- }
320
-
321
- /* Reduced motion */
322
- @media (prefers-reduced-motion: reduce) {
323
- * {
324
- animation-duration: 0.01ms !important;
325
- transition-duration: 0.01ms !important;
227
+ .logo-icon {
228
+ height: 28px;
326
229
  }
327
230
  }
328
231
  </style>
@@ -5,14 +5,13 @@
5
5
  */
6
6
 
7
7
  /* Import color palette and variables */
8
- @import './copper-archive.css';
9
- @import './variables.css';
8
+ @import "./variables.css";
10
9
 
11
10
  /* ========================================
12
11
  GOOGLE FONTS
13
12
  ======================================== */
14
13
 
15
- @import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=IBM+Plex+Serif:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap');
14
+ @import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=IBM+Plex+Serif:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap");
16
15
 
17
16
  /* ========================================
18
17
  GLOBAL STYLES
@@ -43,7 +42,7 @@ body {
43
42
 
44
43
  /* Subtle paper grain texture */
45
44
  body::before {
46
- content: '';
45
+ content: "";
47
46
  position: fixed;
48
47
  top: 0;
49
48
  left: 0;
@@ -59,7 +58,12 @@ body::before {
59
58
  TYPOGRAPHY
60
59
  ======================================== */
61
60
 
62
- h1, h2, h3, h4, h5, h6 {
61
+ h1,
62
+ h2,
63
+ h3,
64
+ h4,
65
+ h5,
66
+ h6 {
63
67
  font-family: var(--font-docs-display);
64
68
  font-weight: var(--font-medium);
65
69
  line-height: var(--leading-tight);
@@ -87,7 +91,8 @@ h4 {
87
91
  font-size: var(--text-xl);
88
92
  }
89
93
 
90
- h5, h6 {
94
+ h5,
95
+ h6 {
91
96
  font-size: var(--text-lg);
92
97
  }
93
98
 
@@ -138,9 +143,11 @@ pre code {
138
143
 
139
144
  .doc-card {
140
145
  /* Base styling */
141
- background: linear-gradient(135deg,
146
+ background: linear-gradient(
147
+ 135deg,
142
148
  var(--docs-parchment) 0%,
143
- var(--docs-cream) 100%);
149
+ var(--docs-cream) 100%
150
+ );
144
151
  border: var(--card-border-width) solid var(--docs-border-light);
145
152
  border-radius: var(--card-radius);
146
153
  padding: var(--card-padding);
@@ -156,7 +163,7 @@ pre code {
156
163
  /* Copper corner brackets */
157
164
  .doc-card::before,
158
165
  .doc-card::after {
159
- content: '';
166
+ content: "";
160
167
  position: absolute;
161
168
  width: var(--bracket-size);
162
169
  height: var(--bracket-size);
@@ -182,7 +189,7 @@ pre code {
182
189
 
183
190
  /* Brass polish glow effect */
184
191
  .doc-card > .card-glow {
185
- content: '';
192
+ content: "";
186
193
  position: absolute;
187
194
  top: -50%;
188
195
  left: -50%;
@@ -304,7 +311,7 @@ pre code {
304
311
 
305
312
  /* Animated underline */
306
313
  .card-action::after {
307
- content: '';
314
+ content: "";
308
315
  position: absolute;
309
316
  bottom: -2px;
310
317
  left: 0;
@@ -406,7 +413,7 @@ pre code {
406
413
  }
407
414
 
408
415
  .docs-nav a::after {
409
- content: '';
416
+ content: "";
410
417
  position: absolute;
411
418
  bottom: 0;
412
419
  left: 0;
@@ -421,7 +428,7 @@ pre code {
421
428
  }
422
429
 
423
430
  .docs-nav a.external::before {
424
- content: '';
431
+ content: "";
425
432
  margin-right: var(--space-1);
426
433
  opacity: 0.6;
427
434
  }
@@ -10,12 +10,12 @@
10
10
  ======================================== */
11
11
 
12
12
  /* Primary Colors */
13
- --docs-copper: oklch(0.58 0.08 50); /* #b56c30 - Warm copper accent */
14
- --docs-copper-hover: oklch(0.62 0.1 50); /* Brighter on hover */
13
+ --docs-copper: oklch(0.62 0.15 35); /* #ea5932 - Knitli rust */
14
+ --docs-copper-hover: oklch(0.62 0.3 50); /* Brighter on hover */
15
15
  --docs-slate: oklch(0.35 0.02 240); /* #485563 - Technical foundation */
16
16
 
17
17
  /* Background Colors */
18
- --docs-parchment: oklch(0.96 0.015 70); /* #F2ECE7 - Warm paper */
18
+ --docs-parchment: oklch(0.96 0.01 75); /* #F2ECE7 - Warm paper */
19
19
  --docs-cream: oklch(0.945 0.016 65); /* Slightly warmer parchment */
20
20
  --docs-white: oklch(0.984 0.003 229); /* Crisp white for contrast */
21
21
 
@@ -35,22 +35,23 @@
35
35
  ======================================== */
36
36
 
37
37
  /* Font Families */
38
- --font-docs-display: 'DM Mono', 'Courier New', monospace;
39
- --font-docs-body: 'IBM Plex Serif', Georgia, serif;
40
- --font-docs-code: 'JetBrains Mono', 'Consolas', monospace;
41
- --font-docs-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
38
+ --font-docs-display: "DM Mono", "Courier New", monospace;
39
+ --font-docs-body: "IBM Plex Serif", Georgia, serif;
40
+ --font-docs-code: "JetBrains Mono", "Consolas", monospace;
41
+ --font-docs-ui:
42
+ "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
42
43
 
43
44
  /* Font Sizes */
44
- --text-xs: 0.625rem; /* 10px */
45
- --text-sm: 0.875rem; /* 14px */
46
- --text-base: 1rem; /* 16px */
47
- --text-lg: 1.125rem; /* 18px */
48
- --text-xl: 1.25rem; /* 20px */
49
- --text-2xl: 1.5rem; /* 24px */
50
- --text-3xl: 2rem; /* 32px */
51
- --text-4xl: 2.5rem; /* 40px */
52
- --text-5xl: 3rem; /* 48px */
53
- --text-6xl: 4rem; /* 64px */
45
+ --text-xs: 0.625rem; /* 10px */
46
+ --text-sm: 0.875rem; /* 14px */
47
+ --text-base: 1rem; /* 16px */
48
+ --text-lg: 1.125rem; /* 18px */
49
+ --text-xl: 1.25rem; /* 20px */
50
+ --text-2xl: 1.5rem; /* 24px */
51
+ --text-3xl: 2rem; /* 32px */
52
+ --text-4xl: 2.5rem; /* 40px */
53
+ --text-5xl: 3rem; /* 48px */
54
+ --text-6xl: 4rem; /* 64px */
54
55
 
55
56
  /* Font Weights */
56
57
  --font-regular: 400;
@@ -76,18 +77,18 @@
76
77
  ======================================== */
77
78
 
78
79
  --space-0: 0;
79
- --space-1: 0.25rem; /* 4px */
80
- --space-2: 0.5rem; /* 8px */
81
- --space-3: 0.75rem; /* 12px */
82
- --space-4: 1rem; /* 16px */
83
- --space-5: 1.25rem; /* 20px */
84
- --space-6: 1.5rem; /* 24px */
85
- --space-8: 2rem; /* 32px */
86
- --space-10: 2.5rem; /* 40px */
87
- --space-12: 3rem; /* 48px */
88
- --space-16: 4rem; /* 64px */
89
- --space-20: 5rem; /* 80px */
90
- --space-24: 6rem; /* 96px */
80
+ --space-1: 0.25rem; /* 4px */
81
+ --space-2: 0.5rem; /* 8px */
82
+ --space-3: 0.75rem; /* 12px */
83
+ --space-4: 1rem; /* 16px */
84
+ --space-5: 1.25rem; /* 20px */
85
+ --space-6: 1.5rem; /* 24px */
86
+ --space-8: 2rem; /* 32px */
87
+ --space-10: 2.5rem; /* 40px */
88
+ --space-12: 3rem; /* 48px */
89
+ --space-16: 4rem; /* 64px */
90
+ --space-20: 5rem; /* 80px */
91
+ --space-24: 6rem; /* 96px */
91
92
 
92
93
  /* ========================================
93
94
  LAYOUT
@@ -113,19 +114,16 @@
113
114
 
114
115
  /* Embossed Effects */
115
116
  --shadow-emboss:
116
- inset 0 1px 2px rgba(255, 255, 255, 0.8),
117
- 0 4px 16px rgba(0, 0, 0, 0.08),
117
+ inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 4px 16px rgba(0, 0, 0, 0.08),
118
118
  0 1px 3px rgba(0, 0, 0, 0.12);
119
119
 
120
120
  --shadow-emboss-hover:
121
121
  inset 0 1px 2px rgba(255, 255, 255, 0.9),
122
- 0 8px 24px rgba(184, 108, 48, 0.15),
123
- 0 2px 6px rgba(0, 0, 0, 0.12);
122
+ 0 8px 24px rgba(184, 108, 48, 0.15), 0 2px 6px rgba(0, 0, 0, 0.12);
124
123
 
125
124
  --shadow-emboss-strong:
126
125
  inset 0 1px 2px rgba(255, 255, 255, 0.9),
127
- 0 12px 32px rgba(184, 108, 48, 0.2),
128
- 0 3px 8px rgba(0, 0, 0, 0.15);
126
+ 0 12px 32px rgba(184, 108, 48, 0.2), 0 3px 8px rgba(0, 0, 0, 0.15);
129
127
 
130
128
  /* Standard Shadows */
131
129
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
@@ -1,116 +0,0 @@
1
- /**
2
- * @file copper-archive.css
3
- * @description Lightweight Copper Archive color scheme
4
- * @usage Import for just the color palette without full theme styling
5
- */
6
-
7
- :root {
8
- /* ========================================
9
- COPPER ARCHIVE COLOR PALETTE
10
- ======================================== */
11
-
12
- /* Primary Accent */
13
- --docs-copper: oklch(0.58 0.08 50); /* #b56c30 */
14
- --docs-copper-hover: oklch(0.62 0.1 50);
15
- --docs-copper-light: oklch(0.7 0.06 50);
16
- --docs-copper-dark: oklch(0.48 0.1 50);
17
-
18
- /* Technical Foundation */
19
- --docs-slate: oklch(0.35 0.02 240); /* #485563 */
20
- --docs-slate-light: oklch(0.45 0.015 240);
21
- --docs-slate-dark: oklch(0.25 0.025 240);
22
-
23
- /* Warm Backgrounds */
24
- --docs-parchment: oklch(0.96 0.015 70); /* #F2ECE7 */
25
- --docs-cream: oklch(0.945 0.016 65);
26
- --docs-white: oklch(0.984 0.003 229);
27
-
28
- /* Text Hierarchy */
29
- --docs-ink: oklch(0.25 0.015 260); /* Deep blue-black */
30
- --docs-text-primary: var(--docs-ink);
31
- --docs-text-secondary: oklch(0.45 0.01 250);
32
- --docs-text-muted: oklch(0.6 0.005 240);
33
-
34
- /* Semantic Colors */
35
- --docs-success: oklch(0.55 0.15 145); /* Green */
36
- --docs-warning: oklch(0.65 0.15 75); /* Amber */
37
- --docs-error: oklch(0.55 0.2 25); /* Red */
38
- --docs-info: oklch(0.55 0.15 250); /* Blue */
39
-
40
- /* Border Palette */
41
- --docs-border-light: oklch(0.85 0.01 50);
42
- --docs-border-medium: oklch(0.75 0.015 50);
43
- --docs-border-dark: oklch(0.65 0.02 50);
44
- --docs-border-copper: var(--docs-copper);
45
-
46
- /* Code Block Colors */
47
- --docs-code-bg: oklch(0.15 0.01 260);
48
- --docs-code-text: oklch(0.85 0.02 180);
49
- --docs-code-keyword: oklch(0.65 0.15 290);
50
- --docs-code-string: oklch(0.6 0.12 145);
51
- --docs-code-comment: oklch(0.5 0.02 240);
52
- --docs-code-function: oklch(0.7 0.12 50);
53
- }
54
-
55
- /* ========================================
56
- DARK MODE COLOR ADJUSTMENTS
57
- ======================================== */
58
-
59
- @media (prefers-color-scheme: dark) {
60
- :root {
61
- /* Inverted Backgrounds */
62
- --docs-parchment: oklch(0.2 0.01 260);
63
- --docs-cream: oklch(0.22 0.01 260);
64
- --docs-white: oklch(0.25 0.01 260);
65
-
66
- /* Inverted Text */
67
- --docs-ink: oklch(0.9 0.01 180);
68
- --docs-text-primary: oklch(0.85 0.01 180);
69
- --docs-text-secondary: oklch(0.65 0.01 200);
70
- --docs-text-muted: oklch(0.5 0.01 220);
71
-
72
- /* Adjusted Borders */
73
- --docs-border-light: oklch(0.3 0.01 240);
74
- --docs-border-medium: oklch(0.4 0.01 240);
75
- --docs-border-dark: oklch(0.5 0.01 240);
76
-
77
- /* Copper Stays Warm */
78
- --docs-copper: oklch(0.62 0.1 50);
79
- --docs-copper-hover: oklch(0.68 0.12 50);
80
- }
81
- }
82
-
83
- /* ========================================
84
- UTILITY CLASSES - Copper Archive Colors
85
- ======================================== */
86
-
87
- /* Background Colors */
88
- .bg-copper { background-color: var(--docs-copper); }
89
- .bg-slate { background-color: var(--docs-slate); }
90
- .bg-parchment { background-color: var(--docs-parchment); }
91
- .bg-cream { background-color: var(--docs-cream); }
92
- .bg-white { background-color: var(--docs-white); }
93
-
94
- /* Text Colors */
95
- .text-copper { color: var(--docs-copper); }
96
- .text-slate { color: var(--docs-slate); }
97
- .text-ink { color: var(--docs-ink); }
98
- .text-muted { color: var(--docs-text-muted); }
99
-
100
- /* Border Colors */
101
- .border-copper { border-color: var(--docs-copper); }
102
- .border-slate { border-color: var(--docs-slate); }
103
- .border-light { border-color: var(--docs-border-light); }
104
- .border-medium { border-color: var(--docs-border-medium); }
105
-
106
- /* Semantic Background Colors */
107
- .bg-success { background-color: var(--docs-success); }
108
- .bg-warning { background-color: var(--docs-warning); }
109
- .bg-error { background-color: var(--docs-error); }
110
- .bg-info { background-color: var(--docs-info); }
111
-
112
- /* Semantic Text Colors */
113
- .text-success { color: var(--docs-success); }
114
- .text-warning { color: var(--docs-warning); }
115
- .text-error { color: var(--docs-error); }
116
- .text-info { color: var(--docs-info); }