@gitlab/ui 51.1.1 → 52.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "51.1.1",
3
+ "version": "52.1.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -24,12 +24,13 @@
24
24
  "prebuild": "run-s build-scss-variables generate-utilities",
25
25
  "prepare": "run-s build-scss-variables generate-utilities",
26
26
  "generate-utilities": "make src/scss/utilities.scss",
27
+ "copy-fonts": "make copy-fonts",
27
28
  "build-scss-variables": "make scss_to_js/scss_variables.js",
28
29
  "clean": "rm -r dist storybook scss_to_js/scss_variables.* src/scss/utilities.scss",
29
30
  "cy:run": "cypress run --browser firefox",
30
31
  "start": "yarn storybook",
31
32
  "storybook": "yarn storybook-prep && start-storybook --ci --host localhost --port 9001 -c .storybook -s ./static",
32
- "storybook-prep": "run-s generate-utilities build-scss-variables",
33
+ "storybook-prep": "run-s generate-utilities build-scss-variables copy-fonts",
33
34
  "storybook-static": "yarn storybook-prep && build-storybook -c .storybook -o storybook -s ./static",
34
35
  "pretest:unit": "yarn build-scss-variables",
35
36
  "test": "run-s test:unit test:visual",
@@ -84,8 +85,9 @@
84
85
  "@babel/core": "^7.20.5",
85
86
  "@babel/preset-env": "^7.20.2",
86
87
  "@gitlab/eslint-plugin": "18.1.0",
88
+ "@gitlab/fonts": "^1.0.0",
87
89
  "@gitlab/stylelint-config": "4.1.0",
88
- "@gitlab/svgs": "3.11.0",
90
+ "@gitlab/svgs": "3.13.0",
89
91
  "@rollup/plugin-commonjs": "^11.1.0",
90
92
  "@rollup/plugin-node-resolve": "^7.1.3",
91
93
  "@rollup/plugin-replace": "^2.3.2",
@@ -285,12 +285,9 @@ export const glFontSizeMarkdownH3Xl = '1.4375rem'
285
285
  export const glFontSizeCompactMarkdownH1 = '1.1875rem'
286
286
  export const glFontSizeCompactMarkdownH1Md = '1.25rem'
287
287
  export const glFontSizeCompactMarkdownH1Xl = '1.4375rem'
288
- export const glFontSizeMonospace = '0.8125rem'
289
- export const glFontSizeMonospaceLg = '0.9375rem'
290
- export const glFontSizeMonospaceSm = '0.6875rem'
291
288
  export const glMonospaceFont = ''
292
- export const glRegularFont = ''
293
- export const glFonts = '("monospace": ("Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace), "regular": (-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"))'
289
+ export const glRegularFont = 'GitLab Sans ", -apple-system, BlinkMacSystemFont, " Segoe UI ", Roboto, " Noto Sans ", Ubuntu, Cantarell, " Helvetica Neue ", sans-serif, " Apple Color Emoji ", " Segoe UI Emoji ", " Segoe UI Symbol ", " Noto Color Emoji'
290
+ export const glFonts = '("monospace": ("JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace), "regular": ("GitLab Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"))'
294
291
  export const borderColor = '#dcdcde'
295
292
  export const glBorderSize1 = '1px'
296
293
  export const glBorderSize2 = '2px'
@@ -347,8 +344,8 @@ export const info = '#1f75cb'
347
344
  export const warning = '#ab6100'
348
345
  export const danger = '#dd2b0e'
349
346
  export const fontWeightBold = '600'
350
- export const fontFamilySansSerif = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", Noto Color Emoji'
351
- export const fontFamilyMonospace = '"Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace'
347
+ export const fontFamilySansSerif = '"GitLab Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", Noto Color Emoji'
348
+ export const fontFamilyMonospace = '"JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace'
352
349
  export const h1FontSize = '2.1875rem'
353
350
  export const h2FontSize = '1.75rem'
354
351
  export const h3FontSize = '1.53125rem'
@@ -1474,30 +1474,15 @@
1474
1474
  "value": "px-to-rem(23px)",
1475
1475
  "compiledValue": "1.4375rem"
1476
1476
  },
1477
- {
1478
- "name": "$gl-font-size-monospace",
1479
- "value": "px-to-rem(13px)",
1480
- "compiledValue": "0.8125rem"
1481
- },
1482
- {
1483
- "name": "$gl-font-size-monospace-lg",
1484
- "value": "px-to-rem(15px)",
1485
- "compiledValue": "0.9375rem"
1486
- },
1487
- {
1488
- "name": "$gl-font-size-monospace-sm",
1489
- "value": "px-to-rem(11px)",
1490
- "compiledValue": "0.6875rem"
1491
- },
1492
1477
  {
1493
1478
  "name": "$gl-monospace-font",
1494
- "value": "'Menlo', 'DejaVu Sans Mono', 'Liberation Mono', 'Consolas', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace",
1479
+ "value": "'JetBrains Mono', 'Menlo', 'DejaVu Sans Mono', 'Liberation Mono', 'Consolas', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace",
1495
1480
  "compiledValue": ""
1496
1481
  },
1497
1482
  {
1498
1483
  "name": "$gl-regular-font",
1499
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu, Cantarell, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
1500
- "compiledValue": ""
1484
+ "value": "GitLab Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu, Cantarell, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji",
1485
+ "compiledValue": "GitLab Sans \", -apple-system, BlinkMacSystemFont, \" Segoe UI \", Roboto, \" Noto Sans \", Ubuntu, Cantarell, \" Helvetica Neue \", sans-serif, \" Apple Color Emoji \", \" Segoe UI Emoji \", \" Segoe UI Symbol \", \" Noto Color Emoji"
1501
1486
  },
1502
1487
  {
1503
1488
  "name": "$gl-fonts",
@@ -1506,15 +1491,15 @@
1506
1491
  {
1507
1492
  "name": "monospace",
1508
1493
  "value": "$gl-monospace-font",
1509
- "compiledValue": "\"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
1494
+ "compiledValue": "\"JetBrains Mono\", \"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
1510
1495
  },
1511
1496
  {
1512
1497
  "name": "regular",
1513
1498
  "value": "$gl-regular-font",
1514
- "compiledValue": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Noto Sans\", Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", Noto Color Emoji"
1499
+ "compiledValue": "\"GitLab Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Noto Sans\", Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", Noto Color Emoji"
1515
1500
  }
1516
1501
  ],
1517
- "compiledValue": "(\"monospace\": (\"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace), \"regular\": (-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Noto Sans\", Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"))"
1502
+ "compiledValue": "(\"monospace\": (\"JetBrains Mono\", \"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace), \"regular\": (\"GitLab Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Noto Sans\", Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"))"
1518
1503
  },
1519
1504
  {
1520
1505
  "name": "$border-color",
@@ -1848,12 +1833,12 @@
1848
1833
  {
1849
1834
  "name": "$font-family-sans-serif",
1850
1835
  "value": "$gl-regular-font",
1851
- "compiledValue": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Noto Sans\", Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", Noto Color Emoji"
1836
+ "compiledValue": "\"GitLab Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Noto Sans\", Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", Noto Color Emoji"
1852
1837
  },
1853
1838
  {
1854
1839
  "name": "$font-family-monospace",
1855
1840
  "value": "$gl-monospace-font",
1856
- "compiledValue": "\"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
1841
+ "compiledValue": "\"JetBrains Mono\", \"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
1857
1842
  },
1858
1843
  {
1859
1844
  "name": "$h1-font-size",
@@ -115,13 +115,6 @@
115
115
  .monospace,
116
116
  code {
117
117
  @include gl-font-monospace;
118
- @include gl-font-size-monospace-lg;
119
- @include gl-line-height-24;
120
-
121
- &.sm {
122
- @include gl-font-size-monospace;
123
- @include gl-line-height-20;
124
- }
125
118
  }
126
119
 
127
120
  blockquote {
@@ -288,12 +281,6 @@
288
281
  .monospace,
289
282
  code {
290
283
  @include gl-font-monospace;
291
- @include gl-font-size-monospace;
292
- @include gl-line-height-20;
293
-
294
- &.sm {
295
- @include gl-font-size-monospace-sm;
296
- }
297
284
  }
298
285
 
299
286
  table {
@@ -38,13 +38,25 @@
38
38
  }
39
39
 
40
40
  .gl-token-close {
41
- @include gl-mx-2;
41
+ @include gl-ml-2;
42
42
  @include gl-reset-color;
43
43
  @include gl-cursor-pointer;
44
+ opacity: 0.8;
45
+ color: inherit !important;
44
46
  background-color: transparent !important;
45
47
 
48
+ svg {
49
+ color: inherit !important;
50
+ mix-blend-mode: normal !important;
51
+ }
52
+
53
+ &:hover,
54
+ &:focus {
55
+ @include gl-opacity-10;
56
+ }
57
+
46
58
  &:focus,
47
59
  &:hover:focus {
48
- @include gl-focus($color: rgba($black, 0.5), $inset: true, $important: true);
60
+ @include gl-focus($important: true);
49
61
  }
50
62
  }
@@ -0,0 +1,35 @@
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
+ font-named-instance: 'Regular'; /* stylelint-disable property-no-unknown */
17
+ src: url('/fonts/GitLabSans.woff2') format('woff2');
18
+ }
19
+
20
+ /* -------------------------------------------------------
21
+ Monospaced font: JetBrains Mono.
22
+
23
+ Usage:
24
+ html { font-family: 'JetBrains Mono', sans-serif; }
25
+ */
26
+ @font-face {
27
+ font-family: 'JetBrains Mono';
28
+ /**
29
+ * Applications should use a less aggressive font-display value than this.
30
+ * This is done to make sure Storybook Previews load the font.
31
+ */
32
+ font-display: block;
33
+ font-style: normal;
34
+ src: url('/fonts/JetBrainsMono.woff2') format('woff2');
35
+ }
@@ -11,6 +11,8 @@
11
11
  @import 'utility-mixins/index';
12
12
  @import 'utilities';
13
13
 
14
+ @import 'fonts';
15
+
14
16
  @import 'components';
15
17
 
16
18
  @import 'storybook_dark_mode';
@@ -90,17 +90,6 @@
90
90
 
91
91
  .monospace {
92
92
  @include gl-font-monospace;
93
- @include gl-font-size-monospace;
94
- @include gl-line-height-20;
95
-
96
- &.sm {
97
- @include gl-font-size-monospace-sm;
98
- }
99
-
100
- &.lg {
101
- @include gl-font-size-monospace-lg;
102
- @include gl-line-height-24;
103
- }
104
93
  }
105
94
 
106
95
  blockquote {
@@ -0,0 +1,70 @@
1
+ <table>
2
+ <thead>
3
+ <tr>
4
+ <th class="gl-pb-5 gl-pr-10">
5
+ <h4>Primary typeface</h4>
6
+ <h1>GitLab Sans</h1>
7
+ </th>
8
+ <th class="gl-pb-5 monospace">
9
+ <h4>Monospaced typeface</h4>
10
+ <h1>JetBrains Mono</h1>
11
+ </th>
12
+ </tr>
13
+ </thead>
14
+ <tbody>
15
+ <tr>
16
+ <td class="gl-pb-5 gl-pr-10">
17
+ <p class="sm">
18
+ UI Small Paragraph • 0.75rem (12px)<br />
19
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
20
+ abcdefghijklmnopqrstuvwxyz<br />
21
+ 1234567890
22
+ </p>
23
+ </td>
24
+ <td class="gl-pb-5">
25
+ <p class="monospace sm">
26
+ UI Small Monospace • 0.75rem (12px)<br />
27
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
28
+ abcdefghijklmnopqrstuvwxyz<br />
29
+ 1234567890
30
+ </p>
31
+ </td>
32
+ </tr>
33
+ <tr>
34
+ <td class="gl-pb-5 gl-pr-10">
35
+ <p>
36
+ UI Paragraph • 0.875rem (14px)<br />
37
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
38
+ abcdefghijklmnopqrstuvwxyz<br />
39
+ 1234567890
40
+ </p>
41
+ </td>
42
+ <td class="gl-pb-5">
43
+ <p class="monospace">
44
+ UI Monospace • 0.875rem (14px)<br />
45
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
46
+ abcdefghijklmnopqrstuvwxyz<br />
47
+ 1234567890
48
+ </p>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="gl-pb-5 gl-pr-10">
53
+ <p class="lg">
54
+ UI Large Paragraph • 1rem (16px)<br />
55
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
56
+ abcdefghijklmnopqrstuvwxyz<br />
57
+ 1234567890
58
+ </p>
59
+ </td>
60
+ <td class="gl-pb-5">
61
+ <p class="monospace lg">
62
+ UI Large Monospace • 1rem (16px)<br />
63
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
64
+ abcdefghijklmnopqrstuvwxyz<br />
65
+ 1234567890
66
+ </p>
67
+ </td>
68
+ </tr>
69
+ </tbody>
70
+ </table>
@@ -2,6 +2,7 @@ import has from 'lodash/has';
2
2
  import typescaleDocs from './typescale.md';
3
3
  import uiTypescaleDemoContent from './typescale_demo.html';
4
4
  import uiTypescaleDemoStyles from './typescale_demo.scss';
5
+ import uiTypefaceContent from './typeface_demo.html';
5
6
 
6
7
  const createTypescaleDemoComponent = (componentName, typescaleCSS, demoContent) => {
7
8
  if (!has(window, 'customElements') || customElements.get(componentName)) {
@@ -27,11 +28,16 @@ const createTypescaleDemoComponent = (componentName, typescaleCSS, demoContent)
27
28
  };
28
29
 
29
30
  createTypescaleDemoComponent('ui-typescale-demo', uiTypescaleDemoStyles, uiTypescaleDemoContent);
31
+ createTypescaleDemoComponent('ui-typeface-demo', uiTypescaleDemoStyles, uiTypefaceContent);
30
32
 
31
33
  const component = {
32
34
  template: '<ui-typescale-demo />',
33
35
  };
34
36
 
37
+ const typefaceComponent = {
38
+ template: '<ui-typeface-demo />',
39
+ };
40
+
35
41
  export const Default = () => component;
36
42
  Default.parameters = {
37
43
  viewport: {
@@ -39,6 +45,9 @@ Default.parameters = {
39
45
  },
40
46
  };
41
47
 
48
+ export const Typefaces = () => typefaceComponent;
49
+ Typefaces.parameters = Default.parameters;
50
+
42
51
  // eslint-disable-next-line storybook/csf-component
43
52
  export default {
44
53
  title: 'scss/typescale',
@@ -7833,30 +7833,6 @@
7833
7833
  font-size: $gl-font-size-h2-xl !important;
7834
7834
  }
7835
7835
 
7836
- .gl-font-size-monospace {
7837
- font-size: $gl-font-size-monospace;
7838
- }
7839
-
7840
- .gl-font-size-monospace\! {
7841
- font-size: $gl-font-size-monospace !important;
7842
- }
7843
-
7844
- .gl-font-size-monospace-sm {
7845
- font-size: $gl-font-size-monospace-sm;
7846
- }
7847
-
7848
- .gl-font-size-monospace-sm\! {
7849
- font-size: $gl-font-size-monospace-sm !important;
7850
- }
7851
-
7852
- .gl-font-size-monospace-lg {
7853
- font-size: $gl-font-size-monospace-lg;
7854
- }
7855
-
7856
- .gl-font-size-monospace-lg\! {
7857
- font-size: $gl-font-size-monospace-lg !important;
7858
- }
7859
-
7860
7836
  .gl-font-icon-size {
7861
7837
  font-size: $default-icon-size;
7862
7838
  }
@@ -70,18 +70,6 @@
70
70
  font-size: $gl-font-size-h2-xl;
71
71
  }
72
72
 
73
- @mixin gl-font-size-monospace {
74
- font-size: $gl-font-size-monospace;
75
- }
76
-
77
- @mixin gl-font-size-monospace-sm {
78
- font-size: $gl-font-size-monospace-sm;
79
- }
80
-
81
- @mixin gl-font-size-monospace-lg {
82
- font-size: $gl-font-size-monospace-lg;
83
- }
84
-
85
73
  @mixin gl-font-icon-size {
86
74
  font-size: $default-icon-size;
87
75
  }
@@ -387,18 +387,12 @@ $gl-font-size-compact-markdown-h1-md: px-to-rem(20px);
387
387
  // media xl (min-width: 1200px)
388
388
  $gl-font-size-compact-markdown-h1-xl: px-to-rem(23px);
389
389
 
390
- // Monoscape
391
- // These font sizes apply for all content-types, media-breakpoints, and element-types.
392
- $gl-font-size-monospace: px-to-rem(13px);
393
- $gl-font-size-monospace-lg: px-to-rem(15px);
394
- $gl-font-size-monospace-sm: px-to-rem(11px);
395
-
396
390
  // Fonts
397
- $gl-monospace-font: 'Menlo', 'DejaVu Sans Mono', 'Liberation Mono', 'Consolas', 'Ubuntu Mono',
398
- 'Courier New', 'andale mono', 'lucida console', monospace;
399
- $gl-regular-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu,
400
- Cantarell, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
401
- 'Noto Color Emoji';
391
+ $gl-monospace-font: 'JetBrains Mono', 'Menlo', 'DejaVu Sans Mono', 'Liberation Mono', 'Consolas',
392
+ 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace !default;
393
+ $gl-regular-font: 'GitLab Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans',
394
+ Ubuntu, Cantarell, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
395
+ 'Segoe UI Symbol', 'Noto Color Emoji' !default;
402
396
 
403
397
  $gl-fonts: (
404
398
  'monospace': $gl-monospace-font,
@@ -496,8 +490,8 @@ $danger: $red-500;
496
490
 
497
491
  $font-weight-bold: $gl-font-weight-bold;
498
492
 
499
- $font-family-sans-serif: $gl-regular-font;
500
- $font-family-monospace: $gl-monospace-font;
493
+ $font-family-sans-serif: $gl-regular-font !default;
494
+ $font-family-monospace: $gl-monospace-font !default;
501
495
 
502
496
  $h1-font-size: $gl-font-size * 2.5;
503
497
  $h2-font-size: $gl-font-size * 2;