@chitrank2050/monoline-ui 0.2.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 +21 -0
- package/README.md +313 -0
- package/chunk-2T2JZW4Z.js +2 -0
- package/chunk-2T2JZW4Z.js.map +1 -0
- package/chunk-37JB3ZNS.js +2 -0
- package/chunk-37JB3ZNS.js.map +1 -0
- package/chunk-3F6Z4CFV.js +2 -0
- package/chunk-3F6Z4CFV.js.map +1 -0
- package/chunk-5TIKYN5B.js +2 -0
- package/chunk-5TIKYN5B.js.map +1 -0
- package/chunk-6AEWSPAE.js +2 -0
- package/chunk-6AEWSPAE.js.map +1 -0
- package/chunk-7ANXAXP5.js +2 -0
- package/chunk-7ANXAXP5.js.map +1 -0
- package/chunk-7SDVYBBO.js +2 -0
- package/chunk-7SDVYBBO.js.map +1 -0
- package/chunk-7WJF6B6G.js +2 -0
- package/chunk-7WJF6B6G.js.map +1 -0
- package/chunk-A2LXX23X.js +2 -0
- package/chunk-A2LXX23X.js.map +1 -0
- package/chunk-AACTIVV7.js +2 -0
- package/chunk-AACTIVV7.js.map +1 -0
- package/chunk-B5P3RAN2.js +2 -0
- package/chunk-B5P3RAN2.js.map +1 -0
- package/chunk-COFALEVG.js +2 -0
- package/chunk-COFALEVG.js.map +1 -0
- package/chunk-D3E4G2RE.js +2 -0
- package/chunk-D3E4G2RE.js.map +1 -0
- package/chunk-DJT3EVR4.js +2 -0
- package/chunk-DJT3EVR4.js.map +1 -0
- package/chunk-EWKGYQOX.js +2 -0
- package/chunk-EWKGYQOX.js.map +1 -0
- package/chunk-FLUGXF5D.js +2 -0
- package/chunk-FLUGXF5D.js.map +1 -0
- package/chunk-GSWZL5C2.js +2 -0
- package/chunk-GSWZL5C2.js.map +1 -0
- package/chunk-H2CRII7X.js +2 -0
- package/chunk-H2CRII7X.js.map +1 -0
- package/chunk-IVTAW6SX.js +3 -0
- package/chunk-IVTAW6SX.js.map +1 -0
- package/chunk-JBOP2AJB.js +2 -0
- package/chunk-JBOP2AJB.js.map +1 -0
- package/chunk-JCKPCV2H.js +2 -0
- package/chunk-JCKPCV2H.js.map +1 -0
- package/chunk-K665XZ3N.js +2 -0
- package/chunk-K665XZ3N.js.map +1 -0
- package/chunk-K72EORST.js +2 -0
- package/chunk-K72EORST.js.map +1 -0
- package/chunk-KGLH6WI6.js +2 -0
- package/chunk-KGLH6WI6.js.map +1 -0
- package/chunk-LVMQ3ZM3.js +2 -0
- package/chunk-LVMQ3ZM3.js.map +1 -0
- package/chunk-N37GMCSK.js +2 -0
- package/chunk-N37GMCSK.js.map +1 -0
- package/chunk-NDHOUIOX.js +2 -0
- package/chunk-NDHOUIOX.js.map +1 -0
- package/chunk-NDTTLW56.js +2 -0
- package/chunk-NDTTLW56.js.map +1 -0
- package/chunk-O43OQHFN.js +2 -0
- package/chunk-O43OQHFN.js.map +1 -0
- package/chunk-QGG3J7OW.js +2 -0
- package/chunk-QGG3J7OW.js.map +1 -0
- package/chunk-QUG36ONS.js +2 -0
- package/chunk-QUG36ONS.js.map +1 -0
- package/chunk-R2YSVBHS.js +2 -0
- package/chunk-R2YSVBHS.js.map +1 -0
- package/chunk-TSOHITZ7.js +2 -0
- package/chunk-TSOHITZ7.js.map +1 -0
- package/chunk-V6PUPMAY.js +3 -0
- package/chunk-V6PUPMAY.js.map +1 -0
- package/chunk-VSATIFOR.js +2 -0
- package/chunk-VSATIFOR.js.map +1 -0
- package/chunk-XEB7C557.js +2 -0
- package/chunk-XEB7C557.js.map +1 -0
- package/chunk-Z7SIB4X6.js +2 -0
- package/chunk-Z7SIB4X6.js.map +1 -0
- package/chunk-ZOPV3BXO.js +2 -0
- package/chunk-ZOPV3BXO.js.map +1 -0
- package/chunk-ZU3HIOBU.js +2 -0
- package/chunk-ZU3HIOBU.js.map +1 -0
- package/components/action-rail/index.d.ts +18 -0
- package/components/action-rail/index.js +2 -0
- package/components/action-rail/index.js.map +1 -0
- package/components/avatar/avatar.css +47 -0
- package/components/avatar/index.d.ts +28 -0
- package/components/avatar/index.js +2 -0
- package/components/avatar/index.js.map +1 -0
- package/components/back-link/back-link.css +30 -0
- package/components/back-link/index.d.ts +18 -0
- package/components/back-link/index.js +2 -0
- package/components/back-link/index.js.map +1 -0
- package/components/badge/badge.css +27 -0
- package/components/badge/index.d.ts +26 -0
- package/components/badge/index.js +2 -0
- package/components/badge/index.js.map +1 -0
- package/components/button/button.css +238 -0
- package/components/button/index.d.ts +36 -0
- package/components/button/index.js +2 -0
- package/components/button/index.js.map +1 -0
- package/components/callout/callout.css +20 -0
- package/components/callout/index.d.ts +20 -0
- package/components/callout/index.js +2 -0
- package/components/callout/index.js.map +1 -0
- package/components/card/card.css +166 -0
- package/components/card/index.d.ts +112 -0
- package/components/card/index.js +2 -0
- package/components/card/index.js.map +1 -0
- package/components/code-block/code-block.css +23 -0
- package/components/code-block/index.d.ts +21 -0
- package/components/code-block/index.js +2 -0
- package/components/code-block/index.js.map +1 -0
- package/components/command-search/command-search.css +217 -0
- package/components/command-search/index.d.ts +73 -0
- package/components/command-search/index.js +2 -0
- package/components/command-search/index.js.map +1 -0
- package/components/container/container.css +41 -0
- package/components/container/index.d.ts +11 -0
- package/components/container/index.js +2 -0
- package/components/container/index.js.map +1 -0
- package/components/data-list/data-list.css +139 -0
- package/components/data-list/index.d.ts +45 -0
- package/components/data-list/index.js +2 -0
- package/components/data-list/index.js.map +1 -0
- package/components/editorial-line/index.d.ts +24 -0
- package/components/editorial-line/index.js +2 -0
- package/components/editorial-line/index.js.map +1 -0
- package/components/eyebrow/eyebrow.css +13 -0
- package/components/eyebrow/index.d.ts +17 -0
- package/components/eyebrow/index.js +2 -0
- package/components/eyebrow/index.js.map +1 -0
- package/components/footer/footer.css +201 -0
- package/components/footer/index.d.ts +66 -0
- package/components/footer/index.js +2 -0
- package/components/footer/index.js.map +1 -0
- package/components/input/index.d.ts +28 -0
- package/components/input/index.js +2 -0
- package/components/input/index.js.map +1 -0
- package/components/input/input.css +37 -0
- package/components/link-list/index.d.ts +47 -0
- package/components/link-list/index.js +2 -0
- package/components/link-list/index.js.map +1 -0
- package/components/link-list/link-list.css +208 -0
- package/components/media-frame/index.d.ts +31 -0
- package/components/media-frame/index.js +2 -0
- package/components/media-frame/index.js.map +1 -0
- package/components/media-frame/media-frame.css +86 -0
- package/components/meta-row/index.d.ts +22 -0
- package/components/meta-row/index.js +2 -0
- package/components/meta-row/index.js.map +1 -0
- package/components/metric/index.d.ts +22 -0
- package/components/metric/index.js +2 -0
- package/components/metric/index.js.map +1 -0
- package/components/navbar/index.d.ts +78 -0
- package/components/navbar/index.js +2 -0
- package/components/navbar/index.js.map +1 -0
- package/components/navbar/navbar.css +245 -0
- package/components/progress/index.d.ts +20 -0
- package/components/progress/index.js +2 -0
- package/components/progress/index.js.map +1 -0
- package/components/progress/progress.css +31 -0
- package/components/pull-quote/index.d.ts +18 -0
- package/components/pull-quote/index.js +2 -0
- package/components/pull-quote/index.js.map +1 -0
- package/components/rail/index.d.ts +28 -0
- package/components/rail/index.js +2 -0
- package/components/rail/index.js.map +1 -0
- package/components/rail/rail.css +118 -0
- package/components/resources-panel/index.d.ts +42 -0
- package/components/resources-panel/index.js +2 -0
- package/components/resources-panel/index.js.map +1 -0
- package/components/resources-panel/resources-panel.css +396 -0
- package/components/section-head/index.d.ts +24 -0
- package/components/section-head/index.js +2 -0
- package/components/section-head/index.js.map +1 -0
- package/components/segmented-control/index.d.ts +28 -0
- package/components/segmented-control/index.js +2 -0
- package/components/segmented-control/index.js.map +1 -0
- package/components/segmented-control/segmented-control.css +177 -0
- package/components/select/index.d.ts +65 -0
- package/components/select/index.js +2 -0
- package/components/select/index.js.map +1 -0
- package/components/select/select.css +298 -0
- package/components/skeleton/index.d.ts +19 -0
- package/components/skeleton/index.js +2 -0
- package/components/skeleton/index.js.map +1 -0
- package/components/skeleton/skeleton.css +13 -0
- package/components/status/index.d.ts +20 -0
- package/components/status/index.js +2 -0
- package/components/status/index.js.map +1 -0
- package/components/status/status.css +86 -0
- package/components/tag/index.d.ts +35 -0
- package/components/tag/index.js +2 -0
- package/components/tag/index.js.map +1 -0
- package/components/tag/tag.css +10 -0
- package/components/testimonial/index.d.ts +30 -0
- package/components/testimonial/index.js +2 -0
- package/components/testimonial/index.js.map +1 -0
- package/components/testimonial/testimonial.css +109 -0
- package/components/testimonial-grid/index.d.ts +12 -0
- package/components/testimonial-grid/index.js +2 -0
- package/components/testimonial-grid/index.js.map +1 -0
- package/components/testimonial-grid/testimonial-grid.css +58 -0
- package/components/theme-switcher/index.d.ts +24 -0
- package/components/theme-switcher/index.js +2 -0
- package/components/theme-switcher/index.js.map +1 -0
- package/components/theme-switcher/theme-switcher.css +130 -0
- package/components/toast/index.d.ts +20 -0
- package/components/toast/index.js +2 -0
- package/components/toast/index.js.map +1 -0
- package/components/toast/toast.css +22 -0
- package/components/toc/index.d.ts +27 -0
- package/components/toc/index.js +2 -0
- package/components/toc/index.js.map +1 -0
- package/components/toggle/index.d.ts +20 -0
- package/components/toggle/index.js +2 -0
- package/components/toggle/index.js.map +1 -0
- package/components/toggle/toggle.css +108 -0
- package/foundations/breakpoints.d.ts +12 -0
- package/foundations/breakpoints.js +2 -0
- package/foundations/breakpoints.js.map +1 -0
- package/foundations/use-breakpoint.d.ts +5 -0
- package/foundations/use-breakpoint.js +3 -0
- package/foundations/use-breakpoint.js.map +1 -0
- package/index.d.ts +42 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/lib/utils.d.ts +7 -0
- package/lib/utils.js +2 -0
- package/lib/utils.js.map +1 -0
- package/package.json +228 -0
- package/styles/theme/animations.css +206 -0
- package/styles/theme/base.css +75 -0
- package/styles/theme/tailwind.css +371 -0
- package/styles/theme/tokens.css +562 -0
- package/styles/theme/typography.css +108 -0
- package/styles/theme/utilities.css +281 -0
- package/styles/theme.css +68 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
/* =============================================================================
|
|
2
|
+
* utilities.css · Custom helper classes, print, accessibility, and transitions
|
|
3
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
+
* Contains custom layout utility classes, interaction states, font families,
|
|
5
|
+
* print stylesheet rules, and reduced motion configurations.
|
|
6
|
+
* ========================================================================== */
|
|
7
|
+
|
|
8
|
+
.img-placeholder {
|
|
9
|
+
background-color: var(--placeholder-bg);
|
|
10
|
+
background-image: repeating-linear-gradient(
|
|
11
|
+
135deg,
|
|
12
|
+
var(--placeholder-stripe) 0,
|
|
13
|
+
var(--placeholder-stripe) 1px,
|
|
14
|
+
transparent 1px,
|
|
15
|
+
transparent 0.875rem
|
|
16
|
+
);
|
|
17
|
+
position: relative;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ml-control-surface--secondary {
|
|
22
|
+
border-color: var(--border-strong);
|
|
23
|
+
background: var(--button);
|
|
24
|
+
color: var(--primary);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ml-control-surface--secondary:not(:disabled):not([aria-disabled="true"]):not(
|
|
28
|
+
[data-disabled="true"]
|
|
29
|
+
):hover {
|
|
30
|
+
border-color: color-mix(in oklch, var(--primary) 35%, transparent);
|
|
31
|
+
background: var(--button-hover);
|
|
32
|
+
color: var(--primary);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ml-control-surface--secondary:not(:disabled):not([aria-disabled="true"]):not(
|
|
36
|
+
[data-disabled="true"]
|
|
37
|
+
):active {
|
|
38
|
+
border-color: color-mix(in oklch, var(--primary) 48%, transparent);
|
|
39
|
+
background: color-mix(in oklch, var(--button-hover) 82%, var(--primary));
|
|
40
|
+
color: var(--primary);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ml-control-surface--secondary[data-active="true"],
|
|
44
|
+
.ml-control-surface--secondary[aria-pressed="true"],
|
|
45
|
+
.ml-control-surface--secondary[aria-checked="true"] {
|
|
46
|
+
border-color: var(--primary);
|
|
47
|
+
background: var(--primary);
|
|
48
|
+
color: var(--primary-foreground);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ml-control-surface--ghost {
|
|
52
|
+
border-color: transparent;
|
|
53
|
+
background: transparent;
|
|
54
|
+
color: var(--text-body);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ml-control-surface--ghost:not(:disabled):not([aria-disabled="true"]):not(
|
|
58
|
+
[data-disabled="true"]
|
|
59
|
+
):hover {
|
|
60
|
+
background: var(--button-hover);
|
|
61
|
+
color: var(--primary);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ml-control-surface--ghost:not(:disabled):not([aria-disabled="true"]):not(
|
|
65
|
+
[data-disabled="true"]
|
|
66
|
+
):active {
|
|
67
|
+
background: color-mix(in oklch, var(--button-hover) 82%, var(--primary));
|
|
68
|
+
color: var(--primary);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ml-control-surface--ghost[data-active="true"],
|
|
72
|
+
.ml-control-surface--ghost[aria-pressed="true"],
|
|
73
|
+
.ml-control-surface--ghost[aria-checked="true"] {
|
|
74
|
+
background: color-mix(in oklch, var(--button-hover) 76%, transparent);
|
|
75
|
+
color: var(--primary);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.ml-control-surface--secondary[data-disabled="true"],
|
|
79
|
+
.ml-control-surface--ghost[data-disabled="true"] {
|
|
80
|
+
border-color: var(--border);
|
|
81
|
+
background: color-mix(in oklch, var(--button) 55%, transparent);
|
|
82
|
+
color: var(--text-muted);
|
|
83
|
+
opacity: 0.58;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ml-control-surface--ghost[data-disabled="true"] {
|
|
87
|
+
border-color: transparent;
|
|
88
|
+
background: transparent;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* --- Transitions & Composable Interaction States --- */
|
|
92
|
+
.transition-micro {
|
|
93
|
+
transition:
|
|
94
|
+
background-color var(--duration-micro) var(--ease-out),
|
|
95
|
+
border-color var(--duration-micro) var(--ease-out),
|
|
96
|
+
box-shadow var(--duration-micro) var(--ease-out),
|
|
97
|
+
color var(--duration-micro) var(--ease-out),
|
|
98
|
+
opacity var(--duration-micro) var(--ease-out),
|
|
99
|
+
transform var(--duration-micro) var(--ease-out);
|
|
100
|
+
}
|
|
101
|
+
.transition-short {
|
|
102
|
+
transition:
|
|
103
|
+
background-color var(--duration-short) var(--ease-out),
|
|
104
|
+
border-color var(--duration-short) var(--ease-out),
|
|
105
|
+
box-shadow var(--duration-short) var(--ease-out),
|
|
106
|
+
color var(--duration-short) var(--ease-out),
|
|
107
|
+
opacity var(--duration-short) var(--ease-out),
|
|
108
|
+
transform var(--duration-short) var(--ease-out-expo);
|
|
109
|
+
}
|
|
110
|
+
.transition-medium {
|
|
111
|
+
transition:
|
|
112
|
+
opacity var(--duration-medium) var(--ease-out),
|
|
113
|
+
transform var(--duration-medium) var(--ease-out-expo);
|
|
114
|
+
}
|
|
115
|
+
.transition-long {
|
|
116
|
+
transition:
|
|
117
|
+
opacity var(--duration-long) var(--ease-out),
|
|
118
|
+
transform var(--duration-long) var(--ease-out-expo);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@layer utilities {
|
|
122
|
+
.ml-interaction-color {
|
|
123
|
+
transition: color var(--duration-micro) var(--ease-out);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.ml-interaction-color:hover {
|
|
127
|
+
color: var(--text);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ml-interaction-focus {
|
|
131
|
+
transition:
|
|
132
|
+
border-color var(--duration-micro) var(--ease-out),
|
|
133
|
+
box-shadow var(--duration-micro) var(--ease-out);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ml-interaction-focus:focus-within {
|
|
137
|
+
border-color: var(--border-strong);
|
|
138
|
+
box-shadow: var(--focus-ring-layered);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ml-interaction-surface {
|
|
142
|
+
transition:
|
|
143
|
+
background-color var(--duration-micro) var(--ease-out),
|
|
144
|
+
border-color var(--duration-micro) var(--ease-out),
|
|
145
|
+
box-shadow var(--duration-micro) var(--ease-out),
|
|
146
|
+
color var(--duration-micro) var(--ease-out);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ml-interaction-surface:hover {
|
|
150
|
+
border-color: var(--border);
|
|
151
|
+
background: var(--surface);
|
|
152
|
+
color: var(--text);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.ml-interaction-control {
|
|
156
|
+
transition:
|
|
157
|
+
background-color var(--duration-micro) var(--ease-out),
|
|
158
|
+
border-color var(--duration-micro) var(--ease-out),
|
|
159
|
+
box-shadow var(--duration-micro) var(--ease-out),
|
|
160
|
+
color var(--duration-micro) var(--ease-out);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.ml-interaction-control:hover {
|
|
164
|
+
border-color: var(--border-strong);
|
|
165
|
+
background: var(--surface-2);
|
|
166
|
+
box-shadow: var(--shadow-sm);
|
|
167
|
+
color: var(--text);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.ml-interaction-control-primary:hover {
|
|
171
|
+
border-color: var(--btn-primary-hover);
|
|
172
|
+
background: var(--btn-primary-hover);
|
|
173
|
+
box-shadow: var(--shadow-sm);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ml-interaction-tab {
|
|
177
|
+
transition:
|
|
178
|
+
background-color var(--duration-micro) var(--ease-out),
|
|
179
|
+
box-shadow var(--duration-micro) var(--ease-out),
|
|
180
|
+
color var(--duration-micro) var(--ease-out);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ml-interaction-tab:hover {
|
|
184
|
+
color: var(--text);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.ml-interaction-tab-underline {
|
|
188
|
+
transition:
|
|
189
|
+
border-color var(--duration-micro) var(--ease-out),
|
|
190
|
+
color var(--duration-micro) var(--ease-out);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.ml-interaction-tab-underline:hover {
|
|
194
|
+
color: var(--text);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* --- Reduced Motion (prefers-reduced-motion: reduce) --- */
|
|
199
|
+
@media (prefers-reduced-motion: reduce) {
|
|
200
|
+
*,
|
|
201
|
+
*::before,
|
|
202
|
+
*::after {
|
|
203
|
+
animation-duration: 0.01ms !important;
|
|
204
|
+
animation-iteration-count: 1 !important;
|
|
205
|
+
transition-duration: 0.01ms !important;
|
|
206
|
+
scroll-behavior: auto !important;
|
|
207
|
+
}
|
|
208
|
+
.ml-card--hover:hover,
|
|
209
|
+
.ml-card--interactive:hover {
|
|
210
|
+
transform: none;
|
|
211
|
+
}
|
|
212
|
+
.ml-card--hover:hover .ml-card__image > * {
|
|
213
|
+
transform: none;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* --- Print Stylesheet --- */
|
|
218
|
+
@media print {
|
|
219
|
+
:root,
|
|
220
|
+
.dark,
|
|
221
|
+
[data-theme="dark"] {
|
|
222
|
+
--background: #ffffff;
|
|
223
|
+
--foreground: #000000;
|
|
224
|
+
--text: #000000;
|
|
225
|
+
--text-body: #000000;
|
|
226
|
+
--text-secondary: #333333;
|
|
227
|
+
--text-muted: #666666;
|
|
228
|
+
--surface: #ffffff;
|
|
229
|
+
--border: #cccccc;
|
|
230
|
+
color-scheme: light;
|
|
231
|
+
}
|
|
232
|
+
body {
|
|
233
|
+
background: #fff;
|
|
234
|
+
color: #000;
|
|
235
|
+
}
|
|
236
|
+
nav,
|
|
237
|
+
.navbar,
|
|
238
|
+
footer,
|
|
239
|
+
.footer,
|
|
240
|
+
button {
|
|
241
|
+
display: none !important;
|
|
242
|
+
}
|
|
243
|
+
.prose,
|
|
244
|
+
.prose * {
|
|
245
|
+
color: #000 !important;
|
|
246
|
+
}
|
|
247
|
+
a {
|
|
248
|
+
color: #000;
|
|
249
|
+
text-decoration: underline;
|
|
250
|
+
}
|
|
251
|
+
a::after {
|
|
252
|
+
content: " (" attr(href) ")";
|
|
253
|
+
font-size: 0.8em;
|
|
254
|
+
color: #666;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* --- Font Family Utility Classes (beyond Tailwind's default set) --- */
|
|
259
|
+
.font-sans {
|
|
260
|
+
font-family: var(--font-sans);
|
|
261
|
+
}
|
|
262
|
+
.font-mono {
|
|
263
|
+
font-family: var(--font-mono);
|
|
264
|
+
}
|
|
265
|
+
.font-script {
|
|
266
|
+
font-family: var(--font-script);
|
|
267
|
+
}
|
|
268
|
+
.font-headline {
|
|
269
|
+
font-family: var(--font-headline);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* --- Eyebrow utility (standalone class, no component import needed) --- */
|
|
273
|
+
.eyebrow,
|
|
274
|
+
.ml-eyebrow {
|
|
275
|
+
font-family: var(--font-mono);
|
|
276
|
+
font-size: var(--text-2xs);
|
|
277
|
+
letter-spacing: var(--tracking-eyebrow);
|
|
278
|
+
text-transform: uppercase;
|
|
279
|
+
color: var(--text-muted);
|
|
280
|
+
display: inline-block;
|
|
281
|
+
}
|
package/styles/theme.css
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* =============================================================================
|
|
2
|
+
* theme.css · entry point for monoline-ui theme foundations
|
|
3
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
+
* Bundles design tokens, tailwind config, base, typography, animations,
|
|
5
|
+
* and utilities.
|
|
6
|
+
* ========================================================================== */
|
|
7
|
+
|
|
8
|
+
@import "./theme/tokens.css";
|
|
9
|
+
@import "./theme/tailwind.css";
|
|
10
|
+
@import "./theme/base.css";
|
|
11
|
+
@import "./theme/typography.css";
|
|
12
|
+
@import "./theme/animations.css";
|
|
13
|
+
@import "./theme/utilities.css";
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
* USAGE NOTES (read these once, then forget them)
|
|
17
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
18
|
+
* - Theme switch: <html data-theme="dark"> or <html class="dark">
|
|
19
|
+
* Either works; pick whichever your app already toggles.
|
|
20
|
+
* - Tailwind: bg-background, text-foreground, bg-card, border-border-strong
|
|
21
|
+
* All auto-generated from the @theme block above.
|
|
22
|
+
* - CSS direct: background: var(--surface); color: var(--text-muted);
|
|
23
|
+
* Use directly when Tailwind utility names would be ugly.
|
|
24
|
+
* - Animations: <div className="animate-heart-pop"> or animation: heart-pop ...
|
|
25
|
+
* - Motion tokens: transition-duration: var(--duration-short)
|
|
26
|
+
* transition-timing-function: var(--ease-out-expo)
|
|
27
|
+
* - Reduced motion is handled automatically - your custom transitions in
|
|
28
|
+
* component code should still use the duration tokens so they're caught.
|
|
29
|
+
*
|
|
30
|
+
* If you need a token that isn't here, add it to the appropriate section
|
|
31
|
+
* (DARK + LIGHT + @theme inline) instead of inlining a value in a component.
|
|
32
|
+
* This file is the single source. Components reference, don't redefine.
|
|
33
|
+
* ========================================================================== */
|
|
34
|
+
|
|
35
|
+
/* =============================================================================
|
|
36
|
+
* Component Styles (auto-generated by sync-exports)
|
|
37
|
+
* ========================================================================== */
|
|
38
|
+
/* @components-start */
|
|
39
|
+
@import "../components/avatar/avatar.css";
|
|
40
|
+
@import "../components/back-link/back-link.css";
|
|
41
|
+
@import "../components/badge/badge.css";
|
|
42
|
+
@import "../components/button/button.css";
|
|
43
|
+
@import "../components/callout/callout.css";
|
|
44
|
+
@import "../components/card/card.css";
|
|
45
|
+
@import "../components/code-block/code-block.css";
|
|
46
|
+
@import "../components/command-search/command-search.css";
|
|
47
|
+
@import "../components/container/container.css";
|
|
48
|
+
@import "../components/data-list/data-list.css";
|
|
49
|
+
@import "../components/eyebrow/eyebrow.css";
|
|
50
|
+
@import "../components/footer/footer.css";
|
|
51
|
+
@import "../components/input/input.css";
|
|
52
|
+
@import "../components/link-list/link-list.css";
|
|
53
|
+
@import "../components/media-frame/media-frame.css";
|
|
54
|
+
@import "../components/navbar/navbar.css";
|
|
55
|
+
@import "../components/progress/progress.css";
|
|
56
|
+
@import "../components/rail/rail.css";
|
|
57
|
+
@import "../components/resources-panel/resources-panel.css";
|
|
58
|
+
@import "../components/segmented-control/segmented-control.css";
|
|
59
|
+
@import "../components/select/select.css";
|
|
60
|
+
@import "../components/skeleton/skeleton.css";
|
|
61
|
+
@import "../components/status/status.css";
|
|
62
|
+
@import "../components/tag/tag.css";
|
|
63
|
+
@import "../components/testimonial/testimonial.css";
|
|
64
|
+
@import "../components/testimonial-grid/testimonial-grid.css";
|
|
65
|
+
@import "../components/theme-switcher/theme-switcher.css";
|
|
66
|
+
@import "../components/toast/toast.css";
|
|
67
|
+
@import "../components/toggle/toggle.css";
|
|
68
|
+
/* @components-end */
|