Skip to content

Commit

Permalink
fix: 🐛 Fix #78 (#118)
Browse files Browse the repository at this point in the history
Fix #78 by adding `accent-color` CSS property to only inputs with types: `checkbox`, `radio` and `range`. We also added `progress` element as `MDN` said in `accent-color` page.
  • Loading branch information
krypton225 authored Oct 21, 2024
1 parent 57a0a24 commit 58752c4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions dist/chota.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,12 @@ textarea[type="text"] {
display: block;
width: 100%;
}
input[type="checkbox"],
input[type="radio"],
input[type="range"],
progress {
accent-color: var(--color-primary);
}
select {
-webkit-appearance: none;
-moz-appearance: none;
Expand Down
Loading

0 comments on commit 58752c4

Please sign in to comment.