summaryrefslogtreecommitdiff
path: root/sass/components/forms
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-06 22:23:06 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-06 22:23:06 +0200
commit3456350c2c8cf4bc136eb822f1793ec92f0f2c79 (patch)
tree306116a86a26278fd031b05f834cdf61691304b2 /sass/components/forms
parentf43082f74e92cb98845efb19017846f4e3255f98 (diff)
use proper text contrast for input labels
Materialize has _weird_ defaults Closes #79
Diffstat (limited to 'sass/components/forms')
-rw-r--r--sass/components/forms/_forms.scss2
-rw-r--r--sass/components/forms/_input-fields.scss2
2 files changed, 2 insertions, 2 deletions
diff --git a/sass/components/forms/_forms.scss b/sass/components/forms/_forms.scss
index 4c19f4c..a387260 100644
--- a/sass/components/forms/_forms.scss
+++ b/sass/components/forms/_forms.scss
@@ -10,7 +10,7 @@ button:focus {
label {
font-size: $label-font-size;
- color: $input-border-color;
+ color: $input-label-color;
}
@import 'input-fields';
diff --git a/sass/components/forms/_input-fields.scss b/sass/components/forms/_input-fields.scss
index f18c2f8..09fa47c 100644
--- a/sass/components/forms/_input-fields.scss
+++ b/sass/components/forms/_input-fields.scss
@@ -176,7 +176,7 @@ textarea.materialize-textarea {
margin-bottom: 1rem;
& > label {
- color: $input-border-color;
+ color: $input-label-color;
position: absolute;
top: 0;
left: 0;