@carbon/themes 10.41.0-rc.0 → 10.43.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/es/index.js +146 -2
- package/lib/index.js +288 -0
- package/package.json +7 -7
- package/scss/generated/_mixins.scss +287 -0
- package/scss/generated/_themes.scss +506 -20
- package/scss/generated/_tokens.scss +578 -20
- package/scss/modules/_theme.scss +60 -0
- package/src/g10.js +25 -0
- package/src/g100.js +25 -0
- package/src/g80.js +25 -0
- package/src/g90.js +25 -0
- package/src/v9.js +25 -0
- package/src/white.js +25 -0
- package/umd/index.js +288 -0
|
@@ -1560,7 +1560,7 @@ $caption-01: if(
|
|
|
1560
1560
|
(
|
|
1561
1561
|
font-size: 0.75rem,
|
|
1562
1562
|
font-weight: 400,
|
|
1563
|
-
line-height: 1.
|
|
1563
|
+
line-height: 1.33333,
|
|
1564
1564
|
letter-spacing: 0.32px,
|
|
1565
1565
|
)
|
|
1566
1566
|
) !default;
|
|
@@ -1575,7 +1575,7 @@ $caption-02: if(
|
|
|
1575
1575
|
(
|
|
1576
1576
|
font-size: 0.875rem,
|
|
1577
1577
|
font-weight: 400,
|
|
1578
|
-
line-height: 1.
|
|
1578
|
+
line-height: 1.28572,
|
|
1579
1579
|
letter-spacing: 0.32px,
|
|
1580
1580
|
)
|
|
1581
1581
|
) !default;
|
|
@@ -1590,7 +1590,7 @@ $label-01: if(
|
|
|
1590
1590
|
(
|
|
1591
1591
|
font-size: 0.75rem,
|
|
1592
1592
|
font-weight: 400,
|
|
1593
|
-
line-height: 1.
|
|
1593
|
+
line-height: 1.33333,
|
|
1594
1594
|
letter-spacing: 0.32px,
|
|
1595
1595
|
)
|
|
1596
1596
|
) !default;
|
|
@@ -1605,8 +1605,8 @@ $label-02: if(
|
|
|
1605
1605
|
(
|
|
1606
1606
|
font-size: 0.875rem,
|
|
1607
1607
|
font-weight: 400,
|
|
1608
|
-
line-height: 1.
|
|
1609
|
-
letter-spacing: 0.
|
|
1608
|
+
line-height: 1.28572,
|
|
1609
|
+
letter-spacing: 0.16px,
|
|
1610
1610
|
)
|
|
1611
1611
|
) !default;
|
|
1612
1612
|
|
|
@@ -1619,7 +1619,7 @@ $helper-text-01: if(
|
|
|
1619
1619
|
map-get($carbon--theme, 'helper-text-01'),
|
|
1620
1620
|
(
|
|
1621
1621
|
font-size: 0.75rem,
|
|
1622
|
-
line-height: 1.
|
|
1622
|
+
line-height: 1.33333,
|
|
1623
1623
|
letter-spacing: 0.32px,
|
|
1624
1624
|
)
|
|
1625
1625
|
) !default;
|
|
@@ -1633,8 +1633,8 @@ $helper-text-02: if(
|
|
|
1633
1633
|
map-get($carbon--theme, 'helper-text-02'),
|
|
1634
1634
|
(
|
|
1635
1635
|
font-size: 0.875rem,
|
|
1636
|
-
line-height: 1.
|
|
1637
|
-
letter-spacing: 0.
|
|
1636
|
+
line-height: 1.28572,
|
|
1637
|
+
letter-spacing: 0.16px,
|
|
1638
1638
|
)
|
|
1639
1639
|
) !default;
|
|
1640
1640
|
|
|
@@ -1648,7 +1648,7 @@ $body-short-01: if(
|
|
|
1648
1648
|
(
|
|
1649
1649
|
font-size: 0.875rem,
|
|
1650
1650
|
font-weight: 400,
|
|
1651
|
-
line-height: 1.
|
|
1651
|
+
line-height: 1.28572,
|
|
1652
1652
|
letter-spacing: 0.16px,
|
|
1653
1653
|
)
|
|
1654
1654
|
) !default;
|
|
@@ -1663,7 +1663,7 @@ $body-long-01: if(
|
|
|
1663
1663
|
(
|
|
1664
1664
|
font-size: 0.875rem,
|
|
1665
1665
|
font-weight: 400,
|
|
1666
|
-
line-height: 1.
|
|
1666
|
+
line-height: 1.42857,
|
|
1667
1667
|
letter-spacing: 0.16px,
|
|
1668
1668
|
)
|
|
1669
1669
|
) !default;
|
|
@@ -1712,7 +1712,7 @@ $code-01: if(
|
|
|
1712
1712
|
),
|
|
1713
1713
|
font-size: 0.75rem,
|
|
1714
1714
|
font-weight: 400,
|
|
1715
|
-
line-height: 1.
|
|
1715
|
+
line-height: 1.33333,
|
|
1716
1716
|
letter-spacing: 0.32px,
|
|
1717
1717
|
)
|
|
1718
1718
|
) !default;
|
|
@@ -1731,7 +1731,7 @@ $code-02: if(
|
|
|
1731
1731
|
),
|
|
1732
1732
|
font-size: 0.875rem,
|
|
1733
1733
|
font-weight: 400,
|
|
1734
|
-
line-height: 1.
|
|
1734
|
+
line-height: 1.42857,
|
|
1735
1735
|
letter-spacing: 0.32px,
|
|
1736
1736
|
)
|
|
1737
1737
|
) !default;
|
|
@@ -1746,7 +1746,7 @@ $heading-01: if(
|
|
|
1746
1746
|
(
|
|
1747
1747
|
font-size: 0.875rem,
|
|
1748
1748
|
font-weight: 600,
|
|
1749
|
-
line-height: 1.
|
|
1749
|
+
line-height: 1.42857,
|
|
1750
1750
|
letter-spacing: 0.16px,
|
|
1751
1751
|
)
|
|
1752
1752
|
) !default;
|
|
@@ -1761,7 +1761,7 @@ $productive-heading-01: if(
|
|
|
1761
1761
|
(
|
|
1762
1762
|
font-size: 0.875rem,
|
|
1763
1763
|
font-weight: 600,
|
|
1764
|
-
line-height: 1.
|
|
1764
|
+
line-height: 1.28572,
|
|
1765
1765
|
letter-spacing: 0.16px,
|
|
1766
1766
|
)
|
|
1767
1767
|
) !default;
|
|
@@ -1776,7 +1776,7 @@ $heading-02: if(
|
|
|
1776
1776
|
(
|
|
1777
1777
|
font-size: 1rem,
|
|
1778
1778
|
font-weight: 600,
|
|
1779
|
-
line-height: 1.
|
|
1779
|
+
line-height: 1.5,
|
|
1780
1780
|
letter-spacing: 0,
|
|
1781
1781
|
)
|
|
1782
1782
|
) !default;
|
|
@@ -1821,7 +1821,7 @@ $productive-heading-04: if(
|
|
|
1821
1821
|
(
|
|
1822
1822
|
font-size: 1.75rem,
|
|
1823
1823
|
font-weight: 400,
|
|
1824
|
-
line-height: 1.
|
|
1824
|
+
line-height: 1.28572,
|
|
1825
1825
|
letter-spacing: 0,
|
|
1826
1826
|
)
|
|
1827
1827
|
) !default;
|
|
@@ -1866,7 +1866,7 @@ $productive-heading-07: if(
|
|
|
1866
1866
|
(
|
|
1867
1867
|
font-size: 3.375rem,
|
|
1868
1868
|
font-weight: 300,
|
|
1869
|
-
line-height: 1.
|
|
1869
|
+
line-height: 1.199,
|
|
1870
1870
|
letter-spacing: 0,
|
|
1871
1871
|
)
|
|
1872
1872
|
) !default;
|
|
@@ -1936,7 +1936,7 @@ $expressive-heading-04: if(
|
|
|
1936
1936
|
(
|
|
1937
1937
|
font-size: 1.75rem,
|
|
1938
1938
|
font-weight: 400,
|
|
1939
|
-
line-height: 1.
|
|
1939
|
+
line-height: 1.28572,
|
|
1940
1940
|
letter-spacing: 0,
|
|
1941
1941
|
breakpoints: (
|
|
1942
1942
|
xlg: (
|
|
@@ -2045,7 +2045,7 @@ $expressive-paragraph-01: if(
|
|
|
2045
2045
|
breakpoints: (
|
|
2046
2046
|
lg: (
|
|
2047
2047
|
font-size: 1.75rem,
|
|
2048
|
-
line-height: 1.
|
|
2048
|
+
line-height: 1.28572,
|
|
2049
2049
|
),
|
|
2050
2050
|
max: (
|
|
2051
2051
|
font-size: 2rem,
|
|
@@ -2063,6 +2063,7 @@ $quotation-01: if(
|
|
|
2063
2063
|
map-has-key($carbon--theme, 'quotation-01'),
|
|
2064
2064
|
map-get($carbon--theme, 'quotation-01'),
|
|
2065
2065
|
(
|
|
2066
|
+
font-family: unquote("'IBM Plex Serif', 'Georgia', Times, serif"),
|
|
2066
2067
|
font-size: 1.25rem,
|
|
2067
2068
|
font-weight: 400,
|
|
2068
2069
|
line-height: 1.3,
|
|
@@ -2082,7 +2083,7 @@ $quotation-01: if(
|
|
|
2082
2083
|
xlg: (
|
|
2083
2084
|
font-size: 1.75rem,
|
|
2084
2085
|
font-weight: 400,
|
|
2085
|
-
line-height: 1.
|
|
2086
|
+
line-height: 1.28572,
|
|
2086
2087
|
letter-spacing: 0,
|
|
2087
2088
|
),
|
|
2088
2089
|
max: (
|
|
@@ -2103,6 +2104,7 @@ $quotation-02: if(
|
|
|
2103
2104
|
map-has-key($carbon--theme, 'quotation-02'),
|
|
2104
2105
|
map-get($carbon--theme, 'quotation-02'),
|
|
2105
2106
|
(
|
|
2107
|
+
font-family: unquote("'IBM Plex Serif', 'Georgia', Times, serif"),
|
|
2106
2108
|
font-size: 2rem,
|
|
2107
2109
|
font-weight: 300,
|
|
2108
2110
|
line-height: 1.25,
|
|
@@ -2260,6 +2262,562 @@ $display-04: if(
|
|
|
2260
2262
|
)
|
|
2261
2263
|
) !default;
|
|
2262
2264
|
|
|
2265
|
+
/// @type {Number}
|
|
2266
|
+
/// @access public
|
|
2267
|
+
/// @group @carbon/themes
|
|
2268
|
+
$legal-01: if(
|
|
2269
|
+
global-variable-exists('carbon--theme') and
|
|
2270
|
+
map-has-key($carbon--theme, 'legal-01'),
|
|
2271
|
+
map-get($carbon--theme, 'legal-01'),
|
|
2272
|
+
(
|
|
2273
|
+
font-size: 0.75rem,
|
|
2274
|
+
font-weight: 400,
|
|
2275
|
+
line-height: 1.33333,
|
|
2276
|
+
letter-spacing: 0.32px,
|
|
2277
|
+
)
|
|
2278
|
+
) !default;
|
|
2279
|
+
|
|
2280
|
+
/// @type {Number}
|
|
2281
|
+
/// @access public
|
|
2282
|
+
/// @group @carbon/themes
|
|
2283
|
+
$legal-02: if(
|
|
2284
|
+
global-variable-exists('carbon--theme') and
|
|
2285
|
+
map-has-key($carbon--theme, 'legal-02'),
|
|
2286
|
+
map-get($carbon--theme, 'legal-02'),
|
|
2287
|
+
(
|
|
2288
|
+
font-size: 0.875rem,
|
|
2289
|
+
font-weight: 400,
|
|
2290
|
+
line-height: 1.28572,
|
|
2291
|
+
letter-spacing: 0.16px,
|
|
2292
|
+
)
|
|
2293
|
+
) !default;
|
|
2294
|
+
|
|
2295
|
+
/// @type {Number}
|
|
2296
|
+
/// @access public
|
|
2297
|
+
/// @group @carbon/themes
|
|
2298
|
+
$body-compact-01: if(
|
|
2299
|
+
global-variable-exists('carbon--theme') and
|
|
2300
|
+
map-has-key($carbon--theme, 'body-compact-01'),
|
|
2301
|
+
map-get($carbon--theme, 'body-compact-01'),
|
|
2302
|
+
(
|
|
2303
|
+
font-size: 0.875rem,
|
|
2304
|
+
font-weight: 400,
|
|
2305
|
+
line-height: 1.28572,
|
|
2306
|
+
letter-spacing: 0.16px,
|
|
2307
|
+
)
|
|
2308
|
+
) !default;
|
|
2309
|
+
|
|
2310
|
+
/// @type {Number}
|
|
2311
|
+
/// @access public
|
|
2312
|
+
/// @group @carbon/themes
|
|
2313
|
+
$body-compact-02: if(
|
|
2314
|
+
global-variable-exists('carbon--theme') and
|
|
2315
|
+
map-has-key($carbon--theme, 'body-compact-02'),
|
|
2316
|
+
map-get($carbon--theme, 'body-compact-02'),
|
|
2317
|
+
(
|
|
2318
|
+
font-size: 1rem,
|
|
2319
|
+
font-weight: 400,
|
|
2320
|
+
line-height: 1.375,
|
|
2321
|
+
letter-spacing: 0,
|
|
2322
|
+
)
|
|
2323
|
+
) !default;
|
|
2324
|
+
|
|
2325
|
+
/// @type {Number}
|
|
2326
|
+
/// @access public
|
|
2327
|
+
/// @group @carbon/themes
|
|
2328
|
+
$body-01: if(
|
|
2329
|
+
global-variable-exists('carbon--theme') and
|
|
2330
|
+
map-has-key($carbon--theme, 'body-01'),
|
|
2331
|
+
map-get($carbon--theme, 'body-01'),
|
|
2332
|
+
(
|
|
2333
|
+
font-size: 0.875rem,
|
|
2334
|
+
font-weight: 400,
|
|
2335
|
+
line-height: 1.42857,
|
|
2336
|
+
letter-spacing: 0.16px,
|
|
2337
|
+
)
|
|
2338
|
+
) !default;
|
|
2339
|
+
|
|
2340
|
+
/// @type {Number}
|
|
2341
|
+
/// @access public
|
|
2342
|
+
/// @group @carbon/themes
|
|
2343
|
+
$body-02: if(
|
|
2344
|
+
global-variable-exists('carbon--theme') and
|
|
2345
|
+
map-has-key($carbon--theme, 'body-02'),
|
|
2346
|
+
map-get($carbon--theme, 'body-02'),
|
|
2347
|
+
(
|
|
2348
|
+
font-size: 1rem,
|
|
2349
|
+
font-weight: 400,
|
|
2350
|
+
line-height: 1.5,
|
|
2351
|
+
letter-spacing: 0,
|
|
2352
|
+
)
|
|
2353
|
+
) !default;
|
|
2354
|
+
|
|
2355
|
+
/// @type {Number}
|
|
2356
|
+
/// @access public
|
|
2357
|
+
/// @group @carbon/themes
|
|
2358
|
+
$heading-compact-01: if(
|
|
2359
|
+
global-variable-exists('carbon--theme') and
|
|
2360
|
+
map-has-key($carbon--theme, 'heading-compact-01'),
|
|
2361
|
+
map-get($carbon--theme, 'heading-compact-01'),
|
|
2362
|
+
(
|
|
2363
|
+
font-size: 0.875rem,
|
|
2364
|
+
font-weight: 600,
|
|
2365
|
+
line-height: 1.28572,
|
|
2366
|
+
letter-spacing: 0.16px,
|
|
2367
|
+
)
|
|
2368
|
+
) !default;
|
|
2369
|
+
|
|
2370
|
+
/// @type {Number}
|
|
2371
|
+
/// @access public
|
|
2372
|
+
/// @group @carbon/themes
|
|
2373
|
+
$heading-compact-02: if(
|
|
2374
|
+
global-variable-exists('carbon--theme') and
|
|
2375
|
+
map-has-key($carbon--theme, 'heading-compact-02'),
|
|
2376
|
+
map-get($carbon--theme, 'heading-compact-02'),
|
|
2377
|
+
(
|
|
2378
|
+
font-size: 1rem,
|
|
2379
|
+
font-weight: 600,
|
|
2380
|
+
line-height: 1.375,
|
|
2381
|
+
letter-spacing: 0,
|
|
2382
|
+
)
|
|
2383
|
+
) !default;
|
|
2384
|
+
|
|
2385
|
+
/// @type {Number}
|
|
2386
|
+
/// @access public
|
|
2387
|
+
/// @group @carbon/themes
|
|
2388
|
+
$heading-03: if(
|
|
2389
|
+
global-variable-exists('carbon--theme') and
|
|
2390
|
+
map-has-key($carbon--theme, 'heading-03'),
|
|
2391
|
+
map-get($carbon--theme, 'heading-03'),
|
|
2392
|
+
(
|
|
2393
|
+
font-size: 1.25rem,
|
|
2394
|
+
font-weight: 400,
|
|
2395
|
+
line-height: 1.4,
|
|
2396
|
+
letter-spacing: 0,
|
|
2397
|
+
)
|
|
2398
|
+
) !default;
|
|
2399
|
+
|
|
2400
|
+
/// @type {Number}
|
|
2401
|
+
/// @access public
|
|
2402
|
+
/// @group @carbon/themes
|
|
2403
|
+
$heading-04: if(
|
|
2404
|
+
global-variable-exists('carbon--theme') and
|
|
2405
|
+
map-has-key($carbon--theme, 'heading-04'),
|
|
2406
|
+
map-get($carbon--theme, 'heading-04'),
|
|
2407
|
+
(
|
|
2408
|
+
font-size: 1.75rem,
|
|
2409
|
+
font-weight: 400,
|
|
2410
|
+
line-height: 1.28572,
|
|
2411
|
+
letter-spacing: 0,
|
|
2412
|
+
)
|
|
2413
|
+
) !default;
|
|
2414
|
+
|
|
2415
|
+
/// @type {Number}
|
|
2416
|
+
/// @access public
|
|
2417
|
+
/// @group @carbon/themes
|
|
2418
|
+
$heading-05: if(
|
|
2419
|
+
global-variable-exists('carbon--theme') and
|
|
2420
|
+
map-has-key($carbon--theme, 'heading-05'),
|
|
2421
|
+
map-get($carbon--theme, 'heading-05'),
|
|
2422
|
+
(
|
|
2423
|
+
font-size: 2rem,
|
|
2424
|
+
font-weight: 400,
|
|
2425
|
+
line-height: 1.25,
|
|
2426
|
+
letter-spacing: 0,
|
|
2427
|
+
)
|
|
2428
|
+
) !default;
|
|
2429
|
+
|
|
2430
|
+
/// @type {Number}
|
|
2431
|
+
/// @access public
|
|
2432
|
+
/// @group @carbon/themes
|
|
2433
|
+
$heading-06: if(
|
|
2434
|
+
global-variable-exists('carbon--theme') and
|
|
2435
|
+
map-has-key($carbon--theme, 'heading-06'),
|
|
2436
|
+
map-get($carbon--theme, 'heading-06'),
|
|
2437
|
+
(
|
|
2438
|
+
font-size: 2.625rem,
|
|
2439
|
+
font-weight: 300,
|
|
2440
|
+
line-height: 1.199,
|
|
2441
|
+
letter-spacing: 0,
|
|
2442
|
+
)
|
|
2443
|
+
) !default;
|
|
2444
|
+
|
|
2445
|
+
/// @type {Number}
|
|
2446
|
+
/// @access public
|
|
2447
|
+
/// @group @carbon/themes
|
|
2448
|
+
$heading-07: if(
|
|
2449
|
+
global-variable-exists('carbon--theme') and
|
|
2450
|
+
map-has-key($carbon--theme, 'heading-07'),
|
|
2451
|
+
map-get($carbon--theme, 'heading-07'),
|
|
2452
|
+
(
|
|
2453
|
+
font-size: 3.375rem,
|
|
2454
|
+
font-weight: 300,
|
|
2455
|
+
line-height: 1.199,
|
|
2456
|
+
letter-spacing: 0,
|
|
2457
|
+
)
|
|
2458
|
+
) !default;
|
|
2459
|
+
|
|
2460
|
+
/// @type {Number}
|
|
2461
|
+
/// @access public
|
|
2462
|
+
/// @group @carbon/themes
|
|
2463
|
+
$fluid-heading-03: if(
|
|
2464
|
+
global-variable-exists('carbon--theme') and
|
|
2465
|
+
map-has-key($carbon--theme, 'fluid-heading-03'),
|
|
2466
|
+
map-get($carbon--theme, 'fluid-heading-03'),
|
|
2467
|
+
(
|
|
2468
|
+
font-size: 1.25rem,
|
|
2469
|
+
font-weight: 400,
|
|
2470
|
+
line-height: 1.4,
|
|
2471
|
+
letter-spacing: 0,
|
|
2472
|
+
breakpoints: (
|
|
2473
|
+
xlg: (
|
|
2474
|
+
font-size: 1.25rem,
|
|
2475
|
+
line-height: 1.25,
|
|
2476
|
+
),
|
|
2477
|
+
max: (
|
|
2478
|
+
font-size: 1.5rem,
|
|
2479
|
+
line-height: 1.334,
|
|
2480
|
+
),
|
|
2481
|
+
),
|
|
2482
|
+
)
|
|
2483
|
+
) !default;
|
|
2484
|
+
|
|
2485
|
+
/// @type {Number}
|
|
2486
|
+
/// @access public
|
|
2487
|
+
/// @group @carbon/themes
|
|
2488
|
+
$fluid-heading-04: if(
|
|
2489
|
+
global-variable-exists('carbon--theme') and
|
|
2490
|
+
map-has-key($carbon--theme, 'fluid-heading-04'),
|
|
2491
|
+
map-get($carbon--theme, 'fluid-heading-04'),
|
|
2492
|
+
(
|
|
2493
|
+
font-size: 1.75rem,
|
|
2494
|
+
font-weight: 400,
|
|
2495
|
+
line-height: 1.28572,
|
|
2496
|
+
letter-spacing: 0,
|
|
2497
|
+
breakpoints: (
|
|
2498
|
+
xlg: (
|
|
2499
|
+
font-size: 1.75rem,
|
|
2500
|
+
line-height: 1.25,
|
|
2501
|
+
),
|
|
2502
|
+
max: (
|
|
2503
|
+
font-size: 2rem,
|
|
2504
|
+
),
|
|
2505
|
+
),
|
|
2506
|
+
)
|
|
2507
|
+
) !default;
|
|
2508
|
+
|
|
2509
|
+
/// @type {Number}
|
|
2510
|
+
/// @access public
|
|
2511
|
+
/// @group @carbon/themes
|
|
2512
|
+
$fluid-heading-05: if(
|
|
2513
|
+
global-variable-exists('carbon--theme') and
|
|
2514
|
+
map-has-key($carbon--theme, 'fluid-heading-05'),
|
|
2515
|
+
map-get($carbon--theme, 'fluid-heading-05'),
|
|
2516
|
+
(
|
|
2517
|
+
font-size: 2rem,
|
|
2518
|
+
font-weight: 400,
|
|
2519
|
+
line-height: 1.25,
|
|
2520
|
+
letter-spacing: 0,
|
|
2521
|
+
breakpoints: (
|
|
2522
|
+
md: (
|
|
2523
|
+
font-size: 2.25rem,
|
|
2524
|
+
font-weight: 300,
|
|
2525
|
+
line-height: 1.22,
|
|
2526
|
+
letter-spacing: 0,
|
|
2527
|
+
),
|
|
2528
|
+
lg: (
|
|
2529
|
+
font-size: 2.625rem,
|
|
2530
|
+
font-weight: 300,
|
|
2531
|
+
line-height: 1.19,
|
|
2532
|
+
letter-spacing: 0,
|
|
2533
|
+
),
|
|
2534
|
+
xlg: (
|
|
2535
|
+
font-size: 3rem,
|
|
2536
|
+
font-weight: 300,
|
|
2537
|
+
line-height: 1.17,
|
|
2538
|
+
letter-spacing: 0,
|
|
2539
|
+
),
|
|
2540
|
+
max: (
|
|
2541
|
+
font-size: 3.75rem,
|
|
2542
|
+
font-weight: 300,
|
|
2543
|
+
letter-spacing: 0,
|
|
2544
|
+
),
|
|
2545
|
+
),
|
|
2546
|
+
)
|
|
2547
|
+
) !default;
|
|
2548
|
+
|
|
2549
|
+
/// @type {Number}
|
|
2550
|
+
/// @access public
|
|
2551
|
+
/// @group @carbon/themes
|
|
2552
|
+
$fluid-heading-06: if(
|
|
2553
|
+
global-variable-exists('carbon--theme') and
|
|
2554
|
+
map-has-key($carbon--theme, 'fluid-heading-06'),
|
|
2555
|
+
map-get($carbon--theme, 'fluid-heading-06'),
|
|
2556
|
+
(
|
|
2557
|
+
font-size: 2rem,
|
|
2558
|
+
font-weight: 600,
|
|
2559
|
+
line-height: 1.25,
|
|
2560
|
+
letter-spacing: 0,
|
|
2561
|
+
breakpoints: (
|
|
2562
|
+
md: (
|
|
2563
|
+
font-size: 2.25rem,
|
|
2564
|
+
font-weight: 600,
|
|
2565
|
+
line-height: 1.22,
|
|
2566
|
+
letter-spacing: 0,
|
|
2567
|
+
),
|
|
2568
|
+
lg: (
|
|
2569
|
+
font-size: 2.625rem,
|
|
2570
|
+
font-weight: 600,
|
|
2571
|
+
line-height: 1.19,
|
|
2572
|
+
letter-spacing: 0,
|
|
2573
|
+
),
|
|
2574
|
+
xlg: (
|
|
2575
|
+
font-size: 3rem,
|
|
2576
|
+
font-weight: 600,
|
|
2577
|
+
line-height: 1.17,
|
|
2578
|
+
letter-spacing: 0,
|
|
2579
|
+
),
|
|
2580
|
+
max: (
|
|
2581
|
+
font-size: 3.75rem,
|
|
2582
|
+
font-weight: 600,
|
|
2583
|
+
letter-spacing: 0,
|
|
2584
|
+
),
|
|
2585
|
+
),
|
|
2586
|
+
)
|
|
2587
|
+
) !default;
|
|
2588
|
+
|
|
2589
|
+
/// @type {Number}
|
|
2590
|
+
/// @access public
|
|
2591
|
+
/// @group @carbon/themes
|
|
2592
|
+
$fluid-paragraph-01: if(
|
|
2593
|
+
global-variable-exists('carbon--theme') and
|
|
2594
|
+
map-has-key($carbon--theme, 'fluid-paragraph-01'),
|
|
2595
|
+
map-get($carbon--theme, 'fluid-paragraph-01'),
|
|
2596
|
+
(
|
|
2597
|
+
font-size: 1.5rem,
|
|
2598
|
+
font-weight: 300,
|
|
2599
|
+
line-height: 1.334,
|
|
2600
|
+
letter-spacing: 0,
|
|
2601
|
+
breakpoints: (
|
|
2602
|
+
lg: (
|
|
2603
|
+
font-size: 1.75rem,
|
|
2604
|
+
line-height: 1.28572,
|
|
2605
|
+
),
|
|
2606
|
+
max: (
|
|
2607
|
+
font-size: 2rem,
|
|
2608
|
+
line-height: 1.25,
|
|
2609
|
+
),
|
|
2610
|
+
),
|
|
2611
|
+
)
|
|
2612
|
+
) !default;
|
|
2613
|
+
|
|
2614
|
+
/// @type {Number}
|
|
2615
|
+
/// @access public
|
|
2616
|
+
/// @group @carbon/themes
|
|
2617
|
+
$fluid-quotation-01: if(
|
|
2618
|
+
global-variable-exists('carbon--theme') and
|
|
2619
|
+
map-has-key($carbon--theme, 'fluid-quotation-01'),
|
|
2620
|
+
map-get($carbon--theme, 'fluid-quotation-01'),
|
|
2621
|
+
(
|
|
2622
|
+
font-family: unquote("'IBM Plex Serif', 'Georgia', Times, serif"),
|
|
2623
|
+
font-size: 1.25rem,
|
|
2624
|
+
font-weight: 400,
|
|
2625
|
+
line-height: 1.3,
|
|
2626
|
+
letter-spacing: 0,
|
|
2627
|
+
breakpoints: (
|
|
2628
|
+
md: (
|
|
2629
|
+
font-size: 1.25rem,
|
|
2630
|
+
font-weight: 400,
|
|
2631
|
+
letter-spacing: 0,
|
|
2632
|
+
),
|
|
2633
|
+
lg: (
|
|
2634
|
+
font-size: 1.5rem,
|
|
2635
|
+
font-weight: 400,
|
|
2636
|
+
line-height: 1.334,
|
|
2637
|
+
letter-spacing: 0,
|
|
2638
|
+
),
|
|
2639
|
+
xlg: (
|
|
2640
|
+
font-size: 1.75rem,
|
|
2641
|
+
font-weight: 400,
|
|
2642
|
+
line-height: 1.28572,
|
|
2643
|
+
letter-spacing: 0,
|
|
2644
|
+
),
|
|
2645
|
+
max: (
|
|
2646
|
+
font-size: 2rem,
|
|
2647
|
+
font-weight: 400,
|
|
2648
|
+
line-height: 1.25,
|
|
2649
|
+
letter-spacing: 0,
|
|
2650
|
+
),
|
|
2651
|
+
),
|
|
2652
|
+
)
|
|
2653
|
+
) !default;
|
|
2654
|
+
|
|
2655
|
+
/// @type {Number}
|
|
2656
|
+
/// @access public
|
|
2657
|
+
/// @group @carbon/themes
|
|
2658
|
+
$fluid-quotation-02: if(
|
|
2659
|
+
global-variable-exists('carbon--theme') and
|
|
2660
|
+
map-has-key($carbon--theme, 'fluid-quotation-02'),
|
|
2661
|
+
map-get($carbon--theme, 'fluid-quotation-02'),
|
|
2662
|
+
(
|
|
2663
|
+
font-family: unquote("'IBM Plex Serif', 'Georgia', Times, serif"),
|
|
2664
|
+
font-size: 2rem,
|
|
2665
|
+
font-weight: 300,
|
|
2666
|
+
line-height: 1.25,
|
|
2667
|
+
letter-spacing: 0,
|
|
2668
|
+
breakpoints: (
|
|
2669
|
+
md: (
|
|
2670
|
+
font-size: 2.25rem,
|
|
2671
|
+
line-height: 1.22,
|
|
2672
|
+
),
|
|
2673
|
+
lg: (
|
|
2674
|
+
font-size: 2.625rem,
|
|
2675
|
+
line-height: 1.19,
|
|
2676
|
+
),
|
|
2677
|
+
xlg: (
|
|
2678
|
+
font-size: 3rem,
|
|
2679
|
+
line-height: 1.17,
|
|
2680
|
+
),
|
|
2681
|
+
max: (
|
|
2682
|
+
font-size: 3.75rem,
|
|
2683
|
+
),
|
|
2684
|
+
),
|
|
2685
|
+
)
|
|
2686
|
+
) !default;
|
|
2687
|
+
|
|
2688
|
+
/// @type {Number}
|
|
2689
|
+
/// @access public
|
|
2690
|
+
/// @group @carbon/themes
|
|
2691
|
+
$fluid-display-01: if(
|
|
2692
|
+
global-variable-exists('carbon--theme') and
|
|
2693
|
+
map-has-key($carbon--theme, 'fluid-display-01'),
|
|
2694
|
+
map-get($carbon--theme, 'fluid-display-01'),
|
|
2695
|
+
(
|
|
2696
|
+
font-size: 2.625rem,
|
|
2697
|
+
font-weight: 300,
|
|
2698
|
+
line-height: 1.19,
|
|
2699
|
+
letter-spacing: 0,
|
|
2700
|
+
breakpoints: (
|
|
2701
|
+
md: (
|
|
2702
|
+
font-size: 2.625rem,
|
|
2703
|
+
),
|
|
2704
|
+
lg: (
|
|
2705
|
+
font-size: 3.375rem,
|
|
2706
|
+
),
|
|
2707
|
+
xlg: (
|
|
2708
|
+
font-size: 3.75rem,
|
|
2709
|
+
line-height: 1.17,
|
|
2710
|
+
),
|
|
2711
|
+
max: (
|
|
2712
|
+
font-size: 4.75rem,
|
|
2713
|
+
line-height: 1.13,
|
|
2714
|
+
),
|
|
2715
|
+
),
|
|
2716
|
+
)
|
|
2717
|
+
) !default;
|
|
2718
|
+
|
|
2719
|
+
/// @type {Number}
|
|
2720
|
+
/// @access public
|
|
2721
|
+
/// @group @carbon/themes
|
|
2722
|
+
$fluid-display-02: if(
|
|
2723
|
+
global-variable-exists('carbon--theme') and
|
|
2724
|
+
map-has-key($carbon--theme, 'fluid-display-02'),
|
|
2725
|
+
map-get($carbon--theme, 'fluid-display-02'),
|
|
2726
|
+
(
|
|
2727
|
+
font-size: 2.625rem,
|
|
2728
|
+
font-weight: 600,
|
|
2729
|
+
line-height: 1.19,
|
|
2730
|
+
letter-spacing: 0,
|
|
2731
|
+
breakpoints: (
|
|
2732
|
+
md: (
|
|
2733
|
+
font-size: 2.625rem,
|
|
2734
|
+
),
|
|
2735
|
+
lg: (
|
|
2736
|
+
font-size: 3.375rem,
|
|
2737
|
+
),
|
|
2738
|
+
xlg: (
|
|
2739
|
+
font-size: 3.75rem,
|
|
2740
|
+
line-height: 1.16,
|
|
2741
|
+
),
|
|
2742
|
+
max: (
|
|
2743
|
+
font-size: 4.75rem,
|
|
2744
|
+
line-height: 1.13,
|
|
2745
|
+
),
|
|
2746
|
+
),
|
|
2747
|
+
)
|
|
2748
|
+
) !default;
|
|
2749
|
+
|
|
2750
|
+
/// @type {Number}
|
|
2751
|
+
/// @access public
|
|
2752
|
+
/// @group @carbon/themes
|
|
2753
|
+
$fluid-display-03: if(
|
|
2754
|
+
global-variable-exists('carbon--theme') and
|
|
2755
|
+
map-has-key($carbon--theme, 'fluid-display-03'),
|
|
2756
|
+
map-get($carbon--theme, 'fluid-display-03'),
|
|
2757
|
+
(
|
|
2758
|
+
font-size: 2.625rem,
|
|
2759
|
+
font-weight: 300,
|
|
2760
|
+
line-height: 1.19,
|
|
2761
|
+
letter-spacing: 0,
|
|
2762
|
+
breakpoints: (
|
|
2763
|
+
md: (
|
|
2764
|
+
font-size: 4.25rem,
|
|
2765
|
+
line-height: 1.15,
|
|
2766
|
+
),
|
|
2767
|
+
lg: (
|
|
2768
|
+
font-size: 5.75rem,
|
|
2769
|
+
line-height: 1.11,
|
|
2770
|
+
letter-spacing: -0.64px,
|
|
2771
|
+
),
|
|
2772
|
+
xlg: (
|
|
2773
|
+
font-size: 7.625rem,
|
|
2774
|
+
line-height: 1.07,
|
|
2775
|
+
),
|
|
2776
|
+
max: (
|
|
2777
|
+
font-size: 9.75rem,
|
|
2778
|
+
line-height: 1.05,
|
|
2779
|
+
letter-spacing: -0.96px,
|
|
2780
|
+
),
|
|
2781
|
+
),
|
|
2782
|
+
)
|
|
2783
|
+
) !default;
|
|
2784
|
+
|
|
2785
|
+
/// @type {Number}
|
|
2786
|
+
/// @access public
|
|
2787
|
+
/// @group @carbon/themes
|
|
2788
|
+
$fluid-display-04: if(
|
|
2789
|
+
global-variable-exists('carbon--theme') and
|
|
2790
|
+
map-has-key($carbon--theme, 'fluid-display-04'),
|
|
2791
|
+
map-get($carbon--theme, 'fluid-display-04'),
|
|
2792
|
+
(
|
|
2793
|
+
font-size: 2.625rem,
|
|
2794
|
+
font-weight: 600,
|
|
2795
|
+
line-height: 1.19,
|
|
2796
|
+
letter-spacing: 0,
|
|
2797
|
+
breakpoints: (
|
|
2798
|
+
md: (
|
|
2799
|
+
font-size: 4.25rem,
|
|
2800
|
+
line-height: 1.15,
|
|
2801
|
+
),
|
|
2802
|
+
lg: (
|
|
2803
|
+
font-size: 5.75rem,
|
|
2804
|
+
line-height: 1.11,
|
|
2805
|
+
letter-spacing: -0.64px,
|
|
2806
|
+
),
|
|
2807
|
+
xlg: (
|
|
2808
|
+
font-size: 7.625rem,
|
|
2809
|
+
line-height: 1.07,
|
|
2810
|
+
letter-spacing: -0.64px,
|
|
2811
|
+
),
|
|
2812
|
+
max: (
|
|
2813
|
+
font-size: 9.75rem,
|
|
2814
|
+
line-height: 1.05,
|
|
2815
|
+
letter-spacing: -0.96px,
|
|
2816
|
+
),
|
|
2817
|
+
),
|
|
2818
|
+
)
|
|
2819
|
+
) !default;
|
|
2820
|
+
|
|
2263
2821
|
/// @type {Number}
|
|
2264
2822
|
/// @access public
|
|
2265
2823
|
/// @group @carbon/themes
|