Skip to content

Commit

Permalink
finish applying color system to datatable
Browse files Browse the repository at this point in the history
  • Loading branch information
danrosenthal committed Feb 24, 2020
1 parent fd72697 commit e0ad6f0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/components/DataTable/DataTable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ $breakpoint: 768px;
.Pip {
height: rem(6px);
width: rem(6px);
background: color('ink', 'lightest');
border-radius: border-radius();
background: var(--p-text-subdued, color('ink', 'lightest'));
border-radius: var(--p-border-radius-base, border-radius());

&:not(:last-of-type) {
margin-right: spacing(extra-tight);
}
}

.Pip-visible {
background: color('ink');
background: var(--p-text, color('ink'));
}

.ScrollContainer {
Expand All @@ -61,7 +61,8 @@ $breakpoint: 768px;

.Cell {
padding: spacing();
border-bottom: border-width() solid color('sky', 'light');
border-bottom: border-width() solid
var(--p-border-subdued, color('sky', 'light'));
white-space: nowrap;
text-align: left;
transition: background-color 0.2s ease-in-out;
Expand Down Expand Up @@ -123,14 +124,16 @@ $breakpoint: 768px;
display: inline-flex;
justify-content: flex-end;
align-items: baseline;
@include recolor-icon(var(--p-icon));
color: var(--p-text);
transition: color duration() easing();
padding: spacing();
cursor: pointer;

&:hover,
&:focus {
@include recolor-icon(color('indigo'));
color: color('indigo');
@include recolor-icon(var(--p-interactive, color('indigo')));
color: var(--p-interactive, color('indigo'));

.Icon {
opacity: 1;
Expand Down

0 comments on commit e0ad6f0

Please sign in to comment.