Skip to content

Commit 755983e

Browse files
committed
Just override the semantic ui fonts only
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 9e652eb commit 755983e

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,32 @@
33
@default-fonts: "Lato", "Segoe UI", "Microsoft YaHei", Arial, Helvetica, sans-serif;
44

55
.override-fonts(@fonts) {
6-
font-family: @fonts !important;
7-
.icon {
8-
font-family: Icons, @fonts !important;
9-
}
10-
.mega-octicon, .octicon {
11-
font-family: Octicons, @fonts !important;
6+
/* We're going to just override the semantic fonts here */
7+
.ui.input input {
8+
font-family: @fonts;
9+
}
10+
11+
.ui.header,
12+
.ui.accordion .title:not(.ui),
13+
.ui.button,
14+
.ui.card > .content > .header.ui.card > .content > .header,
15+
.ui.list .list > .item .header,
16+
.ui.list > .item .header,
17+
.ui.message .header,
18+
.ui.modal > .header,
19+
.ui.items > .item > .content > .header,
20+
.ui.popup > .header,
21+
.ui.search > .results .result .title,
22+
.ui.search > .results > .message .header,
23+
.ui.category.search > .results .category > .name,
24+
body,
25+
.ui.statistics .statistic > .value,
26+
.ui.statistic > .value,
27+
.ui.statistics .statistic > .label,
28+
.ui.statistic > .label,
29+
.ui.steps .step .title
30+
{
31+
font-family: @fonts;
1232
}
1333
}
1434

0 commit comments

Comments
 (0)