chore: update button stylings
This commit is contained in:
@@ -7,18 +7,9 @@ import { colors } from './src/shared/util/themeColors';
|
||||
|
||||
export default defineConfig({
|
||||
rules: [
|
||||
['btn-transition', { transition: 'color 180ms, border-color 150ms, background-color 150ms, transform 50ms' }],
|
||||
[
|
||||
'btn-shadow',
|
||||
{
|
||||
'box-shadow': '0px 1px 3px 1px var(--shadow-color-15), 0px 1px 2px 0px var(--shadow-color-30);',
|
||||
},
|
||||
],
|
||||
[
|
||||
'btn-shade',
|
||||
{
|
||||
'background-color': 'var(--bg-color-8)',
|
||||
},
|
||||
'btn-transition',
|
||||
{ transition: 'color 180ms, border-color 150ms, background-color 150ms, box-shadow 100ms, transform 50ms' },
|
||||
],
|
||||
[
|
||||
'ring-offset-0',
|
||||
@@ -29,7 +20,7 @@ export default defineConfig({
|
||||
],
|
||||
shortcuts: {
|
||||
focusable: 'outline-none ring-blue-500/50 dark:ring-blue-400/60 ring-0 focus-visible:ring-4',
|
||||
btn: 'h-10 w-auto flex cursor-pointer justify-center items-center gap-2 rounded-1 px-4 py-0 text-4.5 btn-transition',
|
||||
btn: 'h-10 w-auto flex cursor-pointer justify-center items-center gap-2 rounded-1 px-4 py-0 text-4.5 btn-transition btn-transition disabled:(cursor-not-allowed opacity-50) active:enabled:scale-96 focusable',
|
||||
},
|
||||
theme: {
|
||||
easing: {
|
||||
|
||||
Reference in New Issue
Block a user