Skip to content

Commit

Permalink
fix(typography): declare text color classes at the bottom (#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Jul 27, 2019
1 parent 88eb8f7 commit 1072754
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/framework/theme/styles/global/typography/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,6 @@
line-height: nb-theme(text-paragraph-2-line-height);
}

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

.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);
}
.text-hint {
color: nb-theme(text-hint-color);
}

a {
color: nb-theme(link-text-color);
font-size: inherit;
Expand Down Expand Up @@ -146,4 +124,26 @@
font-weight: nb-theme(list-item-font-weight);
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);
}
.text-hint {
color: nb-theme(text-hint-color);
}

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

0 comments on commit 1072754

Please sign in to comment.