Skip to content

Commit

Permalink
Switch from SASS variables to CSS custom properties
Browse files Browse the repository at this point in the history
This will eventually allow client-side theming support.
  • Loading branch information
linkmauve committed Oct 31, 2018
1 parent f941de8 commit 8fdfee8
Show file tree
Hide file tree
Showing 12 changed files with 414 additions and 451 deletions.
12 changes: 6 additions & 6 deletions sass/_awesomplete.scss
Expand Up @@ -17,7 +17,7 @@
.awesomplete {
position: relative;
mark {
background: $lightest-red;
background: var(--completion-light-color);
}

> input {
Expand Down Expand Up @@ -115,19 +115,19 @@

.suggestion-box > ul > li[aria-selected="true"],
div.awesomplete > ul > li[aria-selected="true"] {
background: $dark-red;
color: $inverse-link-color;
background: var(--completion-dark-color);
color: var(--inverse-link-color);
}

.suggestion-box li:hover mark,
div.awesomplete li:hover mark {
background: $lightest-red;
color: $inverse-link-color;
background: var(--completion-light-color);
color: var(--inverse-link-color);
}

.suggestion-box li[aria-selected="true"] mark,
div.awesomplete li[aria-selected="true"] mark {
background: $red;
background: var(--completion-normal-color);
color: inherit;
}
}
Expand Down

0 comments on commit 8fdfee8

Please sign in to comment.