fixed strudel bool

This commit is contained in:
Jade (Rose) Rowland
2025-04-19 16:10:38 -04:00
parent 17e1ebeb93
commit bd08b74ebc
12 changed files with 157 additions and 38 deletions
@@ -5,7 +5,7 @@ export function SelectInput({ value, options, onChange, onClick, isDisabled }) {
<select
disabled={isDisabled}
onClick={onClick}
className="p-2 bg-background rounded-md text-foreground"
className="p-2 bg-background rounded-md text-foreground border-foreground"
value={value ?? ''}
onChange={(e) => onChange(e.target.value)}
>
@@ -20,7 +20,7 @@ function Checkbox({ label, value, onChange, disabled = false }) {
function SelectInput({ value, options, onChange }) {
return (
<select
className="p-2 bg-background rounded-md text-foreground"
className="p-2 bg-background rounded-md text-foreground border-foreground"
value={value}
onChange={(e) => onChange(e.target.value)}
>
@@ -3,7 +3,7 @@ import cx from '@src/cx.mjs';
export function Textbox({ onChange, className, ...inputProps }) {
return (
<input
className={cx('p-1 bg-background rounded-md my-2 border-foreground', className)}
className={cx('p-2 bg-background rounded-md border-foreground text-foreground placeholder-foreground', className)}
onChange={(e) => onChange(e.target.value)}
{...inputProps}
/>