@rescui/typography 0.16.2-RUI-201-Support-css-modules-in-typography-f33bc767.25 → 0.16.2-RUI-201-Support-css-modules-in-typography-6efea65f.26

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/lib/mixins.pcss CHANGED
@@ -78,10 +78,6 @@
78
78
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
79
79
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
80
80
  font-feature-settings:'kern', 'liga', 'calt';
81
- & > p:not(:nth-child(1)),
82
- & > pre:not(:nth-child(1)){
83
- padding-top:var(--_rs-typography-auto-offset-or-initial);
84
- }
85
81
  }
86
82
  @define-mixin rs-super-hero{
87
83
  --_rs-typography-letter-spacing:-0.02em;
@@ -154,10 +150,6 @@
154
150
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
155
151
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
156
152
  font-feature-settings:'kern', 'liga', 'calt';
157
- & > p:not(:nth-child(1)),
158
- & > pre:not(:nth-child(1)){
159
- padding-top:var(--_rs-typography-auto-offset-or-initial);
160
- }
161
153
  --rs-theme-dark:0;
162
154
  --_rs-theme-dark:var(
163
155
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -246,10 +238,6 @@
246
238
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
247
239
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
248
240
  font-feature-settings:'kern', 'liga', 'calt';
249
- & > p:not(:nth-child(1)),
250
- & > pre:not(:nth-child(1)){
251
- padding-top:var(--_rs-typography-auto-offset-or-initial);
252
- }
253
241
  }
254
242
  @define-mixin rs-middle-hero{
255
243
  --_rs-typography-letter-spacing:-0.008em;
@@ -309,10 +297,6 @@
309
297
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
310
298
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
311
299
  font-feature-settings:'kern', 'liga', 'calt';
312
- & > p:not(:nth-child(1)),
313
- & > pre:not(:nth-child(1)){
314
- padding-top:var(--_rs-typography-auto-offset-or-initial);
315
- }
316
300
  --rs-theme-dark:0;
317
301
  --_rs-theme-dark:var(
318
302
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -484,10 +468,6 @@
484
468
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
485
469
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
486
470
  font-feature-settings:'kern', 'liga', 'calt';
487
- & > p:not(:nth-child(1)),
488
- & > pre:not(:nth-child(1)){
489
- padding-top:var(--_rs-typography-auto-offset-or-initial);
490
- }
491
471
  }
492
472
  @define-mixin rs-digits-1{
493
473
  --_rs-typography-letter-spacing:-0.005em;
@@ -540,10 +520,6 @@
540
520
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
541
521
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
542
522
  font-feature-settings:'kern', 'liga', 'calt';
543
- & > p:not(:nth-child(1)),
544
- & > pre:not(:nth-child(1)){
545
- padding-top:var(--_rs-typography-auto-offset-or-initial);
546
- }
547
523
  --rs-theme-dark:0;
548
524
  --_rs-theme-dark:var(
549
525
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -619,10 +595,6 @@
619
595
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
620
596
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
621
597
  font-feature-settings:'kern', 'liga', 'calt';
622
- & > p:not(:nth-child(1)),
623
- & > pre:not(:nth-child(1)){
624
- padding-top:var(--_rs-typography-auto-offset-or-initial);
625
- }
626
598
  }
627
599
  @define-mixin rs-digits-2{
628
600
  --_rs-typography-letter-spacing:-0.005em;
@@ -669,10 +641,6 @@
669
641
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
670
642
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
671
643
  font-feature-settings:'kern', 'liga', 'calt';
672
- & > p:not(:nth-child(1)),
673
- & > pre:not(:nth-child(1)){
674
- padding-top:var(--_rs-typography-auto-offset-or-initial);
675
- }
676
644
  --rs-theme-dark:0;
677
645
  --_rs-theme-dark:var(
678
646
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -758,10 +726,6 @@
758
726
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
759
727
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
760
728
  font-feature-settings:'kern', 'liga', 'calt';
761
- & > p:not(:nth-child(1)),
762
- & > pre:not(:nth-child(1)){
763
- padding-top:var(--_rs-typography-auto-offset-or-initial);
764
- }
765
729
  }
766
730
  @define-mixin rs-hero{
767
731
  --_rs-typography-letter-spacing:-0.005em;
@@ -818,10 +782,6 @@
818
782
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
819
783
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
820
784
  font-feature-settings:'kern', 'liga', 'calt';
821
- & > p:not(:nth-child(1)),
822
- & > pre:not(:nth-child(1)){
823
- padding-top:var(--_rs-typography-auto-offset-or-initial);
824
- }
825
785
  --rs-theme-dark:0;
826
786
  --_rs-theme-dark:var(
827
787
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -907,10 +867,6 @@
907
867
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
908
868
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
909
869
  font-feature-settings:'kern', 'liga', 'calt';
910
- & > p:not(:nth-child(1)),
911
- & > pre:not(:nth-child(1)){
912
- padding-top:var(--_rs-typography-auto-offset-or-initial);
913
- }
914
870
  }
915
871
  @define-mixin rs-subtitle-1{
916
872
  --_rs-typography-letter-spacing:normal;
@@ -967,10 +923,6 @@
967
923
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
968
924
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
969
925
  font-feature-settings:'kern', 'liga', 'calt';
970
- & > p:not(:nth-child(1)),
971
- & > pre:not(:nth-child(1)){
972
- padding-top:var(--_rs-typography-auto-offset-or-initial);
973
- }
974
926
  --rs-theme-dark:0;
975
927
  --_rs-theme-dark:var(
976
928
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1051,10 +1003,6 @@
1051
1003
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1052
1004
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1053
1005
  font-feature-settings:'kern', 'liga', 'calt';
1054
- & > p:not(:nth-child(1)),
1055
- & > pre:not(:nth-child(1)){
1056
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1057
- }
1058
1006
  }
1059
1007
  @define-mixin rs-h1{
1060
1008
  --_rs-typography-letter-spacing:-0.001em;
@@ -1106,10 +1054,6 @@
1106
1054
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1107
1055
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1108
1056
  font-feature-settings:'kern', 'liga', 'calt';
1109
- & > p:not(:nth-child(1)),
1110
- & > pre:not(:nth-child(1)){
1111
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1112
- }
1113
1057
  --rs-theme-dark:0;
1114
1058
  --_rs-theme-dark:var(
1115
1059
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1195,10 +1139,6 @@
1195
1139
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1196
1140
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1197
1141
  font-feature-settings:'kern', 'liga', 'calt';
1198
- & > p:not(:nth-child(1)),
1199
- & > pre:not(:nth-child(1)){
1200
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1201
- }
1202
1142
  }
1203
1143
  @define-mixin rs-subtitle-2{
1204
1144
  --_rs-typography-letter-spacing:normal;
@@ -1255,10 +1195,6 @@
1255
1195
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1256
1196
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1257
1197
  font-feature-settings:'kern', 'liga', 'calt';
1258
- & > p:not(:nth-child(1)),
1259
- & > pre:not(:nth-child(1)){
1260
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1261
- }
1262
1198
  --rs-theme-dark:0;
1263
1199
  --_rs-theme-dark:var(
1264
1200
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1338,10 +1274,6 @@
1338
1274
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1339
1275
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1340
1276
  font-feature-settings:'kern', 'liga', 'calt';
1341
- & > p:not(:nth-child(1)),
1342
- & > pre:not(:nth-child(1)){
1343
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1344
- }
1345
1277
  }
1346
1278
  @define-mixin rs-h2{
1347
1279
  --_rs-typography-letter-spacing:normal;
@@ -1392,10 +1324,6 @@
1392
1324
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1393
1325
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1394
1326
  font-feature-settings:'kern', 'liga', 'calt';
1395
- & > p:not(:nth-child(1)),
1396
- & > pre:not(:nth-child(1)){
1397
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1398
- }
1399
1327
  --rs-theme-dark:0;
1400
1328
  --_rs-theme-dark:var(
1401
1329
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1465,10 +1393,6 @@
1465
1393
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1466
1394
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1467
1395
  font-feature-settings:'kern', 'liga', 'calt';
1468
- & > p:not(:nth-child(1)),
1469
- & > pre:not(:nth-child(1)){
1470
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1471
- }
1472
1396
  }
1473
1397
  @define-mixin rs-h3{
1474
1398
  --_rs-typography-letter-spacing:normal;
@@ -1509,10 +1433,6 @@
1509
1433
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1510
1434
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1511
1435
  font-feature-settings:'kern', 'liga', 'calt';
1512
- & > p:not(:nth-child(1)),
1513
- & > pre:not(:nth-child(1)){
1514
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1515
- }
1516
1436
  --rs-theme-dark:0;
1517
1437
  --_rs-theme-dark:var(
1518
1438
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1591,10 +1511,6 @@
1591
1511
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1592
1512
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1593
1513
  font-feature-settings:'kern', 'liga', 'calt';
1594
- & > p:not(:nth-child(1)),
1595
- & > pre:not(:nth-child(1)){
1596
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1597
- }
1598
1514
  }
1599
1515
  @define-mixin rs-text-1{
1600
1516
  --_rs-typography-letter-spacing:normal;
@@ -1644,10 +1560,6 @@
1644
1560
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1645
1561
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1646
1562
  font-feature-settings:'kern', 'liga', 'calt';
1647
- & > p:not(:nth-child(1)),
1648
- & > pre:not(:nth-child(1)){
1649
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1650
- }
1651
1563
  --rs-theme-dark:0;
1652
1564
  --_rs-theme-dark:var(
1653
1565
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1717,10 +1629,6 @@
1717
1629
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1718
1630
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1719
1631
  font-feature-settings:'kern', 'liga', 'calt';
1720
- & > p:not(:nth-child(1)),
1721
- & > pre:not(:nth-child(1)){
1722
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1723
- }
1724
1632
  }
1725
1633
  @define-mixin rs-h4{
1726
1634
  --_rs-typography-letter-spacing:normal;
@@ -1761,10 +1669,6 @@
1761
1669
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1762
1670
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1763
1671
  font-feature-settings:'kern', 'liga', 'calt';
1764
- & > p:not(:nth-child(1)),
1765
- & > pre:not(:nth-child(1)){
1766
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1767
- }
1768
1672
  --rs-theme-dark:0;
1769
1673
  --_rs-theme-dark:var(
1770
1674
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1843,10 +1747,6 @@
1843
1747
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1844
1748
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1845
1749
  font-feature-settings:'kern', 'liga', 'calt';
1846
- & > p:not(:nth-child(1)),
1847
- & > pre:not(:nth-child(1)){
1848
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1849
- }
1850
1750
  }
1851
1751
  @define-mixin rs-text-2{
1852
1752
  --_rs-typography-letter-spacing:0.0015em;
@@ -1896,10 +1796,6 @@
1896
1796
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1897
1797
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1898
1798
  font-feature-settings:'kern', 'liga', 'calt';
1899
- & > p:not(:nth-child(1)),
1900
- & > pre:not(:nth-child(1)){
1901
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1902
- }
1903
1799
  --rs-theme-dark:0;
1904
1800
  --_rs-theme-dark:var(
1905
1801
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -1969,10 +1865,6 @@
1969
1865
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1970
1866
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1971
1867
  font-feature-settings:'kern', 'liga', 'calt';
1972
- & > p:not(:nth-child(1)),
1973
- & > pre:not(:nth-child(1)){
1974
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1975
- }
1976
1868
  }
1977
1869
  @define-mixin rs-h5{
1978
1870
  --_rs-typography-letter-spacing:normal;
@@ -2013,10 +1905,6 @@
2013
1905
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2014
1906
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2015
1907
  font-feature-settings:'kern', 'liga', 'calt';
2016
- & > p:not(:nth-child(1)),
2017
- & > pre:not(:nth-child(1)){
2018
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2019
- }
2020
1908
  --rs-theme-dark:0;
2021
1909
  --_rs-theme-dark:var(
2022
1910
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -2092,10 +1980,6 @@
2092
1980
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2093
1981
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2094
1982
  font-feature-settings:'kern', 'liga', 'calt';
2095
- & > p:not(:nth-child(1)),
2096
- & > pre:not(:nth-child(1)){
2097
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2098
- }
2099
1983
  color:var(--_rs-typography-base-color);
2100
1984
  --rs-theme-dark:0;
2101
1985
  --_rs-theme-dark:var(
@@ -2172,10 +2056,6 @@
2172
2056
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2173
2057
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2174
2058
  font-feature-settings:'kern', 'liga', 'calt';
2175
- & > p:not(:nth-child(1)),
2176
- & > pre:not(:nth-child(1)){
2177
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2178
- }
2179
2059
  }
2180
2060
  @define-mixin rs-text-3{
2181
2061
  --_rs-typography-letter-spacing:0.0045em;
@@ -2222,10 +2102,6 @@
2222
2102
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2223
2103
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2224
2104
  font-feature-settings:'kern', 'liga', 'calt';
2225
- & > p:not(:nth-child(1)),
2226
- & > pre:not(:nth-child(1)){
2227
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2228
- }
2229
2105
  --rs-theme-dark:0;
2230
2106
  --_rs-theme-dark:var(
2231
2107
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
@@ -667,15 +667,6 @@
667
667
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.15em;
668
668
  --_rs-typography-link-border-bottom-width-from-text:2px;
669
669
  }
670
- @define-mixin rs-typography-auto-offset-true{
671
- --_rs-typography-auto-offset-or-initial:var(
672
- --_rs-typography-text-auto-offset,
673
- 0
674
- );
675
- }
676
- @define-mixin rs-typography-auto-offset-false{
677
- --_rs-typography-auto-offset-or-initial:initial;
678
- }
679
670
  @define-mixin rs-typography-ul{
680
671
  --_rs-typography-list-li-content-base:'\2022';
681
672
  --_rs-typography-list-counter:initial;
@@ -906,10 +897,11 @@
906
897
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
907
898
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
908
899
  font-feature-settings:'kern', 'liga', 'calt';
909
-
900
+ }
901
+ @define-mixin rs-typography-paragraph-auto-offset-styles{
910
902
  & > p:not(:nth-child(1)),
911
903
  & > pre:not(:nth-child(1)){
912
- padding-top:var(--_rs-typography-auto-offset-or-initial);
904
+ margin-top:var(--_rs-typography-text-auto-offset, 0);
913
905
  }
914
906
  }
915
907
  @define-mixin rs-typography-list-styles{
@@ -1269,10 +1261,6 @@
1269
1261
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1270
1262
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1271
1263
  font-feature-settings:'kern', 'liga', 'calt';
1272
- & > p:not(:nth-child(1)),
1273
- & > pre:not(:nth-child(1)){
1274
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1275
- }
1276
1264
 
1277
1265
  color:var(--_rs-typography-base-color);
1278
1266
  }
@@ -1328,10 +1316,6 @@
1328
1316
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1329
1317
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1330
1318
  font-feature-settings:'kern', 'liga', 'calt';
1331
- & > p:not(:nth-child(1)),
1332
- & > pre:not(:nth-child(1)){
1333
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1334
- }
1335
1319
 
1336
1320
  color:var(--_rs-typography-base-color);
1337
1321
  }
@@ -1413,10 +1397,6 @@
1413
1397
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1414
1398
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1415
1399
  font-feature-settings:'kern', 'liga', 'calt';
1416
- & > p:not(:nth-child(1)),
1417
- & > pre:not(:nth-child(1)){
1418
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1419
- }
1420
1400
 
1421
1401
  color:var(--_rs-typography-base-color);
1422
1402
  }
@@ -1485,10 +1465,6 @@
1485
1465
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1486
1466
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1487
1467
  font-feature-settings:'kern', 'liga', 'calt';
1488
- & > p:not(:nth-child(1)),
1489
- & > pre:not(:nth-child(1)){
1490
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1491
- }
1492
1468
 
1493
1469
  color:var(--_rs-typography-base-color);
1494
1470
  }
@@ -1554,10 +1530,6 @@
1554
1530
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1555
1531
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1556
1532
  font-feature-settings:'kern', 'liga', 'calt';
1557
- & > p:not(:nth-child(1)),
1558
- & > pre:not(:nth-child(1)){
1559
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1560
- }
1561
1533
 
1562
1534
  color:var(--_rs-typography-base-color);
1563
1535
  }
@@ -1618,10 +1590,6 @@
1618
1590
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1619
1591
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1620
1592
  font-feature-settings:'kern', 'liga', 'calt';
1621
- & > p:not(:nth-child(1)),
1622
- & > pre:not(:nth-child(1)){
1623
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1624
- }
1625
1593
 
1626
1594
  color:var(--_rs-typography-base-color);
1627
1595
  }
@@ -1681,10 +1649,6 @@
1681
1649
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1682
1650
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1683
1651
  font-feature-settings:'kern', 'liga', 'calt';
1684
- & > p:not(:nth-child(1)),
1685
- & > pre:not(:nth-child(1)){
1686
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1687
- }
1688
1652
 
1689
1653
  color:var(--_rs-typography-base-color);
1690
1654
  }
@@ -1734,10 +1698,6 @@
1734
1698
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1735
1699
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1736
1700
  font-feature-settings:'kern', 'liga', 'calt';
1737
- & > p:not(:nth-child(1)),
1738
- & > pre:not(:nth-child(1)){
1739
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1740
- }
1741
1701
 
1742
1702
  color:var(--_rs-typography-base-color);
1743
1703
  }
@@ -1787,10 +1747,6 @@
1787
1747
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1788
1748
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1789
1749
  font-feature-settings:'kern', 'liga', 'calt';
1790
- & > p:not(:nth-child(1)),
1791
- & > pre:not(:nth-child(1)){
1792
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1793
- }
1794
1750
 
1795
1751
  color:var(--_rs-typography-base-color);
1796
1752
  }
@@ -1840,10 +1796,6 @@
1840
1796
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1841
1797
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1842
1798
  font-feature-settings:'kern', 'liga', 'calt';
1843
- & > p:not(:nth-child(1)),
1844
- & > pre:not(:nth-child(1)){
1845
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1846
- }
1847
1799
 
1848
1800
  color:var(--_rs-typography-base-color);
1849
1801
  }
@@ -1909,10 +1861,6 @@
1909
1861
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1910
1862
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1911
1863
  font-feature-settings:'kern', 'liga', 'calt';
1912
- & > p:not(:nth-child(1)),
1913
- & > pre:not(:nth-child(1)){
1914
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1915
- }
1916
1864
 
1917
1865
  color:var(--_rs-typography-base-color);
1918
1866
  }
@@ -1978,10 +1926,6 @@
1978
1926
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
1979
1927
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
1980
1928
  font-feature-settings:'kern', 'liga', 'calt';
1981
- & > p:not(:nth-child(1)),
1982
- & > pre:not(:nth-child(1)){
1983
- padding-top:var(--_rs-typography-auto-offset-or-initial);
1984
- }
1985
1929
 
1986
1930
  color:var(--_rs-typography-base-color);
1987
1931
  }
@@ -2037,10 +1981,6 @@
2037
1981
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2038
1982
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2039
1983
  font-feature-settings:'kern', 'liga', 'calt';
2040
- & > p:not(:nth-child(1)),
2041
- & > pre:not(:nth-child(1)){
2042
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2043
- }
2044
1984
 
2045
1985
  color:var(--_rs-typography-base-color);
2046
1986
  }
@@ -2099,10 +2039,6 @@
2099
2039
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2100
2040
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2101
2041
  font-feature-settings:'kern', 'liga', 'calt';
2102
- & > p:not(:nth-child(1)),
2103
- & > pre:not(:nth-child(1)){
2104
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2105
- }
2106
2042
 
2107
2043
  color:var(--_rs-typography-base-color);
2108
2044
  }
@@ -2161,10 +2097,6 @@
2161
2097
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2162
2098
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2163
2099
  font-feature-settings:'kern', 'liga', 'calt';
2164
- & > p:not(:nth-child(1)),
2165
- & > pre:not(:nth-child(1)){
2166
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2167
- }
2168
2100
 
2169
2101
  color:var(--_rs-typography-base-color);
2170
2102
  }
@@ -2220,10 +2152,6 @@
2220
2152
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2221
2153
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
2222
2154
  font-feature-settings:'kern', 'liga', 'calt';
2223
- & > p:not(:nth-child(1)),
2224
- & > pre:not(:nth-child(1)){
2225
- padding-top:var(--_rs-typography-auto-offset-or-initial);
2226
- }
2227
2155
 
2228
2156
  color:var(--_rs-typography-base-color);
2229
2157
  }
@@ -3278,19 +3206,6 @@
3278
3206
  --_rs-typography-hardness-color:initial;
3279
3207
  }
3280
3208
  }
3281
- @define-mixin rs-text-cn-auto-offset-true{
3282
- &:not(html){
3283
- --_rs-typography-auto-offset-or-initial:var(
3284
- --_rs-typography-text-auto-offset,
3285
- 0
3286
- );
3287
- }
3288
- }
3289
- @define-mixin rs-text-cn-auto-offset-false{
3290
- &:not(html){
3291
- --_rs-typography-auto-offset-or-initial:initial;
3292
- }
3293
- }
3294
3209
  @define-mixin rs-text-cn-list-offset-items-8{
3295
3210
  &:not(html){
3296
3211
  --_rs-typography-list-li-margin-top:8px;