Commit 9590113ad8

9590113ad82b0df8103c1bc5fcdf4b09615b9596

parent: a9d28b2cf9

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-06-15 16:28 UTC

update

Layout: unified · split

docs/.vitepress/theme/components/Tooltip.vue +1 −1
@@ -24,7 +24,7 @@ withDefaults(
2424 <VTooltip theme="vp-tooltip" @show="isOpen = true" @hide="isOpen = false">
2525 <button
2626 aria-label="Tooltip"
27 class="size-3 p-0 select-none font-bold cursor-pointer" style="color: #a8f0cc"
27 class="size-3 p-0 select-none font-bold cursor-pointer" style="color: var(--vp-custom-block-tip-text)"
2828 >
2929 <div :class="isOpen ? 'i-ic-twotone-add-circle' : 'i-ic-twotone-add-circle-outline'" />
3030 </button>
docs/.vitepress/theme/styles/style.scss +28 −3
@@ -147,7 +147,7 @@ $ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
147147}
148148
149149.vp-doc a {
150 color: var(--vp-c-brand-1);
150 color: var(--vp-c-brand-2);
151151 text-decoration: underline;
152152 text-underline-offset: 4px;
153153 text-decoration-style: dashed;
@@ -157,9 +157,19 @@ $ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
157157 transition: text-decoration-color 0.25s;
158158
159159 &:hover {
160 color: var(--vp-c-brand-2);
161 text-decoration-color: var(--vp-c-brand-2);
162 -webkit-text-decoration-color: var(--vp-c-brand-2);
163 }
164
165 .dark & {
160166 color: var(--vp-c-brand-1);
161 text-decoration-color: var(--vp-c-brand-1);
162 -webkit-text-decoration-color: var(--vp-c-brand-1);
167
168 &:hover {
169 color: var(--vp-c-brand-1);
170 text-decoration-color: var(--vp-c-brand-1);
171 -webkit-text-decoration-color: var(--vp-c-brand-1);
172 }
163173 }
164174}
165175
@@ -306,6 +316,21 @@ main figure figcaption {
306316 --uno: "rounded-xl border-2";
307317}
308318
319:root:not(.dark) .details.custom-block a {
320 color: var(--vp-custom-block-info-text);
321 font-weight: 500;
322 text-decoration: underline;
323 text-underline-offset: 2px;
324 text-decoration-style: dashed;
325 text-decoration-thickness: 1px;
326 transition: opacity 0.25s;
327}
328
329:root:not(.dark) .details.custom-block a:hover {
330 opacity: 0.7;
331 color: var(--vp-custom-block-info-text-deep);
332}
333
309334.info.custom-block a {
310335 color: var(--vp-custom-block-info-text);
311336 font-weight: 500;