Skip to content

Commit

Permalink
fix(typography): use text theme vars for text color classes (#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Jan 28, 2020
1 parent f9d473c commit af2e674
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,9 @@
line-height: nb-theme(list-item-line-height);
}

.text-basic {
color: nb-theme(text-basic-color);
}
.text-alternate {
color: nb-theme(text-alternate-color);
}
.text-control {
color: nb-theme(text-control-color);
}
.text-disabled {
color: nb-theme(text-disabled-color);
}
Expand All @@ -144,7 +138,7 @@

@each $status in nb-get-statuses() {
.text-#{$status} {
color: nb-theme(color-#{$status}-default);
color: nb-theme(text-#{$status}-color);
}
}
}

0 comments on commit af2e674

Please sign in to comment.