(input: HTMLInputElement, fallback: string)
| 659 | } |
| 660 | |
| 661 | export function readThemeColorInput(input: HTMLInputElement, fallback: string): string { |
| 662 | const color = normalizeThemeColor(input.value, fallback); |
| 663 | input.value = colorValueToInputValue(color); |
| 664 | return color; |
| 665 | } |
| 666 | |
| 667 | /** |
| 668 | * Creates an Obsidian-style toggle switch for card content |
no test coverage detected