mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
feat: Set Button default variant to primary (#1705)
This commit is contained in:
parent
e11b313807
commit
79356c4cde
3 changed files with 11 additions and 0 deletions
5
.changeset/button-default-primary.md
Normal file
5
.changeset/button-default-primary.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/app": patch
|
||||
---
|
||||
|
||||
Set Button component default variant to "primary" for consistent styling across the app
|
||||
|
|
@ -214,6 +214,9 @@ export const makeTheme = ({
|
|||
},
|
||||
}),
|
||||
Button: Button.extend({
|
||||
defaultProps: {
|
||||
variant: 'primary',
|
||||
},
|
||||
vars: (_theme, props) => {
|
||||
const baseVars: Record<string, string> = {};
|
||||
|
||||
|
|
|
|||
|
|
@ -231,6 +231,9 @@ export const makeTheme = ({
|
|||
},
|
||||
}),
|
||||
Button: Button.extend({
|
||||
defaultProps: {
|
||||
variant: 'primary',
|
||||
},
|
||||
vars: (_theme, props) => {
|
||||
const baseVars: Record<string, string> = {};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue