blob: a023b41083d3fe00b9407c5ea50662783064d07d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/* -------------------------------------------------------
Inter variable font.
Usage:
html { font-family: 'GitLab Sans', sans-serif; }
*/
@font-face {
font-family: 'GitLab Sans';
font-weight: 100 900;
font-display: optional;
font-style: normal;
font-named-instance: 'Regular'; /* stylelint-disable property-no-unknown */
src: font-url('gitlab-sans/GitLabSans.woff2') format('woff2');
}
/* -------------------------------------------------------
Monospaced font: JetBrains Mono.
Usage:
html { font-family: 'JetBrains Mono', sans-serif; }
*/
@font-face {
font-family: 'JetBrains Mono';
font-display: optional;
font-style: normal;
src: font-url('jetbrains-mono/JetBrainsMono.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains Mono';
font-display: optional;
font-weight: bold;
src: font-url('jetbrains-mono/JetBrainsMono-Bold.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains Mono';
font-display: optional;
font-weight: normal;
font-style: italic;
src: font-url('jetbrains-mono/JetBrainsMono-Italic.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains Mono';
font-display: optional;
font-weight: bold;
font-style: italic;
src: font-url('jetbrains-mono/JetBrainsMono-BoldItalic.woff2') format('woff2');
}
:root {
--default-mono-font: 'JetBrains Mono', 'Menlo';
--default-regular-font: 'GitLab Sans', -apple-system;
}
// This isn't the best solution, but we needed a quick fix
// https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107592/
* {
font-variant-ligatures: none;
}
|