style(accordion): bordures noires + ajustement espacement et typo des en-têtes [#MUI-37]
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -94,7 +94,7 @@ function focusSibling(value: string, offset: 1 | -1) {
|
||||
}
|
||||
|
||||
const rootClass = computed(() =>
|
||||
twMerge('divide-y divide-m-border border-y border-m-border', props.groupClass),
|
||||
twMerge('divide-y divide-black border-y border-black', props.groupClass),
|
||||
)
|
||||
|
||||
provide(accordionContextKey, {
|
||||
|
||||
@@ -81,13 +81,13 @@ function onToggle() {
|
||||
|
||||
const headerClasses = computed(() =>
|
||||
twMerge(
|
||||
'flex w-full items-center justify-between gap-4 px-4 py-3 text-left font-medium text-m-text transition-colors',
|
||||
'flex w-full items-center justify-between gap-4 px-7 pt-[28px] pb-[34px] text-left font-[600] text-[20px] transition-colors',
|
||||
props.disabled ? 'cursor-not-allowed text-m-muted' : 'cursor-pointer hover:bg-m-surface',
|
||||
props.headerClass,
|
||||
),
|
||||
)
|
||||
|
||||
const panelInnerClass = computed(() => twMerge('px-4 py-3 text-m-text', props.panelClass))
|
||||
const panelInnerClass = computed(() => twMerge('px-7 pb-[10px]', props.panelClass))
|
||||
|
||||
onMounted(() => {
|
||||
ctx.register(
|
||||
|
||||
Reference in New Issue
Block a user