feat: Set Button default variant to primary (#1705)

This commit is contained in:
Elizabet Oliveira 2026-02-05 12:58:16 +00:00 committed by GitHub
parent e11b313807
commit 79356c4cde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---
Set Button component default variant to "primary" for consistent styling across the app

View file

@ -214,6 +214,9 @@ export const makeTheme = ({
},
}),
Button: Button.extend({
defaultProps: {
variant: 'primary',
},
vars: (_theme, props) => {
const baseVars: Record<string, string> = {};

View file

@ -231,6 +231,9 @@ export const makeTheme = ({
},
}),
Button: Button.extend({
defaultProps: {
variant: 'primary',
},
vars: (_theme, props) => {
const baseVars: Record<string, string> = {};