@veluai/velu 0.2.41 → 0.2.43
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/dist/cli.js +43 -43
- package/docs/kadhir.md +31 -0
- package/docs/mintlify-migration.md +2 -0
- package/package.json +3 -2
- package/runtime/velu-ui/base.css +4 -0
- package/runtime/velu-ui/components/ApiReferencePage.jsx +4 -4
- package/runtime/velu-ui/components/ApiSamples.jsx +2 -2
- package/runtime/velu-ui/components/Card.jsx +6 -1
- package/runtime/velu-ui/components/PageFooter.jsx +1 -1
- package/runtime/velu-ui/components/PageHeader.jsx +8 -19
- package/runtime/velu-ui/components/PoweredBy.jsx +2 -0
- package/runtime/velu-ui/components/VepaFooter.jsx +5 -4
- package/runtime/velu-ui/components/api-page.css +6 -6
- package/runtime/velu-ui/components/api.css +2 -2
- package/runtime/velu-ui/components/ask-bar.css +3 -3
- package/runtime/velu-ui/components/changelog-filters.css +5 -5
- package/runtime/velu-ui/components/chatbot.css +5 -5
- package/runtime/velu-ui/components/code-block.css +2 -2
- package/runtime/velu-ui/components/context-menu.css +1 -1
- package/runtime/velu-ui/components/docs-layout.css +3 -3
- package/runtime/velu-ui/components/field.css +1 -1
- package/runtime/velu-ui/components/image.css +1 -1
- package/runtime/velu-ui/components/not-found.css +1 -1
- package/runtime/velu-ui/components/page-feedback.css +5 -5
- package/runtime/velu-ui/components/page-footer.css +1 -1
- package/runtime/velu-ui/components/page-header.css +11 -3
- package/runtime/velu-ui/components/page-nav.css +1 -1
- package/runtime/velu-ui/components/powered-by.css +1 -1
- package/runtime/velu-ui/components/prompt.css +2 -2
- package/runtime/velu-ui/components/search.css +1 -1
- package/runtime/velu-ui/components/sidebar.css +2 -2
- package/runtime/velu-ui/components/toc-bar.css +2 -2
- package/runtime/velu-ui/components/update.css +1 -1
- package/runtime/velu-ui/lib/velu-mark.jsx +20 -0
- package/runtime/velu-ui/styles.css +13 -1
- package/runtime/velu-ui/themes/aalam.css +19 -8
- package/runtime/velu-ui/themes/kadhir.css +77 -0
- package/runtime/velu-ui/themes/nila.css +6 -1
- package/runtime/velu-ui/themes/thulir.css +240 -231
- package/runtime/velu-ui/themes/vepa.css +21 -10
- package/schema/velu.schema.json +1 -1
- package/src/runtime/App.jsx +49 -37
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
opacity: 0;
|
|
28
28
|
z-index: 0;
|
|
29
29
|
pointer-events: none;
|
|
30
|
-
background:
|
|
30
|
+
background: rgb(from var(--accent-color) r g b / 8%);
|
|
31
31
|
border-radius: var(--radius-sm);
|
|
32
32
|
transition:
|
|
33
33
|
transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
pointer-events: none;
|
|
92
92
|
background: linear-gradient(
|
|
93
93
|
to bottom,
|
|
94
|
-
|
|
94
|
+
rgb(from var(--velu-sidebar-bg, var(--page-bg)) r g b / 55%),
|
|
95
95
|
transparent
|
|
96
96
|
);
|
|
97
97
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
so the bar reads as a layer over the page rather than a solid
|
|
23
23
|
band. The dropdown below uses the same recipe so the bar +
|
|
24
24
|
expanded list look like one continuous translucent fabric. */
|
|
25
|
-
background:
|
|
25
|
+
background: rgb(from var(--page-bg) r g b / 75%);
|
|
26
26
|
backdrop-filter: saturate(140%) blur(12px);
|
|
27
27
|
-webkit-backdrop-filter: saturate(140%) blur(12px);
|
|
28
28
|
border-block-end: var(--border-width) solid var(--surface-color);
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
/* Same frosted recipe as the bar above (no shadow, no top
|
|
166
166
|
border) so the open dropdown reads as the bar EXTENDED DOWN,
|
|
167
167
|
not a separate floating panel. */
|
|
168
|
-
background:
|
|
168
|
+
background: rgb(from var(--page-bg) r g b / 75%);
|
|
169
169
|
backdrop-filter: saturate(140%) blur(12px);
|
|
170
170
|
-webkit-backdrop-filter: saturate(140%) blur(12px);
|
|
171
171
|
/* Bottom border terminates the combined bar+dropdown against
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* VeluMark — the Velu brand mark (32x24 comet), inlined as JSX like the
|
|
5
|
+
* lucide icons (no SVG loader). Artwork from velu-mark.svg; fill follows
|
|
6
|
+
* `currentColor` so it inherits the surrounding text color across
|
|
7
|
+
* light/dark themes.
|
|
8
|
+
*
|
|
9
|
+
* Used by the "Powered by Velu" credits (PoweredBy badge + vepa/thulir
|
|
10
|
+
* family footer bottom row). NOT used in headers — those render the
|
|
11
|
+
* wordmark alone (PageHeader's VeluMark stub stays null).
|
|
12
|
+
*/
|
|
13
|
+
export default function VeluMark({ className = '', ...rest }) {
|
|
14
|
+
return (
|
|
15
|
+
<svg viewBox="0 0 32 24" fill="none" aria-hidden="true" className={className} {...rest}>
|
|
16
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M29.6564 14.1534C29.5739 14.5616 29.3507 14.9288 29.0248 15.1926C28.699 15.4565 28.2907 15.6007 27.8694 15.6006H21.3702C20.5341 15.6006 19.8051 16.1627 19.6031 16.9638L18.1671 22.6368C18.0685 23.0263 17.8409 23.372 17.5205 23.619C17.2002 23.866 16.8054 24.0001 16.399 24H10.4378C10.1609 24.0001 9.88759 23.9378 9.63868 23.8179C9.38976 23.6979 9.1718 23.5235 9.00135 23.3079C8.8309 23.0923 8.71245 22.8412 8.65499 22.5736C8.59754 22.306 8.6026 22.029 8.66978 21.7636L10.1888 15.7636C10.2874 15.3743 10.5148 15.0287 10.835 14.7817C11.1551 14.5347 11.5496 14.4005 11.9559 14.4004H18.3931C19.2621 14.4004 20.0101 13.7949 20.1801 12.9532L22.3882 2.04774C22.4705 1.63945 22.6936 1.27198 23.0195 1.00793C23.3453 0.74388 23.7538 0.599578 24.1752 0.599605H30.1774C30.4471 0.599529 30.7134 0.658587 30.9572 0.772515C31.201 0.886444 31.4161 1.0524 31.5871 1.25842C31.758 1.46443 31.8806 1.70537 31.9458 1.96383C32.0111 2.2223 32.0175 2.49185 31.9645 2.75305L29.6564 14.1534ZM9.61081 13.5538C9.52825 13.962 9.30507 14.3292 8.97924 14.593C8.65341 14.8569 8.24508 15.0011 7.82375 15.001H1.82257C1.55289 15.0011 1.28656 14.942 1.04279 14.8281C0.79902 14.7141 0.583892 14.5482 0.412928 14.3422C0.241965 14.1362 0.11943 13.8952 0.0541639 13.6368C-0.0111017 13.3783 -0.0174699 13.1087 0.0355186 12.8475L2.34359 1.44715C2.42614 1.03904 2.64933 0.671798 2.97516 0.407944C3.30099 0.144089 3.70932 -7.24082e-05 4.13064 7.25899e-08H10.1318C10.4015 -7.55792e-05 10.6678 0.0589818 10.9116 0.172911C11.1554 0.286839 11.3705 0.452799 11.5415 0.658813C11.7124 0.864828 11.835 1.10576 11.9002 1.36423C11.9655 1.62269 11.9719 1.89225 11.9189 2.15344L9.61081 13.5528V13.5538Z" fill="currentColor"/>
|
|
17
|
+
</svg>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -10,7 +10,17 @@
|
|
|
10
10
|
`card { border-radius: 0 }` (specificity 0,0,1) overrides `.velu-card`
|
|
11
11
|
(0,1,0) because velu-ui lives in a layer and the project sheet does not.
|
|
12
12
|
The `velu` layer is declared after Tailwind's, so our fluid type/measure
|
|
13
|
-
still beat Tailwind's preflight, as before.
|
|
13
|
+
still beat Tailwind's preflight, as before.
|
|
14
|
+
|
|
15
|
+
NOTE — do NOT use color-mix() with var() arguments anywhere in this
|
|
16
|
+
package. The static-build pipeline (@tailwindcss/vite → LightningCSS)
|
|
17
|
+
splits every color-mix into a solid fallback + an @supports upgrade,
|
|
18
|
+
and the upgrade loses its selector inside @layer/@container nesting
|
|
19
|
+
(emitted as a bare `{...}` block browsers drop). The solid fallback
|
|
20
|
+
then wins, so tints render as SOLID colors in `velu build` output
|
|
21
|
+
while `velu dev` (no Lightning pass) looks correct. Write var-based
|
|
22
|
+
tints as rgb(from var(--x) r g b / N%) instead — same rendering in
|
|
23
|
+
dev and build on all supported browsers. */
|
|
14
24
|
@layer theme, base, components, utilities, velu;
|
|
15
25
|
|
|
16
26
|
@import 'tailwindcss';
|
|
@@ -67,3 +77,5 @@
|
|
|
67
77
|
@import './themes/thulir.css' layer(velu);
|
|
68
78
|
@import './themes/aalam.css' layer(velu);
|
|
69
79
|
@import './themes/nila.css' layer(velu);
|
|
80
|
+
|
|
81
|
+
@import './themes/kadhir.css' layer(velu);
|
|
@@ -48,7 +48,9 @@
|
|
|
48
48
|
}
|
|
49
49
|
[data-site-theme='aalam'] .velu-docs-layout__drawer-close { display: none; }
|
|
50
50
|
[data-site-theme='aalam'] .velu-docs-layout__drawer-brand {
|
|
51
|
-
display:
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 8px;
|
|
52
54
|
flex: none;
|
|
53
55
|
max-width: 12rem;
|
|
54
56
|
}
|
|
@@ -57,7 +59,7 @@
|
|
|
57
59
|
display: block;
|
|
58
60
|
font-size: 30px;
|
|
59
61
|
line-height: 1.15;
|
|
60
|
-
font-weight:
|
|
62
|
+
font-weight: 300;
|
|
61
63
|
letter-spacing: -0.025em;
|
|
62
64
|
}
|
|
63
65
|
[data-site-theme='aalam'] .velu-docs-layout__drawer-head .velu-theme-toggle {
|
|
@@ -76,7 +78,7 @@
|
|
|
76
78
|
width: 20px;
|
|
77
79
|
height: 20px;
|
|
78
80
|
border-radius: 50%;
|
|
79
|
-
background:
|
|
81
|
+
background: rgb(from var(--text-color) r g b / 10%);
|
|
80
82
|
transition: transform 0.2s ease;
|
|
81
83
|
pointer-events: none;
|
|
82
84
|
}
|
|
@@ -123,6 +125,15 @@
|
|
|
123
125
|
[data-site-theme='aalam'] .velu-docs-layout__center { margin-right: 0; }
|
|
124
126
|
[data-site-theme='aalam'] .velu-toc-bar { inset-block-start: 48px; }
|
|
125
127
|
}
|
|
128
|
+
/* Center page mode (changelogs) keeps Aalam's left rail — brand, search
|
|
129
|
+
and nav are integral chrome, not a collapsible aside. Base center-mode
|
|
130
|
+
hides all asides and zeroes the tracked margins; restore the rail and
|
|
131
|
+
its margins here (header is already offset 19rem). */
|
|
132
|
+
@container docs (min-width: 1024px) {
|
|
133
|
+
.velu-docs-layout[data-site-theme='aalam'][data-page-mode='center'] .velu-docs-layout__aside--left { display: flex; }
|
|
134
|
+
.velu-docs-layout[data-site-theme='aalam'][data-page-mode='center'] .velu-docs-layout__center { margin-inline-start: 19rem; }
|
|
135
|
+
.velu-docs-layout[data-site-theme='aalam'][data-page-mode='center'] > [data-velu-footer] { margin-inline-start: 19rem; }
|
|
136
|
+
}
|
|
126
137
|
[data-site-theme='aalam'] .velu-docs-aside-product .velu-nav-select { display: block; width: 100%; }
|
|
127
138
|
[data-site-theme='aalam'] .velu-docs-aside-product .velu-nav-select__btn {
|
|
128
139
|
min-height: 32px;
|
|
@@ -133,10 +144,10 @@
|
|
|
133
144
|
font-size: 14px;
|
|
134
145
|
font-weight: 500;
|
|
135
146
|
line-height: 20px;
|
|
136
|
-
background:
|
|
147
|
+
background: rgb(from var(--text-color) r g b / 5%);
|
|
137
148
|
}
|
|
138
149
|
[data-site-theme='aalam'] .velu-docs-aside-product .velu-nav-select__btn:hover {
|
|
139
|
-
background:
|
|
150
|
+
background: rgb(from var(--text-color) r g b / 8%);
|
|
140
151
|
}
|
|
141
152
|
[data-site-theme='aalam'] .velu-docs-aside-footer {
|
|
142
153
|
flex: none;
|
|
@@ -160,7 +171,7 @@
|
|
|
160
171
|
background: transparent;
|
|
161
172
|
}
|
|
162
173
|
[data-site-theme='aalam'] .velu-docs-aside-footer .velu-nav-select__btn:hover {
|
|
163
|
-
background:
|
|
174
|
+
background: rgb(from var(--text-color) r g b / 5%);
|
|
164
175
|
}
|
|
165
176
|
[data-site-theme='aalam'] .velu-docs-aside-footer .velu-nav-select__menu {
|
|
166
177
|
inset-block-start: auto;
|
|
@@ -189,14 +200,14 @@
|
|
|
189
200
|
width: calc(100% - 1rem);
|
|
190
201
|
box-sizing: border-box;
|
|
191
202
|
border-radius: 0;
|
|
192
|
-
border-left: 1px solid
|
|
203
|
+
border-left: 1px solid rgb(from var(--text-color) r g b / 5%);
|
|
193
204
|
gap: 12px;
|
|
194
205
|
font: 400 14px/20px var(--font-sans);
|
|
195
206
|
background: transparent;
|
|
196
207
|
}
|
|
197
208
|
[data-site-theme='aalam'] :is(.velu-sidebar__item,.velu-api-sidebar__item):hover {
|
|
198
209
|
background: transparent;
|
|
199
|
-
border-left-color:
|
|
210
|
+
border-left-color: rgb(from var(--text-color) r g b / 20%);
|
|
200
211
|
color: var(--thulir-heading);
|
|
201
212
|
}
|
|
202
213
|
[data-site-theme='aalam'] :is(.velu-sidebar__item--active,.velu-api-sidebar__item--active) {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* Kadhir: independent Luma layout, measured with @mintlify/client 0.0.3566.
|
|
2
|
+
Shared reading components and accessible drawer behavior use thulir.css. */
|
|
3
|
+
[data-site-theme='kadhir'] .velu-pagenav { margin-block: 48px 64px; }
|
|
4
|
+
[data-site-theme='kadhir'] .velu-hero h1 { font-size: 36px; line-height: 36px; font-weight: 500; letter-spacing: -.8px; }
|
|
5
|
+
[data-site-theme='kadhir'] .velu-sidebar__item { background: transparent; min-height: 32px; padding-right: 12px; }
|
|
6
|
+
[data-site-theme='kadhir'] .velu-sidebar__item--active { font-weight: 400; }
|
|
7
|
+
/* Mint Luma marks the selected API endpoint with accent text only — no
|
|
8
|
+
persistent tint band (thulir.css paints one for the whole family). */
|
|
9
|
+
[data-site-theme='kadhir'] .velu-api-sidebar__item--active { background: transparent; font-weight: 400; }
|
|
10
|
+
/* Mint Luma hover: text shifts to accent, no background wash
|
|
11
|
+
(thulir.css paints a surface-color bg for the whole family). */
|
|
12
|
+
[data-site-theme='kadhir'] :is(.velu-sidebar__item, .velu-api-sidebar__item):hover { background: transparent; color: var(--accent-color); }
|
|
13
|
+
[data-site-theme='kadhir'] .velu-sidebar__label { white-space: normal; overflow-wrap: anywhere; }
|
|
14
|
+
[data-site-theme='kadhir'] .velu-sidebar__indicator { display: none; }
|
|
15
|
+
[data-site-theme='kadhir'] .velu-sidebar__section { text-transform: capitalize; font-size: 12px; font-weight: 600; }
|
|
16
|
+
[data-site-theme='kadhir'] .velu-docs-nav-scroll { overflow-x: hidden; }
|
|
17
|
+
[data-site-theme='kadhir'] .velu-sidebar__section { padding-inline: 0; }
|
|
18
|
+
[data-site-theme='kadhir'] .velu-docs-nav-scroll { background-image: none; scrollbar-width: thin; scrollbar-color: transparent transparent; }
|
|
19
|
+
[data-site-theme='kadhir'] .velu-docs-nav-scroll:hover { scrollbar-color: var(--border-color) transparent; }
|
|
20
|
+
[data-site-theme='kadhir'] .velu-header__action { border-radius: 999px; }
|
|
21
|
+
[data-site-theme='kadhir'] .velu-header__action--primary { background: var(--accent-color); padding-inline: 16px; }
|
|
22
|
+
[data-site-theme='kadhir'] .velu-header__action--primary::after { display: none; }
|
|
23
|
+
[data-site-theme='kadhir'] .velu-header__action:not(.velu-header__action--primary) { border: 1px solid var(--border-color); padding: 7px 16px; }
|
|
24
|
+
[data-site-theme='kadhir'] .velu-vepa-toc { padding-top: 16px; width: 100%; }
|
|
25
|
+
@container docs (min-width: 1024px) {
|
|
26
|
+
[data-site-theme='kadhir'] .velu-header { display: grid !important; grid-template-columns: 248px minmax(0,1fr) auto auto; align-items: center; gap: 8px !important; height: 48px; padding: 0 36px; border-bottom: 1px solid var(--border-color); }
|
|
27
|
+
[data-site-theme='kadhir'] .velu-header__top { display: contents; }
|
|
28
|
+
[data-site-theme='kadhir'] .velu-header__top::after { display: none; }
|
|
29
|
+
[data-site-theme='kadhir'] .velu-header__col--brand { grid-column: 1; grid-row: 1; flex-wrap: nowrap !important; }
|
|
30
|
+
[data-site-theme='kadhir'] .velu-header__col--brand > .velu-hide-on-mobile { display: flex; gap: 28px; }
|
|
31
|
+
[data-site-theme='kadhir'] .velu-header .velu-nav-select__btn { border: 0; padding: 4px 8px; background: transparent; font-size: 14px; }
|
|
32
|
+
[data-site-theme='kadhir'] .velu-header .velu-nav-select__btn-icon { display: none; }
|
|
33
|
+
[data-site-theme='kadhir'] .velu-docs-context:not(:has(.velu-docs-anchors)) { display: none !important; }
|
|
34
|
+
[data-site-theme='kadhir'] .velu-header__col--center { grid-column: 3; grid-row: 1; width: auto; }
|
|
35
|
+
[data-site-theme='kadhir'] .velu-header__col--actions { grid-column: 4; grid-row: 1; gap: 8px !important; }
|
|
36
|
+
[data-site-theme='kadhir'] .velu-header__actions-list { gap: 8px !important; }
|
|
37
|
+
[data-site-theme='kadhir'] .velu-header__tabs { grid-column: 2; grid-row: 1; padding: 0; height: 48px; justify-content: safe center !important; gap: 4px !important; overflow-x: auto; flex-wrap: nowrap !important; }
|
|
38
|
+
[data-site-theme='kadhir'] .velu-header__tab { padding: 8px 16px; height: 36px; border-radius: 999px; flex: none; }
|
|
39
|
+
[data-site-theme='kadhir'] .velu-header__tab::after { display: none; }
|
|
40
|
+
[data-site-theme='kadhir'] .velu-header__tab--active { background: var(--surface-color); font-weight: 500; border-bottom-color: transparent; }
|
|
41
|
+
[data-site-theme='kadhir'] .velu-search__trigger { width: 36px !important; height: 36px; border-radius: 50%; padding: 0; justify-content: center; border: 0; background: var(--surface-color); font-size: 0; gap: 0; }
|
|
42
|
+
[data-site-theme='kadhir'] .velu-search__trigger .velu-search__kbd { display: none; }
|
|
43
|
+
[data-site-theme='kadhir'] .velu-search__trigger-label { display: none; }
|
|
44
|
+
[data-site-theme='kadhir'] .velu-search__trigger-icon { font-size: 12px; }
|
|
45
|
+
/* Ask AI entry renders beside search in static builds — same 36px
|
|
46
|
+
icon-circle treatment (label hidden), mirroring Luma's icon entry. */
|
|
47
|
+
[data-site-theme='kadhir'] #assistant-entry { width: 36px !important; height: 36px; border-radius: 50%; padding: 0; justify-content: center; border: 0; background: var(--surface-color); }
|
|
48
|
+
[data-site-theme='kadhir'] #assistant-entry > span:last-child { display: none; }
|
|
49
|
+
[data-site-theme='kadhir'] .velu-docs-layout__aside--left { top: 48px; bottom: 0; left: 0; width: 248px; padding: 16px 20px 24px 20px; }
|
|
50
|
+
[data-site-theme='kadhir'] .velu-sidebar { width: 100%; }
|
|
51
|
+
[data-site-theme='kadhir'] .velu-docs-layout__center { margin-left: 248px; margin-right: 224px; }
|
|
52
|
+
[data-site-theme='kadhir'] .velu-docs-layout__main { padding: 28px 24px 0; }
|
|
53
|
+
[data-site-theme='kadhir'] .velu-docs-layout__article { max-inline-size: 648px; margin-inline: auto; }
|
|
54
|
+
[data-site-theme='kadhir'] .velu-docs-layout__aside--right { top: 48px; right: 20px; width: 236px; }
|
|
55
|
+
[data-site-theme='kadhir'] > [data-velu-footer] { margin-left: 248px; }
|
|
56
|
+
[data-site-theme='kadhir'] .velu-toc-bar { inset-block-start: 48px; }
|
|
57
|
+
}
|
|
58
|
+
@container docs (min-width: 1280px) {
|
|
59
|
+
[data-site-theme='kadhir'][data-api='true'] .velu-docs-layout__center { margin-right: 496px; }
|
|
60
|
+
[data-site-theme='kadhir'][data-api='true'] .velu-docs-layout__article { max-inline-size: 648px; }
|
|
61
|
+
[data-site-theme='kadhir'][data-api='true'] .velu-docs-layout__main { padding-inline: 48px 24px; }
|
|
62
|
+
[data-site-theme='kadhir'][data-api='true'] .velu-docs-layout__aside--right { right: 24px; width: 448px; padding-top: 24px; }
|
|
63
|
+
}
|
|
64
|
+
@container docs (min-width: 1024px) and (max-width: 1279px) {
|
|
65
|
+
[data-site-theme='kadhir'] .velu-docs-layout__center { margin-right: 0; }
|
|
66
|
+
[data-site-theme='kadhir'] .velu-header { grid-template-columns: 300px minmax(0,1fr) 36px auto; padding-inline: 20px; }
|
|
67
|
+
[data-site-theme='kadhir'] .velu-header__tab { padding-inline: 10px; }
|
|
68
|
+
}
|
|
69
|
+
@container docs (max-width: 1023px) {
|
|
70
|
+
[data-site-theme='kadhir'] .velu-hero h1 { font-size: 30px; line-height: 36px; }
|
|
71
|
+
[data-site-theme='kadhir'] .velu-hide-on-mobile { display: none; }
|
|
72
|
+
[data-site-theme='kadhir'] .velu-show-on-mobile { display: contents; }
|
|
73
|
+
[data-site-theme='kadhir'] .velu-docs-context { padding-inline: 16px; }
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
[data-site-theme='nila'] .velu-sidebar { gap: 0 !important; }
|
|
13
13
|
[data-site-theme='nila'] .velu-docs-nav-scroll { overflow-y: auto; background-image: none; scrollbar-color: transparent transparent; }
|
|
14
14
|
[data-site-theme='nila'] .velu-docs-nav-scroll { overflow-x: hidden; min-width: 0; }
|
|
15
|
+
/* Pull the scroller to the rail's right divider so its scrollbar sticks to
|
|
16
|
+
the border line instead of floating a padding-step inside it. Content
|
|
17
|
+
width is unchanged (the negative margin only reclaims the aside's own
|
|
18
|
+
inline-end padding around the scroll box). */
|
|
19
|
+
[data-site-theme='nila'] .velu-docs-nav-scroll { margin-inline-end: -20px; padding-inline-end: 20px; }
|
|
15
20
|
[data-site-theme='nila'] .velu-sidebar__label { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
|
|
16
21
|
[data-site-theme='nila'] .velu-sidebar__item { align-items: flex-start; }
|
|
17
22
|
[data-site-theme='nila'] .velu-sidebar__icon { flex: none; }
|
|
@@ -19,7 +24,7 @@
|
|
|
19
24
|
[data-site-theme='nila'] .velu-docs-nav-scroll::-webkit-scrollbar-track { background: transparent; }
|
|
20
25
|
[data-site-theme='nila'] .velu-docs-nav-scroll::-webkit-scrollbar-thumb { background: transparent; }
|
|
21
26
|
[data-site-theme='nila'] .velu-docs-nav-scroll:hover::-webkit-scrollbar-thumb { background: var(--border-color); }
|
|
22
|
-
[data-site-theme='nila'] .velu-sidebar__item--active { background:
|
|
27
|
+
[data-site-theme='nila'] .velu-sidebar__item--active { background: rgb(from var(--accent-color) r g b / 10%); }
|
|
23
28
|
[data-site-theme='nila'] .velu-sidebar__section { font-size: 12px; font-weight: 600; line-height: 20px; }
|
|
24
29
|
[data-site-theme='nila'] .velu-sidebar > sidebar-group { margin-bottom: 16px; padding-bottom: 16px; }
|
|
25
30
|
[data-site-theme='nila'] .velu-sidebar > sidebar-group + sidebar-group { border-top: 1px solid var(--border-color); padding-top: 16px; }
|