Skip to content

Commit e2cbfdd

Browse files
committed
feat: adjust caret color for text inputs and textareas in preflight styles
1 parent 9797e35 commit e2cbfdd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/nimiq-css/src/css/preflight.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
outline-color: rgb(var(--nq-blue));
2424
outline-width: 1.5px;
2525
overscroll-behavior-x: contain;
26-
caret-color: rgb(var(--nq-blue));
2726

2827
&:where(:not(:where(code, pre))) {
2928
font-family: var(--nq-font-sans, 'Mulish');
@@ -151,4 +150,8 @@
151150
}
152151
}
153152
}
153+
154+
&:where(input[type="text"], textarea) {
155+
caret-color: rgb(var(--nq-blue));
156+
}
154157
}

0 commit comments

Comments
 (0)