mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-09 07:35:01 -04:00
feat(new tool): camera screenshot and recorder
This commit is contained in:
parent
8515c24264
commit
e1302037e6
15 changed files with 448 additions and 10 deletions
|
@ -61,6 +61,12 @@ const createTheme = ({ style }: { style: 'light' | 'dark' }) => {
|
|||
hoverBackground: lighten(theme.warning.colorFaded, 30),
|
||||
pressedBackground: darken(theme.warning.colorFaded, 30),
|
||||
}),
|
||||
error: createState({
|
||||
textColor: theme.error.color,
|
||||
backgroundColor: theme.error.colorFaded,
|
||||
hoverBackground: lighten(theme.error.colorFaded, 30),
|
||||
pressedBackground: darken(theme.error.colorFaded, 30),
|
||||
}),
|
||||
},
|
||||
text: {
|
||||
default: createState({
|
||||
|
@ -81,6 +87,12 @@ const createTheme = ({ style }: { style: 'light' | 'dark' }) => {
|
|||
hoverBackground: theme.warning.colorFaded,
|
||||
pressedBackground: darken(theme.warning.colorFaded, 30),
|
||||
}),
|
||||
error: createState({
|
||||
textColor: darken(theme.error.color, 20),
|
||||
backgroundColor: 'transparent',
|
||||
hoverBackground: theme.error.colorFaded,
|
||||
pressedBackground: darken(theme.error.colorFaded, 30),
|
||||
}),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue