(value?: string)
| 653 | } |
| 654 | |
| 655 | export function createThemeColorInput(value?: string): HTMLInputElement { |
| 656 | const input = createCardInput("text", THEME_COLOR_INPUT_PLACEHOLDER, colorValueToInputValue(value)); |
| 657 | configureThemeColorInput(input); |
| 658 | return input; |
| 659 | } |
| 660 | |
| 661 | export function readThemeColorInput(input: HTMLInputElement, fallback: string): string { |
| 662 | const color = normalizeThemeColor(input.value, fallback); |
no test coverage detected