Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

theme: use radio focus color from theme

Abdullah Attaaf1cea81dc17
diff --git a/packages/theme/src/theme/variants/input.ts b/packages/theme/src/theme/variants/input.ts
index 2dcf5bef5..6860b9f68 100644
--- a/packages/theme/src/theme/variants/input.ts
+++ b/packages/theme/src/theme/variants/input.ts
@@ -68,8 +68,15 @@ const error: ThemeUIStyleObject = {
}
};
+const radio: ThemeUIStyleObject = {
+ "input:focus ~ &": {
+ backgroundColor: `border-secondary`
+ }
+};
+
export const inputVariants = {
input: defaultVariant,
error,
- clean
+ clean,
+ radio
};