Compare commits
2
Commits
f9489fdffc
...
fea90c95c8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fea90c95c8 | ||
|
|
885df0a2ff |
No files matched your search
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
- :bug: Strengthen TextField error styling with a wider error ring and matching error text color.
|
||||||
|
|
||||||
## 0.2.0
|
## 0.2.0
|
||||||
|
|
||||||
- :bug: Fix focus ring on Button — use a box-shadow ring so the indicator renders correctly in Safari.
|
- :bug: Fix focus ring on Button — use a box-shadow ring so the indicator renders correctly in Safari.
|
||||||
|
|||||||
@@ -51,6 +51,12 @@
|
|||||||
box-shadow: 0 0 0 1px var(--a-border-danger);
|
box-shadow: 0 0 0 1px var(--a-border-danger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Increase the error ring so it reads at a glance on light backgrounds. */
|
||||||
|
.navds-text-field--error {
|
||||||
|
box-shadow: 0 0 0 2px #c30000;
|
||||||
|
border-color: #c30000;
|
||||||
|
}
|
||||||
|
|
||||||
.navds-form-field__error {
|
.navds-form-field__error {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -58,7 +64,7 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: var(--a-font-size-xs);
|
font-size: var(--a-font-size-xs);
|
||||||
font-weight: var(--a-font-weight-bold);
|
font-weight: var(--a-font-weight-bold);
|
||||||
color: var(--a-icon-danger);
|
color: #c30000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navds-sr-only {
|
.navds-sr-only {
|
||||||
|
|||||||
Reference in new issue
Block a user