mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-09 07:35:01 -04:00
ui-lib(button): size variants
This commit is contained in:
parent
edae4c6915
commit
401f13f7e3
3 changed files with 51 additions and 20 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue