@@ -241,7 +241,10 @@ const fontSize = computed(() => {
241241<template >
242242 <div
243243 class =" btn-wrapper"
244- :class =" [{ outline: type === 'outlined', chip: type === 'chip' }, fontSize]"
244+ :class =" [
245+ { outline: type === 'outlined', transparent: type === 'transparent', chip: type === 'chip' },
246+ fontSize,
247+ ]"
245248 :style =" `${colorVariables}--_height:${height};--_width:${width};--_radius: ${radius};--_padding-x:${paddingX};--_padding-y:${paddingY};--_gap:${gap};--_font-weight:${fontWeight};--_icon-size:${iconSize};--_outline-color:${color === 'standard' && type === 'outlined' ? 'var(--surface-5)' : 'currentColor'}`"
246249 >
247250 <slot />
@@ -314,6 +317,25 @@ const fontSize = computed(() => {
314317 }
315318}
316319
320+ .disable-advanced-rendering {
321+ .btn-wrapper :not (.outline ):not (.transparent ) :deep (:is(button , a , .button-like ):first- child),
322+ .btn-wrapper :not (.outline ):not (.transparent ) :slotted (:is(button , a , .button-like ):first- child),
323+ .btn-wrapper :not (.outline ):not (.transparent )
324+ :slotted (* )
325+ > :is (button , a , .button-like ):first- child,
326+ .btn- wrapper:not (.outline ):not (.transparent )
327+ :slotted (* )
328+ > * :first- child
329+ > :is (button , a , .button-like ):first- child,
330+ .btn- wrapper
331+ :slotted (* )
332+ > * :first- child
333+ > * :first- child
334+ > :is (button , a , .button-like ):first- child {
335+ @apply border border- [rgba (0 ,0 ,0 ,0.2 )];
336+ }
337+ }
338+
317339.btn-wrapper.outline :deep(:is(button , a , .button-like ):first-child ),
318340.btn-wrapper.outline :slotted(:is(button , a , .button-like ):first-child ),
319341.btn-wrapper.outline :slotted(* ) > :is(button , a , .button-like ):first-child ,
0 commit comments