diff options
author | 2023-05-16 23:12:37 +0200 | |
---|---|---|
committer | 2023-05-17 00:34:10 +0200 | |
commit | 34d8e5ce2ca5d7a27c19ee2cb704bbfd3a215b29 (patch) | |
tree | e5245057f91bf273e53d91b9caf34f050bac1bf8 /src/ui/c-button/c-button.theme.ts | |
parent | 8515c242647f41e90726da1e7b4efb7957c923c2 (diff) | |
download | it-tools-34d8e5ce2ca5d7a27c19ee2cb704bbfd3a215b29.tar.gz it-tools-34d8e5ce2ca5d7a27c19ee2cb704bbfd3a215b29.tar.zst it-tools-34d8e5ce2ca5d7a27c19ee2cb704bbfd3a215b29.zip |
feat(new tool): camera screenshot and recorder
Diffstat (limited to 'src/ui/c-button/c-button.theme.ts')
-rw-r--r-- | src/ui/c-button/c-button.theme.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/c-button/c-button.theme.ts b/src/ui/c-button/c-button.theme.ts index 5b4c26f..e2e1591 100644 --- a/src/ui/c-button/c-button.theme.ts +++ b/src/ui/c-button/c-button.theme.ts @@ -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), + }), }, }; }; |