@graphenedata/cli 0.0.14 → 0.0.16
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.md +3 -3
- package/README.md +138 -0
- package/THIRD_PARTY_NOTICES.md +1 -0
- package/bin.js +2 -2
- package/dist/cli/bigQuery-I3F46SC6.js +75 -0
- package/dist/cli/bigQuery-I3F46SC6.js.map +7 -0
- package/dist/cli/chunk-OVWODUTJ.js +12849 -0
- package/dist/cli/chunk-OVWODUTJ.js.map +7 -0
- package/dist/cli/chunk-QAXEOZ43.js +53 -0
- package/dist/cli/chunk-QAXEOZ43.js.map +7 -0
- package/dist/cli/cli.js +245 -10290
- package/dist/cli/clickhouse-ZN5AN2UL.js +64 -0
- package/dist/cli/clickhouse-ZN5AN2UL.js.map +7 -0
- package/dist/cli/duckdb-IYBIO5KJ.js +87 -0
- package/dist/cli/duckdb-IYBIO5KJ.js.map +7 -0
- package/dist/cli/serve2-TNN5EROW.js +447 -0
- package/dist/cli/serve2-TNN5EROW.js.map +7 -0
- package/dist/cli/snowflake-MOQB5GA4.js +128 -0
- package/dist/cli/snowflake-MOQB5GA4.js.map +7 -0
- package/dist/index.d.ts +63 -0
- package/dist/lang/index.d.ts +63 -0
- package/dist/skills/graphene/SKILL.md +235 -0
- package/dist/skills/graphene/references/big-value.md +20 -0
- package/dist/skills/graphene/references/date-range.md +64 -0
- package/dist/skills/graphene/references/dropdown.md +62 -0
- package/dist/skills/graphene/references/echarts.md +162 -0
- package/dist/skills/graphene/references/gsql.md +393 -0
- package/dist/skills/graphene/references/model-gsql.md +72 -0
- package/dist/skills/graphene/references/table.md +143 -0
- package/dist/skills/graphene/references/text-input.md +29 -0
- package/dist/ui/app.css +263 -299
- package/dist/ui/component-utilities/dataShaping.ts +484 -0
- package/dist/ui/component-utilities/dataSummary.ts +57 -0
- package/dist/ui/component-utilities/enrich.ts +763 -0
- package/dist/ui/component-utilities/format.ts +177 -0
- package/dist/ui/component-utilities/inputUtils.ts +48 -9
- package/dist/ui/component-utilities/theme.ts +200 -0
- package/dist/ui/component-utilities/themeStores.ts +26 -21
- package/dist/ui/component-utilities/types.ts +70 -0
- package/dist/ui/components/AreaChart.svelte +57 -105
- package/dist/ui/components/BarChart.svelte +71 -129
- package/dist/ui/components/BigValue.svelte +24 -40
- package/dist/ui/components/Column.svelte +11 -19
- package/dist/ui/components/DateRange.svelte +71 -34
- package/dist/ui/components/Dropdown.svelte +82 -49
- package/dist/ui/components/DropdownOption.svelte +1 -2
- package/dist/ui/components/ECharts.svelte +179 -60
- package/dist/ui/components/InlineDelta.svelte +51 -32
- package/dist/ui/components/LineChart.svelte +54 -125
- package/dist/ui/components/PieChart.svelte +27 -37
- package/dist/ui/components/QueryLoad.svelte +78 -44
- package/dist/ui/components/Row.svelte +2 -1
- package/dist/ui/components/ScatterPlot.svelte +52 -0
- package/dist/ui/components/Skeleton.svelte +32 -0
- package/dist/ui/components/Table.svelte +3 -2
- package/dist/ui/components/TableGroupRow.svelte +28 -36
- package/dist/ui/components/TableHarness.svelte +32 -0
- package/dist/ui/components/TableHeader.svelte +34 -59
- package/dist/ui/components/TableRow.svelte +15 -39
- package/dist/ui/components/TableSubtotalRow.svelte +26 -21
- package/dist/ui/components/TableTotalRow.svelte +27 -37
- package/dist/ui/components/TextInput.svelte +17 -14
- package/dist/ui/components/Value.svelte +25 -0
- package/dist/ui/components/_Table.svelte +80 -76
- package/dist/ui/internal/ChartGallery.svelte +527 -0
- package/dist/ui/internal/ErrorDisplay.svelte +60 -0
- package/dist/ui/internal/LocalApp.svelte +87 -19
- package/dist/ui/internal/PageNavGroup.svelte +269 -0
- package/dist/ui/internal/Sidebar.svelte +178 -0
- package/dist/ui/internal/SidebarToggle.svelte +47 -0
- package/dist/ui/internal/StyleGallery.svelte +244 -0
- package/dist/ui/internal/clientCache.ts +15 -13
- package/dist/ui/internal/pageInputs.svelte.js +292 -0
- package/dist/ui/internal/queryEngine.ts +124 -132
- package/dist/ui/internal/runSocket.ts +59 -0
- package/dist/ui/internal/sidebar.svelte.js +18 -0
- package/dist/ui/internal/telemetry.ts +52 -17
- package/dist/ui/internal/types.d.ts +7 -0
- package/dist/ui/web.js +55 -13
- package/package.json +40 -41
- package/dist/docs/agent-instructions.md +0 -18
- package/dist/docs/base.md +0 -98
- package/dist/docs/cli.md +0 -22
- package/dist/docs/graphene.md +0 -1462
- package/dist/ui/component-utilities/autoFormatting.js +0 -301
- package/dist/ui/component-utilities/builtInFormats.js +0 -482
- package/dist/ui/component-utilities/chartContext.js +0 -12
- package/dist/ui/component-utilities/chartWindowDebug.js +0 -21
- package/dist/ui/component-utilities/checkInputs.js +0 -95
- package/dist/ui/component-utilities/convert.js +0 -15
- package/dist/ui/component-utilities/dateParsing.js +0 -57
- package/dist/ui/component-utilities/dropdownContext.ts +0 -1
- package/dist/ui/component-utilities/echarts.js +0 -272
- package/dist/ui/component-utilities/echartsThemes.js +0 -453
- package/dist/ui/component-utilities/formatTitle.js +0 -24
- package/dist/ui/component-utilities/formatting.js +0 -250
- package/dist/ui/component-utilities/getColumnExtents.js +0 -79
- package/dist/ui/component-utilities/getColumnSummary.js +0 -67
- package/dist/ui/component-utilities/getCompletedData.js +0 -114
- package/dist/ui/component-utilities/getDistinctCount.js +0 -7
- package/dist/ui/component-utilities/getDistinctValues.js +0 -15
- package/dist/ui/component-utilities/getSeriesConfig.js +0 -237
- package/dist/ui/component-utilities/getSortedData.js +0 -7
- package/dist/ui/component-utilities/getStackPercentages.js +0 -43
- package/dist/ui/component-utilities/getStackedData.js +0 -17
- package/dist/ui/component-utilities/getYAxisIndex.js +0 -15
- package/dist/ui/component-utilities/globalContexts.js +0 -1
- package/dist/ui/component-utilities/helpers/getCompletedData.helpers.js +0 -119
- package/dist/ui/component-utilities/replaceNulls.js +0 -14
- package/dist/ui/component-utilities/tableUtils.ts +0 -120
- package/dist/ui/components/Area.svelte +0 -214
- package/dist/ui/components/Bar.svelte +0 -350
- package/dist/ui/components/Chart.svelte +0 -989
- package/dist/ui/components/ErrorChart.svelte +0 -118
- package/dist/ui/components/Line.svelte +0 -227
- package/dist/ui/internal/NavSidebar.svelte +0 -396
- package/dist/ui/internal/PageError.svelte +0 -23
- package/dist/ui/internal/checkSocket.ts +0 -48
- package/dist/ui/internal/theme.ts +0 -88
- package/dist/ui/public/inter-latin-ext.woff2 +0 -0
- package/dist/ui/public/inter-latin.woff2 +0 -0
package/dist/ui/app.css
CHANGED
|
@@ -1,147 +1,272 @@
|
|
|
1
|
+
@import '@fontsource/inter/400.css';
|
|
2
|
+
@import '@fontsource/inter/600.css';
|
|
3
|
+
@import '@fontsource/inter/700.css';
|
|
4
|
+
@import '@fontsource/source-sans-3/400.css';
|
|
5
|
+
@import '@fontsource/source-sans-3/600.css';
|
|
6
|
+
@import '@fontsource/source-serif-4/400.css';
|
|
7
|
+
@import '@fontsource/source-serif-4/400-italic.css';
|
|
8
|
+
@import '@fontsource/source-serif-4/600.css';
|
|
9
|
+
@import '@fontsource/source-serif-4/600-italic.css';
|
|
10
|
+
@import '@fontsource/jetbrains-mono/400.css';
|
|
1
11
|
|
|
2
|
-
|
|
3
|
-
font-
|
|
4
|
-
font-
|
|
5
|
-
font-
|
|
6
|
-
font-
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
:root {
|
|
13
|
+
--font-prose: 'Source Serif 4', Georgia, 'Times New Roman', serif;
|
|
14
|
+
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
|
|
15
|
+
--font-ui: 'Source Sans 3', Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
|
|
16
|
+
--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
17
|
+
|
|
18
|
+
--color-bg: #fafaf9;
|
|
19
|
+
--color-primary-strong: #0c0a09;
|
|
20
|
+
--color-body: #57534e;
|
|
21
|
+
--color-muted: #a8a29e;
|
|
22
|
+
--color-tertiary: #7a726a;
|
|
23
|
+
--color-border: #e7e5e4;
|
|
24
|
+
--color-border-strong: #dfddd8;
|
|
25
|
+
--color-code-bg: #f1f0ed;
|
|
26
|
+
--color-code-text: #4a4541;
|
|
27
|
+
|
|
28
|
+
--sidebar: #ffffff;
|
|
29
|
+
--sidebar-foreground: #252525;
|
|
30
|
+
--sidebar-accent: #f4f4f5;
|
|
31
|
+
--sidebar-accent-foreground: #171717;
|
|
32
|
+
--sidebar-border: #e5e5e5;
|
|
33
|
+
--sidebar-ring: #b5b5b5;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* ============================================================
|
|
37
|
+
Base
|
|
38
|
+
============================================================ */
|
|
39
|
+
html {
|
|
40
|
+
scroll-behavior: smooth;
|
|
9
41
|
}
|
|
10
42
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
font-
|
|
15
|
-
font-
|
|
16
|
-
|
|
17
|
-
|
|
43
|
+
body {
|
|
44
|
+
margin: 0;
|
|
45
|
+
min-height: 100vh;
|
|
46
|
+
font-family: var(--font-ui);
|
|
47
|
+
font-synthesis: none;
|
|
48
|
+
font-size: 18px;
|
|
49
|
+
line-height: 1.6;
|
|
50
|
+
color: var(--color-body);
|
|
51
|
+
background-color: var(--color-bg);
|
|
52
|
+
-webkit-font-smoothing: antialiased;
|
|
53
|
+
-moz-osx-font-smoothing: grayscale;
|
|
54
|
+
text-rendering: optimizeLegibility;
|
|
18
55
|
}
|
|
19
56
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--ui-font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
|
|
28
|
-
Roboto, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji",
|
|
29
|
-
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
30
|
-
--ui-font-family-compact: Inter, ui-sans-serif, system-ui, -apple-system,
|
|
31
|
-
"Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial,
|
|
32
|
-
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
33
|
-
"Noto Color Emoji", sans-serif;
|
|
57
|
+
*,
|
|
58
|
+
*::before,
|
|
59
|
+
*::after,
|
|
60
|
+
::backdrop,
|
|
61
|
+
::file-selector-button {
|
|
62
|
+
border-color: var(--color-border);
|
|
63
|
+
}
|
|
34
64
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
--blue-200: #bfdbfe;
|
|
39
|
-
--blue-300: #93c5fd;
|
|
40
|
-
--blue-400: #60a5fa;
|
|
41
|
-
--blue-500: #3b82f6;
|
|
42
|
-
--blue-600: #2563eb;
|
|
43
|
-
--blue-700: #1d4ed8;
|
|
44
|
-
--blue-800: #1e40af;
|
|
45
|
-
--blue-900: #1e3a8a;
|
|
46
|
-
--blue-999: #172554;
|
|
47
|
-
--blue-link: var(--blue-700);
|
|
65
|
+
/* ============================================================
|
|
66
|
+
Typography
|
|
67
|
+
============================================================ */
|
|
48
68
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
--
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
69
|
+
/* Headings — shared family/weight/color/spacing; individual rules set size + margins. */
|
|
70
|
+
h1,
|
|
71
|
+
h2,
|
|
72
|
+
h3,
|
|
73
|
+
h4,
|
|
74
|
+
h5,
|
|
75
|
+
h6 {
|
|
76
|
+
color: var(--color-primary-strong);
|
|
77
|
+
font-family: var(--font-sans);
|
|
78
|
+
font-optical-sizing: auto;
|
|
79
|
+
font-style: normal;
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
letter-spacing: -0.018em;
|
|
82
|
+
line-height: 1.2;
|
|
83
|
+
margin-bottom: 0.75rem;
|
|
84
|
+
scroll-margin-top: 3.5rem;
|
|
85
|
+
break-inside: avoid;
|
|
86
|
+
}
|
|
87
|
+
h1 {
|
|
88
|
+
font-size: 1.75rem;
|
|
89
|
+
margin-top: 3rem;
|
|
90
|
+
}
|
|
91
|
+
h2 {
|
|
92
|
+
font-size: 1.375rem;
|
|
93
|
+
margin-top: 2.75rem;
|
|
94
|
+
}
|
|
95
|
+
h3,
|
|
96
|
+
h4,
|
|
97
|
+
h5,
|
|
98
|
+
h6 {
|
|
99
|
+
font-size: 1.125rem;
|
|
100
|
+
margin-top: 2rem;
|
|
101
|
+
margin-bottom: 0.5rem;
|
|
102
|
+
}
|
|
60
103
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
--grey-700: #374151;
|
|
69
|
-
--grey-800: #1f2937;
|
|
70
|
-
--grey-900: #111827;
|
|
71
|
-
--grey-999: #030712;
|
|
104
|
+
/* Block flow */
|
|
105
|
+
p,
|
|
106
|
+
ul,
|
|
107
|
+
ol {
|
|
108
|
+
margin-block-end: 1.5rem;
|
|
109
|
+
margin-block-start: 0;
|
|
110
|
+
}
|
|
72
111
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
112
|
+
/* Lists */
|
|
113
|
+
ul {
|
|
114
|
+
list-style: disc;
|
|
115
|
+
padding-inline-start: 1.5rem;
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
gap: 0.5rem;
|
|
119
|
+
}
|
|
120
|
+
ol {
|
|
121
|
+
list-style: decimal;
|
|
122
|
+
padding-inline-start: 1.5rem;
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
gap: 0.5rem;
|
|
126
|
+
}
|
|
127
|
+
ul ul {
|
|
128
|
+
list-style: circle;
|
|
129
|
+
}
|
|
130
|
+
ul ul ul {
|
|
131
|
+
list-style: square;
|
|
132
|
+
}
|
|
133
|
+
ol ol {
|
|
134
|
+
list-style: lower-alpha;
|
|
135
|
+
}
|
|
136
|
+
ol ol ol {
|
|
137
|
+
list-style: lower-roman;
|
|
138
|
+
}
|
|
139
|
+
ul ul,
|
|
140
|
+
ul ol,
|
|
141
|
+
ol ul,
|
|
142
|
+
ol ol {
|
|
143
|
+
margin-top: 0.5rem;
|
|
144
|
+
margin-block-end: 0;
|
|
145
|
+
}
|
|
146
|
+
li {
|
|
147
|
+
list-style: inherit;
|
|
148
|
+
text-align: -webkit-match-parent;
|
|
149
|
+
}
|
|
150
|
+
li::marker {
|
|
151
|
+
color: var(--color-primary-strong);
|
|
152
|
+
}
|
|
84
153
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
--
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
--
|
|
94
|
-
|
|
95
|
-
--yellow-999: #422006;
|
|
154
|
+
/* Links */
|
|
155
|
+
a {
|
|
156
|
+
color: var(--color-body);
|
|
157
|
+
text-decoration: underline;
|
|
158
|
+
text-underline-offset: 6px;
|
|
159
|
+
transition: color 0.15s;
|
|
160
|
+
}
|
|
161
|
+
a:hover {
|
|
162
|
+
color: var(--color-primary-strong);
|
|
163
|
+
}
|
|
96
164
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
165
|
+
/* Inline formatting */
|
|
166
|
+
strong {
|
|
167
|
+
color: var(--color-primary-strong);
|
|
168
|
+
font-weight: 600;
|
|
169
|
+
}
|
|
170
|
+
del {
|
|
171
|
+
color: var(--color-muted);
|
|
103
172
|
}
|
|
104
173
|
|
|
105
|
-
|
|
106
|
-
|
|
174
|
+
/* Code */
|
|
175
|
+
code {
|
|
176
|
+
font-family: var(--font-mono);
|
|
177
|
+
font-size: 0.875em;
|
|
178
|
+
background: var(--color-code-bg);
|
|
179
|
+
border-radius: 4px;
|
|
180
|
+
padding: 0.15em 0.4em;
|
|
181
|
+
}
|
|
182
|
+
form code {
|
|
183
|
+
font-size: unset;
|
|
107
184
|
}
|
|
108
185
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
186
|
+
pre {
|
|
187
|
+
background: var(--color-code-bg);
|
|
188
|
+
border: 1px solid var(--color-border-strong);
|
|
189
|
+
border-radius: 0.75rem;
|
|
190
|
+
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
|
|
191
|
+
padding: 1.25rem 1.75rem;
|
|
192
|
+
overflow-x: auto;
|
|
193
|
+
margin-bottom: 1.5rem;
|
|
194
|
+
font-size: 0.75rem;
|
|
195
|
+
}
|
|
196
|
+
pre code {
|
|
197
|
+
background: none;
|
|
198
|
+
padding: 0;
|
|
199
|
+
font-size: 0.75rem;
|
|
200
|
+
color: var(--color-code-text);
|
|
201
|
+
white-space: pre-wrap;
|
|
112
202
|
}
|
|
113
203
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
204
|
+
/* Blockquote */
|
|
205
|
+
blockquote {
|
|
206
|
+
border-left: 3px solid var(--color-border-strong);
|
|
207
|
+
padding-left: 1.25rem;
|
|
208
|
+
margin-bottom: 1.5rem;
|
|
209
|
+
color: var(--color-tertiary);
|
|
210
|
+
}
|
|
211
|
+
blockquote > :first-child {
|
|
212
|
+
margin-top: 0;
|
|
213
|
+
}
|
|
214
|
+
blockquote > :last-child {
|
|
215
|
+
margin-bottom: 0;
|
|
121
216
|
}
|
|
122
217
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
218
|
+
/* Horizontal rule */
|
|
219
|
+
hr {
|
|
220
|
+
border: none;
|
|
221
|
+
border-top: 1px solid var(--color-border);
|
|
222
|
+
margin: 2.5rem 0;
|
|
128
223
|
}
|
|
129
224
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
225
|
+
/* Tables */
|
|
226
|
+
table {
|
|
227
|
+
width: 100%;
|
|
228
|
+
border-collapse: collapse;
|
|
229
|
+
margin-bottom: 1.5rem;
|
|
230
|
+
font-family: var(--font-ui);
|
|
231
|
+
font-size: 0.9375rem;
|
|
232
|
+
}
|
|
233
|
+
th {
|
|
234
|
+
color: var(--color-primary-strong);
|
|
235
|
+
font-weight: 600;
|
|
236
|
+
text-align: left;
|
|
237
|
+
padding: 0.625rem 1rem;
|
|
238
|
+
border-bottom: 2px solid var(--color-border-strong);
|
|
239
|
+
}
|
|
240
|
+
td {
|
|
241
|
+
padding: 0.5rem 1rem;
|
|
242
|
+
border-bottom: 1px solid var(--color-border);
|
|
134
243
|
}
|
|
135
244
|
|
|
136
|
-
/*
|
|
137
|
-
|
|
138
|
-
|
|
245
|
+
/* ============================================================
|
|
246
|
+
Form resets
|
|
247
|
+
============================================================ */
|
|
248
|
+
button,
|
|
249
|
+
input,
|
|
250
|
+
optgroup,
|
|
251
|
+
select,
|
|
252
|
+
textarea {
|
|
253
|
+
font: inherit;
|
|
254
|
+
color: inherit;
|
|
255
|
+
}
|
|
256
|
+
select {
|
|
257
|
+
appearance: none;
|
|
258
|
+
-moz-appearance: none;
|
|
259
|
+
-webkit-appearance: none;
|
|
139
260
|
}
|
|
140
261
|
|
|
262
|
+
/* ============================================================
|
|
263
|
+
Utilities
|
|
264
|
+
============================================================ */
|
|
265
|
+
|
|
141
266
|
/* OSX-style scrollbars */
|
|
142
267
|
.pretty-scrollbar {
|
|
143
268
|
scrollbar-width: thin;
|
|
144
|
-
scrollbar-color:
|
|
269
|
+
scrollbar-color: #d1d5db transparent;
|
|
145
270
|
}
|
|
146
271
|
.pretty-scrollbar::-webkit-scrollbar {
|
|
147
272
|
height: 6px;
|
|
@@ -155,34 +280,28 @@ main {
|
|
|
155
280
|
border-radius: 7px;
|
|
156
281
|
}
|
|
157
282
|
.pretty-scrollbar:hover::-webkit-scrollbar-thumb {
|
|
158
|
-
background-color:
|
|
283
|
+
background-color: #e5e7eb;
|
|
159
284
|
}
|
|
160
285
|
|
|
161
286
|
/* Hidden scrollbar */
|
|
162
|
-
.no-scrollbar::-webkit-scrollbar {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
.chart {
|
|
166
|
-
margin: 1rem 0;
|
|
287
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
288
|
+
display: none;
|
|
167
289
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
appearance: none;
|
|
172
|
-
-moz-appearance: none;
|
|
173
|
-
-webkit-appearance: none;
|
|
290
|
+
.no-scrollbar {
|
|
291
|
+
-ms-overflow-style: none;
|
|
292
|
+
scrollbar-width: none;
|
|
174
293
|
}
|
|
175
294
|
|
|
176
|
-
/*
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
-
|
|
182
|
-
-moz-osx-font-smoothing: grayscale;
|
|
295
|
+
/* ============================================================
|
|
296
|
+
Prose container (rendered markdown)
|
|
297
|
+
============================================================ */
|
|
298
|
+
.pageContent {
|
|
299
|
+
font-family: var(--font-prose);
|
|
300
|
+
letter-spacing: -0.01em;
|
|
183
301
|
}
|
|
184
302
|
|
|
185
|
-
|
|
303
|
+
/* Embedded images in rendered markdown */
|
|
304
|
+
.pageContent img {
|
|
186
305
|
display: block;
|
|
187
306
|
margin-left: auto;
|
|
188
307
|
margin-right: auto;
|
|
@@ -191,171 +310,16 @@ img {
|
|
|
191
310
|
border-radius: 0.5rem;
|
|
192
311
|
}
|
|
193
312
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
text-decoration: underline;
|
|
197
|
-
text-decoration-color: transparent;
|
|
198
|
-
transition: color 200ms ease, text-decoration-color 200ms ease;
|
|
199
|
-
}
|
|
200
|
-
article a:hover {
|
|
201
|
-
text-decoration-color: var(--primary);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
p,
|
|
205
|
-
ul,
|
|
206
|
-
ol {
|
|
207
|
-
margin-block-end: 1.2em;
|
|
208
|
-
margin-block-start: 0;
|
|
209
|
-
line-height: 1.7;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/* Lists */
|
|
213
|
-
ol { list-style: decimal; padding-inline-start: 1.5rem; }
|
|
214
|
-
ul { list-style: disc; padding-inline-start: 1.5rem; }
|
|
215
|
-
|
|
216
|
-
/* Second-level lists */
|
|
217
|
-
ul ul { list-style: circle; }
|
|
218
|
-
ol ol { list-style: lower-alpha; }
|
|
219
|
-
|
|
220
|
-
/* Any second-level list spacing */
|
|
221
|
-
ul ul,
|
|
222
|
-
ul ol,
|
|
223
|
-
ol ul,
|
|
224
|
-
ol ol {
|
|
225
|
-
margin-top: 0.25rem;
|
|
226
|
-
margin-block-end: 0;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/* Third-level lists */
|
|
230
|
-
ul ul ul { list-style: square; }
|
|
231
|
-
ol ol ol { list-style: lower-roman; }
|
|
232
|
-
|
|
233
|
-
li {
|
|
234
|
-
list-style: inherit;
|
|
235
|
-
text-align: -webkit-match-parent;
|
|
236
|
-
}
|
|
237
|
-
li + li { margin-top: 0.25rem; }
|
|
238
|
-
|
|
239
|
-
/* Headings */
|
|
240
|
-
h1,
|
|
241
|
-
h2,
|
|
242
|
-
h3,
|
|
243
|
-
h4,
|
|
244
|
-
h5,
|
|
245
|
-
h6 {
|
|
246
|
-
scroll-margin-top: var(--header-height);
|
|
247
|
-
break-inside: avoid;
|
|
248
|
-
color: var(--base-heading);
|
|
249
|
-
font-family: "Inter", var(--ui-font-family);
|
|
250
|
-
font-optical-sizing: auto;
|
|
251
|
-
font-weight: 100;
|
|
252
|
-
font-style: normal;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/* h1.title:first-of-type,
|
|
256
|
-
h1:first-of-type { margin-top: 0.25rem; margin-bottom: 0.5rem; } */
|
|
257
|
-
|
|
258
|
-
h1.title,
|
|
259
|
-
h1 {
|
|
260
|
-
margin-top: 2rem;
|
|
261
|
-
margin-bottom: 0.25rem;
|
|
262
|
-
font-size: 1.5rem;
|
|
263
|
-
line-height: 2rem;
|
|
264
|
-
letter-spacing: 0.025em;
|
|
265
|
-
font-weight: 700;
|
|
266
|
-
break-inside: avoid;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
h2 {
|
|
270
|
-
margin-top: 1.5rem;
|
|
271
|
-
margin-bottom: 0.25rem;
|
|
272
|
-
font-size: 1.25rem;
|
|
273
|
-
line-height: 1.75rem;
|
|
274
|
-
font-weight: 600;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
h3 {
|
|
278
|
-
margin-top: 1.25rem;
|
|
279
|
-
margin-bottom: 0.25rem;
|
|
280
|
-
font-size: 1rem;
|
|
281
|
-
line-height: 1.5rem;
|
|
282
|
-
font-weight: 600;
|
|
313
|
+
.pageContent .chart {
|
|
314
|
+
margin: 1rem 0 2rem;
|
|
283
315
|
}
|
|
284
316
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
hr {
|
|
290
|
-
height: 1px;
|
|
291
|
-
margin-top: 2rem;
|
|
292
|
-
margin-bottom: 2rem;
|
|
293
|
-
max-width: 36rem;
|
|
294
|
-
margin-left: auto;
|
|
295
|
-
margin-right: auto;
|
|
296
|
-
background-color: var(--base-300);
|
|
297
|
-
border: 0;
|
|
317
|
+
/* Viz/UI components render as direct div children — default bottom margin for dashboard flow */
|
|
318
|
+
.pageContent > div {
|
|
319
|
+
margin-bottom: 1.5rem;
|
|
298
320
|
}
|
|
299
321
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
background-color: var(--base-200);
|
|
304
|
-
border: 1px solid var(--base-300);
|
|
305
|
-
border-radius: 0.125rem;
|
|
306
|
-
padding-left: 0.25rem;
|
|
307
|
-
padding-right: 0.25rem;
|
|
308
|
-
padding-top: 0.125rem;
|
|
309
|
-
padding-bottom: 0.125rem;
|
|
322
|
+
/* Extra breathing room when prose follows a viz */
|
|
323
|
+
.pageContent > div + :is(p, ul, ol, blockquote, hr, table, pre) {
|
|
324
|
+
margin-top: 1rem;
|
|
310
325
|
}
|
|
311
|
-
|
|
312
|
-
form code { font-size: unset; }
|
|
313
|
-
|
|
314
|
-
blockquote {
|
|
315
|
-
background-color: var(--base-200);
|
|
316
|
-
border-left: 4px solid var(--base-content-muted);
|
|
317
|
-
padding-left: 0.75rem;
|
|
318
|
-
margin-top: 2rem;
|
|
319
|
-
margin-bottom: 2rem;
|
|
320
|
-
padding-top: 0.5rem;
|
|
321
|
-
padding-bottom: 0.5rem;
|
|
322
|
-
}
|
|
323
|
-
blockquote > blockquote { margin: 0; }
|
|
324
|
-
blockquote > :first-child { margin-top: 0; }
|
|
325
|
-
blockquote > :last-child { margin-bottom: 0; }
|
|
326
|
-
blockquote * { color: var(--base-content-muted); }
|
|
327
|
-
|
|
328
|
-
/* Ensure size and color are maintained for bold, italic, strikethrough, links inside markdown */
|
|
329
|
-
strong, em, del, a { font-size: 1em; color: inherit; }
|
|
330
|
-
|
|
331
|
-
/*table {
|
|
332
|
-
min-width: 100%;
|
|
333
|
-
border-collapse: collapse;
|
|
334
|
-
text-align: center;
|
|
335
|
-
margin-left: auto;
|
|
336
|
-
margin-right: auto;
|
|
337
|
-
margin-top: 1.25rem;
|
|
338
|
-
margin-bottom: 1.25rem;
|
|
339
|
-
}
|
|
340
|
-
th {
|
|
341
|
-
font-size: 0.875rem;
|
|
342
|
-
line-height: 1.25rem;
|
|
343
|
-
font-weight: 500;
|
|
344
|
-
border-bottom: 1px solid var(--grey-800);
|
|
345
|
-
padding-top: 0;
|
|
346
|
-
padding-bottom: 0;
|
|
347
|
-
padding-left: 0.5rem;
|
|
348
|
-
padding-right: 0.5rem;
|
|
349
|
-
text-overflow: ellipsis;
|
|
350
|
-
overflow: hidden;
|
|
351
|
-
}
|
|
352
|
-
td {
|
|
353
|
-
font-size: 0.875rem;
|
|
354
|
-
line-height: 1.25rem;
|
|
355
|
-
padding-top: 0.25rem;
|
|
356
|
-
padding-bottom: 0.25rem;
|
|
357
|
-
padding-left: 0.5rem;
|
|
358
|
-
padding-right: 0.5rem;
|
|
359
|
-
overflow: hidden;
|
|
360
|
-
text-overflow: ellipsis;
|
|
361
|
-
}*/
|