Use open-color directly (#1371)

This commit is contained in:
Jed Fox
2020-04-10 18:09:29 -04:00
committed by GitHub
parent 6d30351164
commit f7e3ee2064
27 changed files with 3283 additions and 197 deletions

View File

@@ -0,0 +1,20 @@
@import "../_variables.scss";
.TextInput {
display: inline-block;
border: 1.5px solid $oc-gray-2;
line-height: 1;
padding: 0.75rem;
white-space: nowrap;
border-radius: var(--space-factor);
background-color: $oc-white;
&:not(:focus) {
&:hover {
background-color: $oc-gray-1;
}
}
&:focus {
outline: none;
box-shadow: 0 0 0 2px $oc-blue-5;
}
}