Skip to content

Commit e174826

Browse files
committed
fix(Button): styles
1 parent 894023a commit e174826

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/actions/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ const ButtonElement = tasty({
267267
'[data-type="secondary"]': '#white.3',
268268
'[data-type="secondary"] & pressed': '#white.4',
269269
'[data-type="outline"] & !pressed': '#white.3',
270-
'![data-type="primary"] & focused': '#white',
271270
'[data-type="neutral"] & !pressed': 0,
271+
'![data-type="primary"] & focused': '#white',
272272
'[disabled]': '#white.3',
273273
'[data-type="link"]': 0,
274274
},

src/components/navigation/LegacyTabs/LegacyTabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const LegacyTabsContext = createContext<LegacyCubeTabsContextValue>({
4141

4242
const TabElement = tasty(Button, {
4343
type: 'tab',
44+
size: 'small',
4445
styles: {
4546
color: {
4647
'': '#dark',
@@ -50,7 +51,6 @@ const TabElement = tasty(Button, {
5051
fill: '#purple.0',
5152
textAlign: 'center',
5253
fontWeight: 600,
53-
padding: '(1x - 1px) (1x - 1px)',
5454
radius: '1r 1r 0 0',
5555
border: 0,
5656
},

0 commit comments

Comments
 (0)