mirror of
https://github.com/Art051/it-tools.git
synced 2025-08-11 19:29:03 +00:00
ui-lib(button): size variants
This commit is contained in:
committed by
Corentin THOMASSET
parent
edae4c6915
commit
401f13f7e3
@@ -27,6 +27,21 @@ const createTheme = ({ style }: { style: 'light' | 'dark' }) => {
|
||||
const theme = appThemes[style];
|
||||
|
||||
return {
|
||||
size: {
|
||||
small: {
|
||||
width: '28px',
|
||||
fontSize: '12px',
|
||||
},
|
||||
medium: {
|
||||
width: '34px',
|
||||
fontSize: '14px',
|
||||
},
|
||||
large: {
|
||||
width: '40px',
|
||||
fontSize: '16px',
|
||||
},
|
||||
},
|
||||
|
||||
basic: {
|
||||
default: createState({
|
||||
textColor: theme.text.baseColor,
|
||||
|
||||
Reference in New Issue
Block a user