From 9f2a77025adc1e681e59208fb6441395c09b9386 Mon Sep 17 00:00:00 2001 From: Aliaksandr Radzivanovich Date: Thu, 24 Oct 2024 15:41:40 +0200 Subject: [PATCH] feat: improve the text input preview --- packages/keybr-theme-designer/lib/design/TextInputDesign.tsx | 4 ++-- packages/keybr-theme-designer/lib/design/TextInputPreview.tsx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/keybr-theme-designer/lib/design/TextInputDesign.tsx b/packages/keybr-theme-designer/lib/design/TextInputDesign.tsx index 608d65a5..4c149a2f 100644 --- a/packages/keybr-theme-designer/lib/design/TextInputDesign.tsx +++ b/packages/keybr-theme-designer/lib/design/TextInputDesign.tsx @@ -12,11 +12,11 @@ export function TextInputDesign() { - Normal Text + Text - Special Text + Whitespace diff --git a/packages/keybr-theme-designer/lib/design/TextInputPreview.tsx b/packages/keybr-theme-designer/lib/design/TextInputPreview.tsx index 16a3842e..ea075ae4 100644 --- a/packages/keybr-theme-designer/lib/design/TextInputPreview.tsx +++ b/packages/keybr-theme-designer/lib/design/TextInputPreview.tsx @@ -26,7 +26,9 @@ export function TextInputPreview() { ...toChars("two", Attr.Miss), ...toChars(" ", Attr.Hit), ...toChars("three", Attr.Garbage), - ...toChars(" ", Attr.Hit), + ...toChars(" ", Attr.Normal), + ...toChars(" ", Attr.Normal), + ...toChars(" ", Attr.Normal), ...toChars("f", Attr.Normal), ...toChars("o", Attr.Normal), ...toChars("ur", Attr.Normal),