Skip to content

Commit 1a57278

Browse files
authored
fix: action preset style (#263)
1 parent e8f6884 commit 1a57278

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.changeset/many-oranges-mix.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Apply the correct preset style to all action components.

src/components/actions/Action.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ const DEFAULT_STYLES: Styles = {
123123
position: 'relative',
124124
margin: 0,
125125
fontFamily: 'var(--font)',
126-
fontWeight: 'inherit',
127126
border: 0,
128127
padding: 0,
129128
outline: {

src/components/pickers/Select/Select.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ const SelectWrapperElement = tasty({
9090

9191
Value: {
9292
...DEFAULT_INPUT_STYLES,
93+
preset: 't3m',
9394
color: 'inherit',
9495
opacity: {
9596
'': 1,
@@ -125,6 +126,7 @@ const SelectElement = tasty({
125126
qa: 'Button',
126127
styles: {
127128
...INPUT_WRAPPER_STYLES,
129+
preset: 't3m',
128130
cursor: 'pointer',
129131
padding: '0',
130132
border: {

0 commit comments

Comments
 (0)