open-consul/ui/packages/consul-ui/app/components/card/skin.scss
John Cowen a686404ccd
ui: Fix brand coloring for inline-code plus docs (#11578)
* ui: Fix brand coloring for inline-code plus docs

Also use --tones instead of --black/--white (#11601)

Co-authored-by: Evan Rowe <ev.rowe@gmail.com>
2021-11-23 18:32:11 +00:00

26 lines
483 B
SCSS

%card:hover,
%card:focus {
@extend %card-intent;
}
%card {
border: var(--decor-border-100);
border-radius: var(--decor-radius-100);
background-color: rgb(var(--tone-gray-000) / 90%);
}
%card > section,
%card > ul > li {
border-top: var(--decor-border-100);
}
%card,
%card > section,
%card > ul > li {
border-color: rgb(var(--tone-gray-200));
}
%card ul {
/*TODO: %list-style-none?*/
list-style-type: none;
}
%card-intent {
box-shadow: var(--decor-elevation-400);
}