Skip to content

Commit b811f2a

Browse files
authored
Merge pull request #60 from layer5io/copilot/set-default-font-qanelas-soft
[UI] Use Qanelas Soft as default font family from Sistent theme
2 parents a8047f5 + 59e4d52 commit b811f2a

File tree

5 files changed

+44
-3
lines changed

5 files changed

+44
-3
lines changed
99.6 KB
Binary file not shown.
100 KB
Binary file not shown.
70.9 KB
Binary file not shown.
87.4 KB
Binary file not shown.

ui/src/styles.css

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,48 @@
1-
.sans-serif { font-family: -apple-system, 'avenir next', avenir, roboto, noto, 'helvetica neue', helvetica, ubuntu, 'franklin gothic medium', 'century gothic', sans-serif; }
1+
/* Qanelas Soft font family - used by Sistent theme */
2+
@font-face {
3+
font-family: "Qanelas Soft Regular";
4+
src: url('./assets/fonts/qanelas-soft/QanelasSoftRegular.otf') format('opentype');
5+
font-weight: 400;
6+
font-style: normal;
7+
font-display: swap;
8+
}
9+
10+
@font-face {
11+
font-family: "Qanelas Soft Regular";
12+
src: url('./assets/fonts/qanelas-soft/QanelasSoftMedium.otf') format('opentype');
13+
font-weight: 500;
14+
font-style: normal;
15+
font-display: swap;
16+
}
217

3-
*{
4-
margin:0;
18+
@font-face {
19+
font-family: "Qanelas Soft Regular";
20+
src: url('./assets/fonts/qanelas-soft/QanelasSoftSemiBold.otf') format('opentype');
21+
font-weight: 600;
22+
font-style: normal;
23+
font-display: swap;
24+
}
25+
26+
@font-face {
27+
font-family: "Qanelas Soft Regular";
28+
src: url('./assets/fonts/qanelas-soft/QanelasSoftBold.otf') format('opentype');
29+
font-weight: 700;
30+
font-style: normal;
31+
font-display: swap;
32+
}
33+
34+
/* Global font family - matches Sistent theme typography */
35+
* {
36+
margin: 0;
537
padding: 0;
38+
font-family: "Qanelas Soft Regular", "Roboto", "Helvetica", "Arial", sans-serif;
39+
}
40+
41+
body {
42+
font-family: "Qanelas Soft Regular", "Roboto", "Helvetica", "Arial", sans-serif;
43+
}
44+
45+
.sans-serif {
46+
font-family: "Qanelas Soft Regular", "Roboto", "Helvetica", "Arial", sans-serif;
647
}
748

0 commit comments

Comments
 (0)