aboutsummaryrefslogtreecommitdiff
path: root/src/ui/c-input-text/c-input-text.theme.ts
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-05-07 23:31:10 +0200
committerGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-05-14 22:30:23 +0200
commitaad8d84e13ce31c1b7c1cbb930fb8bd4c0abe13a (patch)
treec483e3a25c858c09c73496616d95f168d8b9298d /src/ui/c-input-text/c-input-text.theme.ts
parent401f13f7e305d60097db2334642e423c41d8897d (diff)
downloadit-tools-aad8d84e13ce31c1b7c1cbb930fb8bd4c0abe13a.tar.gz
it-tools-aad8d84e13ce31c1b7c1cbb930fb8bd4c0abe13a.tar.zst
it-tools-aad8d84e13ce31c1b7c1cbb930fb8bd4c0abe13a.zip
ui-lib(new-component): added text input component in the c-lib
Diffstat (limited to 'src/ui/c-input-text/c-input-text.theme.ts')
-rw-r--r--src/ui/c-input-text/c-input-text.theme.ts20
1 files changed, 20 insertions, 0 deletions
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',
+ },
+ },
+});