design: improve shadows
This commit is contained in:
1 parent
98af3f5e05
commit
e8e33e7e92
6 files changed
+13
-9
No files matched your search
@@ -100,7 +100,7 @@
|
||||
size = 'md',
|
||||
rounding = 'xl',
|
||||
alignment = 'center',
|
||||
shadow = color != 'tertiary' ? 'none' : 'none',
|
||||
shadow = color == 'primary' || color == 'secondary' ? 'sm' : 'none',
|
||||
disabled,
|
||||
loaderWidth = undefined,
|
||||
href = undefined,
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
.btn-primary {
|
||||
border: 1px solid transparent;
|
||||
background-color: var(--color-primary-900);
|
||||
background: var(--color-primary-900);
|
||||
color: var(--color-slate-50);
|
||||
|
||||
@variant dark {
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
bind:this={element}
|
||||
class={[
|
||||
buttonSize[size],
|
||||
'btn btn-secondary select rounded-xl appearance-none pr-6! w-full',
|
||||
'btn btn-secondary select rounded-xl appearance-none pr-6! w-full shadow-xs',
|
||||
selectClass,
|
||||
clazz,
|
||||
]}
|
||||
|
||||
Reference in new issue
Block a user