@gitlab/ui 64.7.0 → 64.8.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/CHANGELOG.md +7 -0
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +1 -1
- package/scss_to_js/scss_variables.js +2 -2
- package/scss_to_js/scss_variables.json +4 -4
- package/src/scss/fonts.scss +4 -4
- package/src/scss/typescale/typeface_demo.html +1 -1
- package/src/scss/variables.scss +2 -2
package/package.json
CHANGED
|
@@ -295,7 +295,7 @@ export const glFontSizeCompactMarkdownH1Md = '1.25rem'
|
|
|
295
295
|
export const glFontSizeCompactMarkdownH1Xl = '1.4375rem'
|
|
296
296
|
export const glMonospaceFont = ''
|
|
297
297
|
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'
|
|
298
|
-
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"))'
|
|
298
|
+
export const glFonts = '("monospace": ("GitLab Mono", "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"))'
|
|
299
299
|
export const borderColor = '#dcdcde'
|
|
300
300
|
export const glBorderSize1 = '1px'
|
|
301
301
|
export const glBorderSize2 = '2px'
|
|
@@ -356,7 +356,7 @@ export const warning = '#ab6100'
|
|
|
356
356
|
export const danger = '#dd2b0e'
|
|
357
357
|
export const fontWeightBold = '600'
|
|
358
358
|
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'
|
|
359
|
-
export const fontFamilyMonospace = '"JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace'
|
|
359
|
+
export const fontFamilyMonospace = '"GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace'
|
|
360
360
|
export const h1FontSize = '2.1875rem'
|
|
361
361
|
export const h2FontSize = '1.75rem'
|
|
362
362
|
export const h3FontSize = '1.53125rem'
|
|
@@ -1516,7 +1516,7 @@
|
|
|
1516
1516
|
},
|
|
1517
1517
|
{
|
|
1518
1518
|
"name": "$gl-monospace-font",
|
|
1519
|
-
"value": "'JetBrains Mono', 'Menlo', 'DejaVu Sans Mono', 'Liberation Mono', 'Consolas', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace",
|
|
1519
|
+
"value": "'GitLab Mono', 'JetBrains Mono', 'Menlo', 'DejaVu Sans Mono', 'Liberation Mono', 'Consolas', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace",
|
|
1520
1520
|
"compiledValue": ""
|
|
1521
1521
|
},
|
|
1522
1522
|
{
|
|
@@ -1531,7 +1531,7 @@
|
|
|
1531
1531
|
{
|
|
1532
1532
|
"name": "monospace",
|
|
1533
1533
|
"value": "$gl-monospace-font",
|
|
1534
|
-
"compiledValue": "\"JetBrains Mono\", \"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
|
|
1534
|
+
"compiledValue": "\"GitLab Mono\", \"JetBrains Mono\", \"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
|
|
1535
1535
|
},
|
|
1536
1536
|
{
|
|
1537
1537
|
"name": "regular",
|
|
@@ -1539,7 +1539,7 @@
|
|
|
1539
1539
|
"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"
|
|
1540
1540
|
}
|
|
1541
1541
|
],
|
|
1542
|
-
"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\"))"
|
|
1542
|
+
"compiledValue": "(\"monospace\": (\"GitLab Mono\", \"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\"))"
|
|
1543
1543
|
},
|
|
1544
1544
|
{
|
|
1545
1545
|
"name": "$border-color",
|
|
@@ -1893,7 +1893,7 @@
|
|
|
1893
1893
|
{
|
|
1894
1894
|
"name": "$font-family-monospace",
|
|
1895
1895
|
"value": "$gl-monospace-font",
|
|
1896
|
-
"compiledValue": "\"JetBrains Mono\", \"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
|
|
1896
|
+
"compiledValue": "\"GitLab Mono\", \"JetBrains Mono\", \"Menlo\", \"DejaVu Sans Mono\", \"Liberation Mono\", \"Consolas\", \"Ubuntu Mono\", \"Courier New\", \"andale mono\", \"lucida console\", monospace"
|
|
1897
1897
|
},
|
|
1898
1898
|
{
|
|
1899
1899
|
"name": "$h1-font-size",
|
package/src/scss/fonts.scss
CHANGED
|
@@ -18,18 +18,18 @@ Usage:
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* -------------------------------------------------------
|
|
21
|
-
Monospaced font:
|
|
21
|
+
Monospaced font: GitLab Mono.
|
|
22
22
|
|
|
23
23
|
Usage:
|
|
24
|
-
html { font-family: '
|
|
24
|
+
html { font-family: 'GitLab Mono', sans-serif; }
|
|
25
25
|
*/
|
|
26
26
|
@font-face {
|
|
27
|
-
font-family: '
|
|
27
|
+
font-family: 'GitLab Mono';
|
|
28
28
|
/**
|
|
29
29
|
* Applications should use a less aggressive font-display value than this.
|
|
30
30
|
* This is done to make sure Storybook Previews load the font.
|
|
31
31
|
*/
|
|
32
32
|
font-display: block;
|
|
33
33
|
font-style: normal;
|
|
34
|
-
src: url('../../static/fonts/
|
|
34
|
+
src: url('../../static/fonts/GitLabMono.woff2') format('woff2');
|
|
35
35
|
}
|
package/src/scss/variables.scss
CHANGED
|
@@ -396,8 +396,8 @@ $gl-font-size-compact-markdown-h1-md: px-to-rem(20px);
|
|
|
396
396
|
$gl-font-size-compact-markdown-h1-xl: px-to-rem(23px);
|
|
397
397
|
|
|
398
398
|
// Fonts
|
|
399
|
-
$gl-monospace-font: 'JetBrains Mono', 'Menlo', 'DejaVu Sans Mono', 'Liberation Mono',
|
|
400
|
-
'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace !default;
|
|
399
|
+
$gl-monospace-font: 'GitLab Mono', 'JetBrains Mono', 'Menlo', 'DejaVu Sans Mono', 'Liberation Mono',
|
|
400
|
+
'Consolas', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace !default;
|
|
401
401
|
$gl-regular-font: 'GitLab Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans',
|
|
402
402
|
Ubuntu, Cantarell, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
403
403
|
'Segoe UI Symbol', 'Noto Color Emoji' !default;
|