1 | /* -------------------------------------------------------
|
2 | GitLab Sans variable font.
|
3 |
|
4 | Usage:
|
5 | html { font-family: 'GitLab Sans', sans-serif; }
|
6 | */
|
7 | @font-face {
|
8 | font-family: 'GitLab Sans';
|
9 | font-weight: 100 900;
|
10 | /**
|
11 | * Applications should use a less aggressive font-display value than this.
|
12 | * This is done to make sure Storybook Previews load the font.
|
13 | */
|
14 | font-display: block;
|
15 | font-style: normal;
|
16 | /* stylelint-disable-next-line property-no-unknown */
|
17 | font-named-instance: 'Regular';
|
18 | src: url('../../static/fonts/GitLabSans.woff2') format('woff2');
|
19 | }
|
20 |
|
21 | @font-face {
|
22 | font-family: 'GitLab Sans';
|
23 | font-weight: 100 900;
|
24 | /**
|
25 | * Applications should use a less aggressive font-display value than this.
|
26 | * This is done to make sure Storybook Previews load the font.
|
27 | */
|
28 | font-display: block;
|
29 | font-style: italic;
|
30 | /* stylelint-disable-next-line property-no-unknown */
|
31 | font-named-instance: 'Regular';
|
32 | src: url('../../static/fonts/GitLabSans-Italic.woff2') format('woff2');
|
33 | }
|
34 |
|
35 | /* -------------------------------------------------------
|
36 | Monospaced font: GitLab Mono.
|
37 |
|
38 | Usage:
|
39 | html { font-family: 'GitLab Mono', monospace; }
|
40 | */
|
41 | @font-face {
|
42 | font-family: 'GitLab Mono';
|
43 | font-weight: 100 900;
|
44 | /**
|
45 | * Applications should use a less aggressive font-display value than this.
|
46 | * This is done to make sure Storybook Previews load the font.
|
47 | */
|
48 | font-display: block;
|
49 | font-style: normal;
|
50 | src: url('../../static/fonts/GitLabMono.woff2') format('woff2');
|
51 | }
|
52 |
|
53 | @font-face {
|
54 | font-family: 'GitLab Mono';
|
55 | font-weight: 100 900;
|
56 | /**
|
57 | * Applications should use a less aggressive font-display value than this.
|
58 | * This is done to make sure Storybook Previews load the font.
|
59 | */
|
60 | font-display: block;
|
61 | font-style: italic;
|
62 | src: url('../../static/fonts/GitLabMono-Italic.woff2') format('woff2');
|
63 | }
|
64 |
|
65 | * {
|
66 | font-synthesis: none;
|
67 | }
|