fix: btn-solid text color for dark mode (#2471)
This commit is contained in:
parent
c55545612e
commit
c41b427c2e
@ -23,7 +23,6 @@
|
||||
--c-bg-btn-disabled: #a1a1a1;
|
||||
--c-text-btn-disabled: #fff;
|
||||
--c-text-btn-disabled-deeper: #a1a1a1;
|
||||
--c-text-btn: #fff;
|
||||
|
||||
--c-success: #67C23A;
|
||||
--c-warning: #E6A23C;
|
||||
|
@ -43,7 +43,7 @@ export default defineConfig({
|
||||
|
||||
// buttons
|
||||
'btn-base': 'cursor-pointer disabled:pointer-events-none disabled:bg-$c-bg-btn-disabled disabled:text-$c-text-btn-disabled',
|
||||
'btn-solid': 'btn-base px-4 py-2 rounded text-$c-text-btn bg-$c-primary hover:bg-$c-primary-active',
|
||||
'btn-solid': 'btn-base px-4 py-2 rounded text-inverted bg-$c-primary hover:bg-$c-primary-active',
|
||||
'btn-outline': 'btn-base px-4 py-2 rounded text-$c-primary border border-$c-primary hover:bg-$c-primary hover:text-inverted',
|
||||
'btn-text': 'btn-base px-4 py-2 text-$c-primary hover:text-$c-primary-active',
|
||||
'btn-action-icon': 'btn-base hover:bg-active rounded-full h9 w9 flex items-center justify-center disabled:bg-transparent disabled:text-$c-text-secondary',
|
||||
|
Loading…
Reference in New Issue
Block a user