From aad8d84e13ce31c1b7c1cbb930fb8bd4c0abe13a Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Sun, 7 May 2023 23:31:10 +0200 Subject: ui-lib(new-component): added text input component in the c-lib --- src/ui/c-input-text/c-input-text.theme.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/ui/c-input-text/c-input-text.theme.ts (limited to 'src/ui/c-input-text/c-input-text.theme.ts') diff --git a/src/ui/c-input-text/c-input-text.theme.ts b/src/ui/c-input-text/c-input-text.theme.ts new file mode 100644 index 0000000..93739d4 --- /dev/null +++ b/src/ui/c-input-text/c-input-text.theme.ts @@ -0,0 +1,20 @@ +import { defineThemes } from '../theme/theme.models'; + +export const { useTheme } = defineThemes({ + dark: { + backgroundColor: '#333333', + borderColor: '#333333', + + focus: { + backgroundColor: '#1ea54c1a', + }, + }, + light: { + backgroundColor: '#ffffff', + borderColor: '#e0e0e69e', + + focus: { + backgroundColor: '#ffffff', + }, + }, +}); -- cgit v1.2.3