feat : refacto de la config couleur
This commit is contained in:
@@ -55,11 +55,11 @@ const mergedButtonClass = computed(() =>
|
||||
'inline-flex items-center justify-center rounded-md p-1 transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-m-primary/50',
|
||||
isFilled.value
|
||||
? props.disabled
|
||||
? 'bg-m-btn-disabled text-white cursor-not-allowed'
|
||||
: 'bg-m-btn-default hover:bg-m-btn-hover active:bg-m-btn-active text-white cursor-pointer'
|
||||
? 'bg-m-disabled text-white cursor-not-allowed'
|
||||
: 'bg-m-btn-primary hover:bg-m-btn-primary-hover active:bg-m-btn-primary-active text-white cursor-pointer'
|
||||
: props.disabled
|
||||
? 'text-m-btn-disabled cursor-not-allowed'
|
||||
: 'text-m-btn-default hover:text-m-btn-hover active:text-m-btn-active cursor-pointer',
|
||||
? 'text-m-disabled cursor-not-allowed'
|
||||
: 'text-m-btn-primary hover:text-m-btn-primary-hover active:text-m-btn-primary-active cursor-pointer',
|
||||
props.buttonClass,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user