Commit 30c34051ee

30c34051eef8ee4097000379ff3f8d48483a6ca5

parent: ef1e44ecc3

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-06-22 04:59 UTC

fixes

Layout: unified · split

docs/.vitepress/theme/components/Collapsible.vue +3 −3
@@ -40,9 +40,9 @@ summary::-webkit-details-marker {
40} 40}
41 41
42.details { 42.details {
43 background-color: var(--vp-custom-block-info-bg); 43 background-color: var(--vp-collapsible-bg);
44 color: var(--vp-custom-block-info-text); 44 color: var(--vp-collapsible-text);
45 border-color: var(--vp-custom-block-info-border); 45 border-color: var(--vp-collapsible-border);
46} 46}
47 47
48.tip { 48.tip {
docs/.vitepress/theme/components/settings/AccentColor.vue +5 −5
@@ -15,11 +15,6 @@ const accentOptions = [
15 label: 'Asuka', 15 label: 'Asuka',
16 shades: ['#FB7F6E', '#F35640', '#E2432D', '#BD2C18', '#9C2818'], 16 shades: ['#FB7F6E', '#F35640', '#E2432D', '#BD2C18', '#9C2818'],
17 }, 17 },
18 {
19 key: 'raora',
20 label: 'Raora',
21 shades: ['#FB6BA9', '#F44088', '#D91A5D', '#C6104B', '#A4103E'],
22 },
23 { 18 {
24 key: 'rebecca', 19 key: 'rebecca',
25 label: 'Rebecca', 20 label: 'Rebecca',
@@ -35,6 +30,11 @@ const accentOptions = [
35 label: "Ina'nis", 30 label: "Ina'nis",
36 shades: ['#A39AC0', '#8F81B0', '#816FA1', '#776392', '#645479'], 31 shades: ['#A39AC0', '#8F81B0', '#816FA1', '#776392', '#645479'],
37 }, 32 },
33 {
34 key: 'raora',
35 label: 'Raora',
36 shades: ['#FB6BA9', '#F44088', '#D91A5D', '#C6104B', '#A4103E'],
37 },
38] as const 38] as const
39 39
40const accentColor = useStorage(AccentColorStorageKey, 'ayanami') 40const accentColor = useStorage(AccentColorStorageKey, 'ayanami')
docs/.vitepress/theme/styles/style.scss +16 −8
@@ -67,10 +67,10 @@ $ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
67 67
68 /* Colors: Custom Block */ 68 /* Colors: Custom Block */
69 /** Info */ 69 /** Info */
70 --vp-custom-block-info-bg: color-mix(in srgb, var(--vp-c-brand-1) 15%, transparent); 70 --vp-custom-block-info-bg: theme("colors.swarm.200");
71 --vp-custom-block-info-border: var(--vp-c-brand-3); 71 --vp-custom-block-info-border: theme("colors.swarm.800");
72 --vp-custom-block-info-text: var(--vp-c-brand-3); 72 --vp-custom-block-info-text: theme("colors.swarm.800");
73 --vp-custom-block-info-text-deep: var(--vp-c-brand-3); 73 --vp-custom-block-info-text-deep: theme("colors.swarm.900");
74 /** Tip */ 74 /** Tip */
75 --vp-custom-block-tip-bg: theme("colors.meadow.200"); 75 --vp-custom-block-tip-bg: theme("colors.meadow.200");
76 --vp-custom-block-tip-border: theme("colors.meadow.800"); 76 --vp-custom-block-tip-border: theme("colors.meadow.800");
@@ -86,6 +86,10 @@ $ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
86 --vp-custom-block-danger-border: theme("colors.carnation.800"); 86 --vp-custom-block-danger-border: theme("colors.carnation.800");
87 --vp-custom-block-danger-text: theme("colors.carnation.800"); 87 --vp-custom-block-danger-text: theme("colors.carnation.800");
88 --vp-custom-block-danger-text-deep: theme("colors.carnation.900"); 88 --vp-custom-block-danger-text-deep: theme("colors.carnation.900");
89 /** Collapsible */
90 --vp-collapsible-bg: color-mix(in srgb, var(--vp-c-brand-1) 15%, transparent);
91 --vp-collapsible-border: var(--vp-c-brand-3);
92 --vp-collapsible-text: var(--vp-c-brand-3);
89 93
90 --vp-badge-info-text: theme("colors.brand.200"); 94 --vp-badge-info-text: theme("colors.brand.200");
91 --vp-badge-info-bg: theme("colors.brand.800"); 95 --vp-badge-info-bg: theme("colors.brand.800");
@@ -116,10 +120,10 @@ $ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
116 120
117 /* Colors: Custom Block */ 121 /* Colors: Custom Block */
118 /** Info */ 122 /** Info */
119 --vp-custom-block-info-bg: color-mix(in srgb, var(--vp-c-brand-1) 10%, transparent); 123 --vp-custom-block-info-bg: theme("colors.swarm.950");
120 --vp-custom-block-info-border: var(--vp-c-brand-3); 124 --vp-custom-block-info-border: theme("colors.swarm.800");
121 --vp-custom-block-info-text: var(--vp-c-brand-1); 125 --vp-custom-block-info-text: theme("colors.swarm.200");
122 --vp-custom-block-info-text-deep: var(--vp-c-brand-1); 126 --vp-custom-block-info-text-deep: theme("colors.swarm.200");
123 /** Tip */ 127 /** Tip */
124 --vp-custom-block-tip-bg: theme("colors.meadow.950"); 128 --vp-custom-block-tip-bg: theme("colors.meadow.950");
125 --vp-custom-block-tip-border: theme("colors.meadow.800"); 129 --vp-custom-block-tip-border: theme("colors.meadow.800");
@@ -135,6 +139,10 @@ $ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
135 --vp-custom-block-danger-border: theme("colors.carnation.800"); 139 --vp-custom-block-danger-border: theme("colors.carnation.800");
136 --vp-custom-block-danger-text: theme("colors.carnation.200"); 140 --vp-custom-block-danger-text: theme("colors.carnation.200");
137 --vp-custom-block-danger-text-deep: theme("colors.carnation.200"); 141 --vp-custom-block-danger-text-deep: theme("colors.carnation.200");
142 /** Collapsible */
143 --vp-collapsible-bg: color-mix(in srgb, var(--vp-c-brand-1) 10%, transparent);
144 --vp-collapsible-border: var(--vp-c-brand-3);
145 --vp-collapsible-text: var(--vp-c-brand-1);
138 146
139 --vp-badge-info-text: theme("colors.brand.200"); 147 --vp-badge-info-text: theme("colors.brand.200");
140 --vp-badge-info-bg: theme("colors.brand.950"); 148 --vp-badge-info-bg: theme("colors.brand.950");