mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
theme: use outline instead of boxShadow for input border
This commit is contained in:
committed by
Abdullah Atta
parent
3b77d79997
commit
b58d034716
@@ -54,13 +54,12 @@ const clean: ThemeUIStyleObject = {
|
||||
|
||||
const error: ThemeUIStyleObject = {
|
||||
variant: "forms.input",
|
||||
boxShadow: "0px 0px 0px 1px var(--error) inset",
|
||||
outline: "none",
|
||||
outline: "1.5px solid var(--error)",
|
||||
":focus": {
|
||||
boxShadow: "0px 0px 0px 1.5px var(--error) inset"
|
||||
outline: "2px solid var(--error)"
|
||||
},
|
||||
":hover:not(:focus)": {
|
||||
boxShadow: "0px 0px 0px 1px var(--error) inset"
|
||||
outline: "1.5px solid var(--error)"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user