Skip to content

Commit

Permalink
Improving the color contrast of placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jan 17, 2025
1 parent 6dd61ca commit ac66bd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</span>
</div>
</div>
<small class="text-muted">{{'browse.startsWith.type_text' | translate}}</small>
<small>{{'browse.startsWith.type_text' | translate}}</small>
</div>
</form>
5 changes: 4 additions & 1 deletion src/styles/_global-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,12 @@ ngb-accordion {
}

.form-control, .page-link {
&:disabled::placeholder {
&:disabled {
color: lighten($gray-700, 10%);
}
&::placeholder {
color: $gray-700;
}
&:focus {
box-shadow: none;
outline: 2px solid lighten($gray-700, 10%);
Expand Down

0 comments on commit ac66bd6

Please sign in to comment.