Skip to content

Commit

Permalink
feat: improve the text input preview
Browse files Browse the repository at this point in the history
  • Loading branch information
aradzie committed Oct 24, 2024
1 parent 0a5b2f5 commit 9f2a770
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/keybr-theme-designer/lib/design/TextInputDesign.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ export function TextInputDesign() {
<Field>
<ColorInput accessor={prop["--textinput__color"]} />
</Field>
<Field size={6}>Normal Text</Field>
<Field size={6}>Text</Field>
<Field>
<ColorInput accessor={prop["--textinput--special__color"]} />
</Field>
<Field size={6}>Special Text</Field>
<Field size={6}>Whitespace</Field>
</FieldList>
<FieldList>
<Field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 9f2a770

Please sign in to comment.