@gitlab/ui 64.6.2 → 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 +14 -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 +14 -14
- 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/utilities.scss +121 -0
- package/src/scss/utility-mixins/typography.scss +26 -1
- package/src/scss/variables.scss +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "64.
|
|
3
|
+
"version": "64.8.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -94,18 +94,18 @@
|
|
|
94
94
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
95
95
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
96
96
|
"@rollup/plugin-replace": "^2.3.2",
|
|
97
|
-
"@storybook/addon-a11y": "7.0.
|
|
98
|
-
"@storybook/addon-docs": "7.0.
|
|
99
|
-
"@storybook/addon-essentials": "7.0.
|
|
100
|
-
"@storybook/addon-storyshots": "7.0.
|
|
101
|
-
"@storybook/addon-storyshots-puppeteer": "7.0.
|
|
102
|
-
"@storybook/addon-viewport": "7.0.
|
|
103
|
-
"@storybook/builder-webpack5": "7.0.
|
|
104
|
-
"@storybook/theming": "7.0.
|
|
105
|
-
"@storybook/vue": "7.0.
|
|
106
|
-
"@storybook/vue-webpack5": "7.0.
|
|
107
|
-
"@storybook/vue3": "7.0.
|
|
108
|
-
"@storybook/vue3-webpack5": "7.0.
|
|
97
|
+
"@storybook/addon-a11y": "7.0.20",
|
|
98
|
+
"@storybook/addon-docs": "7.0.20",
|
|
99
|
+
"@storybook/addon-essentials": "7.0.20",
|
|
100
|
+
"@storybook/addon-storyshots": "7.0.20",
|
|
101
|
+
"@storybook/addon-storyshots-puppeteer": "7.0.20",
|
|
102
|
+
"@storybook/addon-viewport": "7.0.20",
|
|
103
|
+
"@storybook/builder-webpack5": "7.0.20",
|
|
104
|
+
"@storybook/theming": "7.0.20",
|
|
105
|
+
"@storybook/vue": "7.0.20",
|
|
106
|
+
"@storybook/vue-webpack5": "7.0.20",
|
|
107
|
+
"@storybook/vue3": "7.0.20",
|
|
108
|
+
"@storybook/vue3-webpack5": "7.0.20",
|
|
109
109
|
"@vue/compat": "^3.2.40",
|
|
110
110
|
"@vue/compiler-sfc": "^3.2.40",
|
|
111
111
|
"@vue/test-utils": "1.3.0",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"sass-loader": "^10.2.0",
|
|
154
154
|
"sass-true": "^6.1.0",
|
|
155
155
|
"start-server-and-test": "^1.10.6",
|
|
156
|
-
"storybook": "7.0.
|
|
156
|
+
"storybook": "7.0.20",
|
|
157
157
|
"storybook-dark-mode": "3.0.0",
|
|
158
158
|
"stylelint": "14.9.1",
|
|
159
159
|
"stylelint-config-prettier": "9.0.4",
|
|
@@ -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/utilities.scss
CHANGED
|
@@ -8318,254 +8318,375 @@
|
|
|
8318
8318
|
font-family: $gl-monospace-font;
|
|
8319
8319
|
font-variant-ligatures: none;
|
|
8320
8320
|
}
|
|
8321
|
+
|
|
8321
8322
|
.gl-font-monospace\! {
|
|
8322
8323
|
font-family: $gl-monospace-font !important;
|
|
8323
8324
|
font-variant-ligatures: none !important;
|
|
8324
8325
|
}
|
|
8326
|
+
|
|
8325
8327
|
.gl-font-regular {
|
|
8326
8328
|
font-family: $gl-regular-font;
|
|
8327
8329
|
}
|
|
8330
|
+
|
|
8328
8331
|
.gl-font-regular\! {
|
|
8329
8332
|
font-family: $gl-regular-font !important;
|
|
8330
8333
|
}
|
|
8334
|
+
|
|
8331
8335
|
.gl-font-style-italic {
|
|
8332
8336
|
font-style: italic;
|
|
8333
8337
|
}
|
|
8338
|
+
|
|
8334
8339
|
.gl-font-style-italic\! {
|
|
8335
8340
|
font-style: italic !important;
|
|
8336
8341
|
}
|
|
8342
|
+
|
|
8337
8343
|
.gl-font-style-normal {
|
|
8338
8344
|
font-style: normal;
|
|
8339
8345
|
}
|
|
8346
|
+
|
|
8340
8347
|
.gl-font-style-normal\! {
|
|
8341
8348
|
font-style: normal !important;
|
|
8342
8349
|
}
|
|
8350
|
+
|
|
8343
8351
|
.gl-font-xs {
|
|
8344
8352
|
font-size: $gl-font-size-xs;
|
|
8345
8353
|
}
|
|
8354
|
+
|
|
8346
8355
|
.gl-font-xs\! {
|
|
8347
8356
|
font-size: $gl-font-size-xs !important;
|
|
8348
8357
|
}
|
|
8358
|
+
|
|
8349
8359
|
.gl-font-sm {
|
|
8350
8360
|
font-size: $gl-font-size-sm;
|
|
8351
8361
|
}
|
|
8362
|
+
|
|
8352
8363
|
.gl-font-sm\! {
|
|
8353
8364
|
font-size: $gl-font-size-sm !important;
|
|
8354
8365
|
}
|
|
8366
|
+
|
|
8355
8367
|
.gl-font-base {
|
|
8356
8368
|
font-size: $gl-font-size;
|
|
8357
8369
|
}
|
|
8370
|
+
|
|
8358
8371
|
.gl-font-base\! {
|
|
8359
8372
|
font-size: $gl-font-size !important;
|
|
8360
8373
|
}
|
|
8374
|
+
|
|
8361
8375
|
.gl-font-lg {
|
|
8362
8376
|
font-size: $gl-font-size-lg;
|
|
8363
8377
|
}
|
|
8378
|
+
|
|
8364
8379
|
.gl-font-lg\! {
|
|
8365
8380
|
font-size: $gl-font-size-lg !important;
|
|
8366
8381
|
}
|
|
8382
|
+
|
|
8367
8383
|
.gl-font-size-h-display {
|
|
8368
8384
|
font-size: $gl-font-size-h-display;
|
|
8369
8385
|
}
|
|
8386
|
+
|
|
8370
8387
|
.gl-font-size-h-display\! {
|
|
8371
8388
|
font-size: $gl-font-size-h-display !important;
|
|
8372
8389
|
}
|
|
8390
|
+
|
|
8373
8391
|
.gl-font-size-h1 {
|
|
8374
8392
|
font-size: $gl-font-size-h1;
|
|
8375
8393
|
}
|
|
8394
|
+
|
|
8376
8395
|
.gl-font-size-h1\! {
|
|
8377
8396
|
font-size: $gl-font-size-h1 !important;
|
|
8378
8397
|
}
|
|
8398
|
+
|
|
8379
8399
|
.gl-font-size-h2 {
|
|
8380
8400
|
font-size: $gl-font-size-h2;
|
|
8381
8401
|
}
|
|
8402
|
+
|
|
8382
8403
|
.gl-font-size-h2\! {
|
|
8383
8404
|
font-size: $gl-font-size-h2 !important;
|
|
8384
8405
|
}
|
|
8406
|
+
|
|
8385
8407
|
.gl-font-size-h-display-xl {
|
|
8386
8408
|
font-size: $gl-font-size-h-display-xl;
|
|
8387
8409
|
}
|
|
8410
|
+
|
|
8388
8411
|
.gl-font-size-h-display-xl\! {
|
|
8389
8412
|
font-size: $gl-font-size-h-display-xl !important;
|
|
8390
8413
|
}
|
|
8414
|
+
|
|
8391
8415
|
.gl-font-size-h1-xl {
|
|
8392
8416
|
font-size: $gl-font-size-h1-xl;
|
|
8393
8417
|
}
|
|
8418
|
+
|
|
8394
8419
|
.gl-font-size-h1-xl\! {
|
|
8395
8420
|
font-size: $gl-font-size-h1-xl !important;
|
|
8396
8421
|
}
|
|
8422
|
+
|
|
8397
8423
|
.gl-font-size-h2-xl {
|
|
8398
8424
|
font-size: $gl-font-size-h2-xl;
|
|
8399
8425
|
}
|
|
8426
|
+
|
|
8400
8427
|
.gl-font-size-h2-xl\! {
|
|
8401
8428
|
font-size: $gl-font-size-h2-xl !important;
|
|
8402
8429
|
}
|
|
8430
|
+
|
|
8403
8431
|
.gl-font-icon-size {
|
|
8404
8432
|
font-size: $default-icon-size;
|
|
8405
8433
|
}
|
|
8434
|
+
|
|
8406
8435
|
.gl-font-icon-size\! {
|
|
8407
8436
|
font-size: $default-icon-size !important;
|
|
8408
8437
|
}
|
|
8438
|
+
|
|
8409
8439
|
.gl-font-size-markdown-sm {
|
|
8410
8440
|
font-size: $gl-font-size-markdown-sm;
|
|
8411
8441
|
}
|
|
8442
|
+
|
|
8412
8443
|
.gl-font-size-markdown-sm\! {
|
|
8413
8444
|
font-size: $gl-font-size-markdown-sm !important;
|
|
8414
8445
|
}
|
|
8446
|
+
|
|
8415
8447
|
.gl-font-size-markdown {
|
|
8416
8448
|
font-size: $gl-font-size-markdown;
|
|
8417
8449
|
}
|
|
8450
|
+
|
|
8418
8451
|
.gl-font-size-markdown\! {
|
|
8419
8452
|
font-size: $gl-font-size-markdown !important;
|
|
8420
8453
|
}
|
|
8454
|
+
|
|
8421
8455
|
.gl-font-size-markdown-h1 {
|
|
8422
8456
|
font-size: $gl-font-size-markdown-h1;
|
|
8423
8457
|
}
|
|
8458
|
+
|
|
8424
8459
|
.gl-font-size-markdown-h1\! {
|
|
8425
8460
|
font-size: $gl-font-size-markdown-h1 !important;
|
|
8426
8461
|
}
|
|
8462
|
+
|
|
8427
8463
|
.gl-font-size-markdown-h2 {
|
|
8428
8464
|
font-size: $gl-font-size-markdown-h2;
|
|
8429
8465
|
}
|
|
8466
|
+
|
|
8430
8467
|
.gl-font-size-markdown-h2\! {
|
|
8431
8468
|
font-size: $gl-font-size-markdown-h2 !important;
|
|
8432
8469
|
}
|
|
8470
|
+
|
|
8433
8471
|
.gl-font-size-markdown-h3 {
|
|
8434
8472
|
font-size: $gl-font-size-markdown-h3;
|
|
8435
8473
|
}
|
|
8474
|
+
|
|
8436
8475
|
.gl-font-size-markdown-h3\! {
|
|
8437
8476
|
font-size: $gl-font-size-markdown-h3 !important;
|
|
8438
8477
|
}
|
|
8478
|
+
|
|
8439
8479
|
.gl-font-size-compact-markdown-h1 {
|
|
8440
8480
|
font-size: $gl-font-size-compact-markdown-h1;
|
|
8441
8481
|
}
|
|
8482
|
+
|
|
8442
8483
|
.gl-font-size-compact-markdown-h1\! {
|
|
8443
8484
|
font-size: $gl-font-size-compact-markdown-h1 !important;
|
|
8444
8485
|
}
|
|
8486
|
+
|
|
8445
8487
|
.gl-reset-font-size {
|
|
8446
8488
|
font-size: inherit;
|
|
8447
8489
|
}
|
|
8490
|
+
|
|
8448
8491
|
.gl-reset-font-size\! {
|
|
8449
8492
|
font-size: inherit !important;
|
|
8450
8493
|
}
|
|
8494
|
+
|
|
8451
8495
|
.gl-font-weight-100 {
|
|
8452
8496
|
font-weight: 100;
|
|
8453
8497
|
}
|
|
8498
|
+
|
|
8454
8499
|
.gl-font-weight-100\! {
|
|
8455
8500
|
font-weight: 100 !important;
|
|
8456
8501
|
}
|
|
8502
|
+
|
|
8457
8503
|
.gl-font-weight-300 {
|
|
8458
8504
|
font-weight: 300;
|
|
8459
8505
|
}
|
|
8506
|
+
|
|
8460
8507
|
.gl-font-weight-300\! {
|
|
8461
8508
|
font-weight: 300 !important;
|
|
8462
8509
|
}
|
|
8510
|
+
|
|
8463
8511
|
.gl-font-weight-normal {
|
|
8464
8512
|
font-weight: $gl-font-weight-normal;
|
|
8465
8513
|
}
|
|
8514
|
+
|
|
8466
8515
|
.gl-font-weight-normal\! {
|
|
8467
8516
|
font-weight: $gl-font-weight-normal !important;
|
|
8468
8517
|
}
|
|
8518
|
+
|
|
8469
8519
|
.gl-font-weight-semibold {
|
|
8470
8520
|
font-weight: $gl-font-weight-semibold;
|
|
8471
8521
|
}
|
|
8522
|
+
|
|
8472
8523
|
.gl-font-weight-semibold\! {
|
|
8473
8524
|
font-weight: $gl-font-weight-semibold !important;
|
|
8474
8525
|
}
|
|
8526
|
+
|
|
8475
8527
|
.gl-font-weight-bold {
|
|
8476
8528
|
font-weight: $gl-font-weight-bold;
|
|
8477
8529
|
}
|
|
8530
|
+
|
|
8478
8531
|
.gl-font-weight-bold\! {
|
|
8479
8532
|
font-weight: $gl-font-weight-bold !important;
|
|
8480
8533
|
}
|
|
8534
|
+
|
|
8481
8535
|
.gl-sm-font-weight-bold {
|
|
8482
8536
|
@include gl-media-breakpoint-up(sm) {
|
|
8483
8537
|
font-weight: $gl-font-weight-bold;
|
|
8484
8538
|
}
|
|
8485
8539
|
}
|
|
8540
|
+
|
|
8486
8541
|
.gl-sm-font-weight-bold\! {
|
|
8487
8542
|
@include gl-media-breakpoint-up(sm) {
|
|
8488
8543
|
font-weight: $gl-font-weight-bold !important;
|
|
8489
8544
|
}
|
|
8490
8545
|
}
|
|
8546
|
+
|
|
8491
8547
|
.gl-line-height-0 {
|
|
8492
8548
|
line-height: 0;
|
|
8493
8549
|
}
|
|
8550
|
+
|
|
8494
8551
|
.gl-line-height-0\! {
|
|
8495
8552
|
line-height: 0 !important;
|
|
8496
8553
|
}
|
|
8554
|
+
|
|
8497
8555
|
.gl-line-height-1 {
|
|
8498
8556
|
line-height: 1;
|
|
8499
8557
|
}
|
|
8558
|
+
|
|
8500
8559
|
.gl-line-height-1\! {
|
|
8501
8560
|
line-height: 1 !important;
|
|
8502
8561
|
}
|
|
8562
|
+
|
|
8563
|
+
.gl-line-height-ratio-0000 {
|
|
8564
|
+
line-height: 0;
|
|
8565
|
+
}
|
|
8566
|
+
|
|
8567
|
+
.gl-line-height-ratio-0000\! {
|
|
8568
|
+
line-height: 0 !important;
|
|
8569
|
+
}
|
|
8570
|
+
|
|
8571
|
+
.gl-line-height-ratio-1000 {
|
|
8572
|
+
line-height: 1;
|
|
8573
|
+
}
|
|
8574
|
+
|
|
8575
|
+
.gl-line-height-ratio-1000\! {
|
|
8576
|
+
line-height: 1 !important;
|
|
8577
|
+
}
|
|
8578
|
+
|
|
8579
|
+
.gl-line-height-ratio-1125 {
|
|
8580
|
+
line-height: 1.125;
|
|
8581
|
+
}
|
|
8582
|
+
|
|
8583
|
+
.gl-line-height-ratio-1125\! {
|
|
8584
|
+
line-height: 1.125 !important;
|
|
8585
|
+
}
|
|
8586
|
+
|
|
8587
|
+
.gl-line-height-ratio-1250 {
|
|
8588
|
+
line-height: 1.25;
|
|
8589
|
+
}
|
|
8590
|
+
|
|
8591
|
+
.gl-line-height-ratio-1250\! {
|
|
8592
|
+
line-height: 1.25 !important;
|
|
8593
|
+
}
|
|
8594
|
+
|
|
8503
8595
|
.gl-line-height-normal {
|
|
8504
8596
|
line-height: $gl-line-height-16;
|
|
8505
8597
|
}
|
|
8598
|
+
|
|
8506
8599
|
.gl-line-height-normal\! {
|
|
8507
8600
|
line-height: $gl-line-height-16 !important;
|
|
8508
8601
|
}
|
|
8602
|
+
|
|
8509
8603
|
.gl-line-height-12 {
|
|
8510
8604
|
line-height: $gl-line-height-12;
|
|
8511
8605
|
}
|
|
8606
|
+
|
|
8512
8607
|
.gl-line-height-12\! {
|
|
8513
8608
|
line-height: $gl-line-height-12 !important;
|
|
8514
8609
|
}
|
|
8610
|
+
|
|
8515
8611
|
.gl-line-height-20 {
|
|
8516
8612
|
line-height: $gl-line-height-20;
|
|
8517
8613
|
}
|
|
8614
|
+
|
|
8518
8615
|
.gl-line-height-20\! {
|
|
8519
8616
|
line-height: $gl-line-height-20 !important;
|
|
8520
8617
|
}
|
|
8618
|
+
|
|
8521
8619
|
.gl-line-height-24 {
|
|
8522
8620
|
line-height: $gl-line-height-24;
|
|
8523
8621
|
}
|
|
8622
|
+
|
|
8524
8623
|
.gl-line-height-24\! {
|
|
8525
8624
|
line-height: $gl-line-height-24 !important;
|
|
8526
8625
|
}
|
|
8626
|
+
|
|
8527
8627
|
.gl-line-height-28 {
|
|
8528
8628
|
line-height: $gl-line-height-28;
|
|
8529
8629
|
}
|
|
8630
|
+
|
|
8530
8631
|
.gl-line-height-28\! {
|
|
8531
8632
|
line-height: $gl-line-height-28 !important;
|
|
8532
8633
|
}
|
|
8634
|
+
|
|
8533
8635
|
.gl-line-height-32 {
|
|
8534
8636
|
line-height: $gl-line-height-32;
|
|
8535
8637
|
}
|
|
8638
|
+
|
|
8536
8639
|
.gl-line-height-32\! {
|
|
8537
8640
|
line-height: $gl-line-height-32 !important;
|
|
8538
8641
|
}
|
|
8642
|
+
|
|
8539
8643
|
.gl-line-height-36 {
|
|
8540
8644
|
line-height: $gl-line-height-36;
|
|
8541
8645
|
}
|
|
8646
|
+
|
|
8542
8647
|
.gl-line-height-36\! {
|
|
8543
8648
|
line-height: $gl-line-height-36 !important;
|
|
8544
8649
|
}
|
|
8650
|
+
|
|
8545
8651
|
.gl-line-height-42 {
|
|
8546
8652
|
line-height: $gl-line-height-42;
|
|
8547
8653
|
}
|
|
8654
|
+
|
|
8548
8655
|
.gl-line-height-42\! {
|
|
8549
8656
|
line-height: $gl-line-height-42 !important;
|
|
8550
8657
|
}
|
|
8658
|
+
|
|
8551
8659
|
.gl-line-height-52 {
|
|
8552
8660
|
line-height: $gl-line-height-52;
|
|
8553
8661
|
}
|
|
8662
|
+
|
|
8554
8663
|
.gl-line-height-52\! {
|
|
8555
8664
|
line-height: $gl-line-height-52 !important;
|
|
8556
8665
|
}
|
|
8666
|
+
|
|
8557
8667
|
.gl-reset-line-height {
|
|
8558
8668
|
line-height: inherit;
|
|
8559
8669
|
}
|
|
8670
|
+
|
|
8560
8671
|
.gl-reset-line-height\! {
|
|
8561
8672
|
line-height: inherit !important;
|
|
8562
8673
|
}
|
|
8674
|
+
|
|
8563
8675
|
.gl-letter-spacing-06em {
|
|
8564
8676
|
letter-spacing: 0.06em;
|
|
8565
8677
|
}
|
|
8678
|
+
|
|
8566
8679
|
.gl-letter-spacing-06em\! {
|
|
8567
8680
|
letter-spacing: 0.06em !important;
|
|
8568
8681
|
}
|
|
8682
|
+
|
|
8683
|
+
.gl-letter-spacing-n01em {
|
|
8684
|
+
letter-spacing: -0.01em;
|
|
8685
|
+
}
|
|
8686
|
+
|
|
8687
|
+
.gl-letter-spacing-n01em\! {
|
|
8688
|
+
letter-spacing: -0.01em !important;
|
|
8689
|
+
}
|
|
8569
8690
|
.gl-user-select-none {
|
|
8570
8691
|
user-select: none
|
|
8571
8692
|
}
|
|
@@ -142,18 +142,39 @@
|
|
|
142
142
|
/**
|
|
143
143
|
* Line height utilities.
|
|
144
144
|
*
|
|
145
|
-
* naming convention:
|
|
145
|
+
* naming convention:
|
|
146
|
+
* - gl-line-height-ratio-{ratio-multiplied-by-1000}
|
|
147
|
+
* - gl-line-height-{line-height-in-pixels}
|
|
146
148
|
* notes:
|
|
147
149
|
* - Strictly based in gl-line-height-{n} variables
|
|
148
150
|
*/
|
|
151
|
+
|
|
152
|
+
// TODO: Remove after migration
|
|
149
153
|
@mixin gl-line-height-0 {
|
|
150
154
|
line-height: 0;
|
|
151
155
|
}
|
|
152
156
|
|
|
157
|
+
// TODO: Remove after migration
|
|
153
158
|
@mixin gl-line-height-1 {
|
|
154
159
|
line-height: 1;
|
|
155
160
|
}
|
|
156
161
|
|
|
162
|
+
@mixin gl-line-height-ratio-0000 {
|
|
163
|
+
line-height: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@mixin gl-line-height-ratio-1000 {
|
|
167
|
+
line-height: 1;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@mixin gl-line-height-ratio-1125 {
|
|
171
|
+
line-height: 1.125;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@mixin gl-line-height-ratio-1250 {
|
|
175
|
+
line-height: 1.25;
|
|
176
|
+
}
|
|
177
|
+
|
|
157
178
|
@mixin gl-line-height-normal {
|
|
158
179
|
line-height: $gl-line-height-16;
|
|
159
180
|
}
|
|
@@ -202,3 +223,7 @@
|
|
|
202
223
|
@mixin gl-letter-spacing-06em {
|
|
203
224
|
letter-spacing: 0.06em;
|
|
204
225
|
}
|
|
226
|
+
|
|
227
|
+
@mixin gl-letter-spacing-n01em {
|
|
228
|
+
letter-spacing: -0.01em;
|
|
229
|
+
}
|
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;
|