summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/fonts.scss
blob: a6ecca88bd42e88895c12724663d709b1466e4d6 (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
/* -------------------------------------------------------
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');
}

:root {
  --default-mono-font: 'JetBrains Mono', 'Menlo';
  --default-regular-font: 'GitLab Sans', -apple-system;
}