consul/ui/packages/consul-ui/app/components/table/skin.scss

32 lines
718 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
%table th,
%table td {
border-bottom: var(--decor-border-100);
}
%table th,
%tbody-th {
border-color: var(--token-color-palette-neutral-300);
}
%table td {
border-color: var(--token-color-palette-neutral-300);
color: var(--token-color-foreground-faint);
}
%table th,
%table td strong {
color: var(--token-color-foreground-faint);
}
/* TODO: Add to native selector `tbody th` - will involve moving all
* current th's to `thead th` and changing the templates
* at whichpoint we can probably remove the %table a selector from here
*/
%table a {
color: var(--token-color-foreground-strong);
}
%table th {
@extend %tbody-th;
}