@@ -114,18 +114,17 @@ async function downloadCustomPng() {
114114 $t('brand.customize.accent_label')
115115 }}</span >
116116 <div class =" flex items-center gap-1.5" role =" radiogroup" >
117- <button
117+ <ButtonBase
118118 v-for =" color in accentColors"
119119 :key =" color.id"
120- type =" button"
121120 role =" radio"
122121 :aria-checked =" activeAccentId === color.id"
123122 :aria-label =" color.label"
124- class =" w-6 h-6 rounded-full border-2 cursor-pointer transition-all duration-150 focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-bg motion-reduce:transition-none"
123+ class =" ! w-6 ! h-6 ! rounded-full ! border-2 !p-0 !min-w-0 transition-all duration-150 motion-reduce:transition-none"
125124 :class ="
126125 activeAccentId === color.id
127- ? 'border-fg scale-110'
128- : 'border-transparent hover:border-border-hover'
126+ ? '! border-fg scale-110'
127+ : '! border-transparent hover:! border-border-hover'
129128 "
130129 :style =" { backgroundColor: color.value }"
131130 @click =" customAccent = color.id"
@@ -140,32 +139,32 @@ async function downloadCustomPng() {
140139 class =" flex items-center border border-border rounded-md overflow-hidden"
141140 role =" radiogroup"
142141 >
143- <button
144- type = " button "
142+ <ButtonBase
143+ size = " sm "
145144 role =" radio"
146145 :aria-checked =" customBgDark"
147146 :aria-label =" $t('brand.logos.on_dark')"
148- class =" px-2.5 py-1 text-xs font-mono cursor-pointer border-none transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent motion-reduce:transition-none"
147+ class =" ! border-none !rounded-none motion-reduce:transition-none"
149148 :class ="
150149 customBgDark ? 'bg-bg-muted text-fg' : 'bg-transparent text-fg-muted hover:text-fg'
151150 "
152151 @click =" customBgDark = true"
153152 >
154153 {{ $t('brand.logos.on_dark') }}
155- </button >
156- <button
157- type = " button "
154+ </ButtonBase >
155+ <ButtonBase
156+ size = " sm "
158157 role =" radio"
159158 :aria-checked =" !customBgDark"
160159 :aria-label =" $t('brand.logos.on_light')"
161- class =" px-2.5 py-1 text-xs font-mono cursor-pointer border- none border-is border-is-border transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent motion-reduce:transition-none"
160+ class =" !border-none !rounded- none border-is border-is-border motion-reduce:transition-none"
162161 :class ="
163162 !customBgDark ? 'bg-bg-muted text-fg' : 'bg-transparent text-fg-muted hover:text-fg'
164163 "
165164 @click =" customBgDark = false"
166165 >
167166 {{ $t('brand.logos.on_light') }}
168- </button >
167+ </ButtonBase >
169168 </div >
170169 </div >
171170
0 commit comments