File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export const ActionItem: FC<ActionItemProps> = memo(
103
103
< Card
104
104
className = { clsx (
105
105
className ,
106
- '!p-0 !rounded overflow-hidden' ,
106
+ 'card-shadow-subtle !p-0 !rounded overflow-hidden' ,
107
107
typeInfo . accentText ,
108
108
) }
109
109
>
Original file line number Diff line number Diff line change @@ -96,9 +96,8 @@ export const GroupItem: FC<GroupItemProps> = memo(({ baseGroupAtom }) => {
96
96
97
97
return (
98
98
< Card
99
- elevation = { Elevation . ONE }
100
99
className = { clsx (
101
- '!p-0 flex flex-col overflow-hidden' ,
100
+ 'card-shadow-subtle !p-0 flex flex-col overflow-hidden' ,
102
101
active ? 'ring ring-purple-500 !border-0 !shadow-none' : '' ,
103
102
) }
104
103
>
Original file line number Diff line number Diff line change @@ -110,8 +110,7 @@ export const OperatorItem: FC<OperatorItemProps> = memo(
110
110
>
111
111
< Card
112
112
interactive
113
- elevation = { Elevation . ONE }
114
- className = "relative w-24 p-0 !py-0 flex flex-col overflow-hidden select-none pointer-events-auto"
113
+ className = "card-shadow-subtle relative w-24 p-0 !py-0 flex flex-col overflow-hidden select-none pointer-events-auto"
115
114
{ ...attributes }
116
115
{ ...listeners }
117
116
>
Original file line number Diff line number Diff line change 58
58
}
59
59
}
60
60
61
+ .card-shadow-subtle {
62
+ box-shadow :
63
+ 0 0 3px 1px # 0001,
64
+ 0 2px 3px # 0001 ;
65
+
66
+ & .bp4-interactive : hover {
67
+ box-shadow :
68
+ 0 2px 4px # 0002,
69
+ 0 8px 24px # 0003 ;
70
+ }
71
+
72
+ .dark & {
73
+ box-shadow : 0 0px 3px # fff9 ;
74
+ }
75
+ }
76
+
61
77
.bg-rainbow {
62
78
background : linear-gradient (
63
79
90deg ,
You can’t perform that action at this time.
0 commit comments