Skip to content

Commit 243390c

Browse files
authored
fix(typography): prevent bootstrap color override (#2161)
1 parent 8f09ddd commit 243390c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/app/pages/ui-features/typography/typography.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ <h5 class="text-heading">Heading Text</h5>
123123
Far far away, behind the your awesomeness.
124124
</div>
125125
</div>
126-
<div class="item text-body">
126+
<div class="item text-basic">
127127
<div class="color bg-body"></div>
128128
<div>
129-
<h5 class="text-body">Body Text</h5>
129+
<h5 class="text-basic">Body Text</h5>
130130
Far far away, behind the your awesomeness.
131131
</div>
132132
</div>

src/app/pages/ui-features/typography/typography.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@
100100
}
101101
}
102102

103+
.text-basic {
104+
color: nb-theme(text-basic-color);
105+
}
106+
103107
.text-link {
104108
color: nb-theme(link-text-color);
105109
}

0 commit comments

Comments
 (0)