Skip to content

Commit

Permalink
Align colour palette with GOV.UK Frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Jan 22, 2024
1 parent 9f4ab93 commit 6a4c686
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/accessible-autocomplete.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/accessible-autocomplete.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions src/autocomplete.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
}

.autocomplete__hint {
color: #b1b4b6;
color: #505a5f;
position: absolute;
}

.autocomplete__input--default {
padding: 5px;
}

.autocomplete__input--focused {
outline: 3px solid #fd0;
outline-offset: 0;
Expand All @@ -36,7 +37,7 @@
cursor: pointer;
}

.autocomplete__dropdown-arrow-down{
.autocomplete__dropdown-arrow-down {
z-index: -1;
display: inline-block;
position: absolute;
Expand All @@ -47,10 +48,10 @@
}

.autocomplete__menu {
background-color: #fff;
border: 2px solid #0B0C0C;
background-color: #ffffff;
border: 2px solid #0b0c0c;
border-top: 0;
color: #0B0C0C;
color: #0b0c0c;
margin: 0;
max-height: 342px;
overflow-x: hidden;
Expand Down Expand Up @@ -100,7 +101,7 @@
}

.autocomplete__option--odd {
background-color: #FAFAFA;
background-color: #f3f2f1;
}

.autocomplete__option--focused,
Expand Down Expand Up @@ -137,8 +138,8 @@
}

.autocomplete__option--no-results {
background-color: #FAFAFA;
color: #646b6f;
background-color: #f3f2f1;
color: #505a5f;
cursor: not-allowed;
}

Expand Down

0 comments on commit 6a4c686

Please sign in to comment.