@pantheon-systems/pds-design-tokens 2.0.0-alpha.7 → 2.0.0-alpha.9

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.
@@ -1,12 +1,12 @@
1
1
  :root, [data-scale="compact"] {
2
2
  --pds-typography-size-code-block: 0.9rem;
3
- --pds-typography-size-7xl: 4.3rem;
4
- --pds-typography-size-6xl: 3.583rem;
5
- --pds-typography-size-5xl: 2.986rem;
6
- --pds-typography-size-4xl: 2.488rem;
7
- --pds-typography-size-3xl: 2.074rem;
8
- --pds-typography-size-2xl: 1.728rem;
9
- --pds-typography-size-xl: 1.44rem;
3
+ --pds-typography-size-7xl: clamp(3.44rem, 3.05rem + 1.56vw, 4.3rem);
4
+ --pds-typography-size-6xl: clamp(2.867rem, 2.54rem + 1.3vw, 3.583rem);
5
+ --pds-typography-size-5xl: clamp(2.389rem, 2.12rem + 1.09vw, 2.986rem);
6
+ --pds-typography-size-4xl: clamp(1.991rem, 1.76rem + 0.9vw, 2.488rem);
7
+ --pds-typography-size-3xl: clamp(1.659rem, 1.47rem + 0.75vw, 2.074rem);
8
+ --pds-typography-size-2xl: clamp(1.382rem, 1.23rem + 0.63vw, 1.728rem);
9
+ --pds-typography-size-xl: clamp(1.152rem, 1.02rem + 0.52vw, 1.44rem);
10
10
  --pds-typography-size-l: 1.2rem;
11
11
  --pds-typography-size-m: 1rem;
12
12
  --pds-typography-size-s: 0.833rem;
@@ -1,12 +1,12 @@
1
1
  [data-scale="expanded"] {
2
2
  --pds-typography-size-code-block: 0.9rem;
3
- --pds-typography-size-7xl: 9.969rem;
4
- --pds-typography-size-6xl: 7.478rem;
5
- --pds-typography-size-5xl: 5.61rem;
6
- --pds-typography-size-4xl: 4.209rem;
7
- --pds-typography-size-3xl: 3.157rem;
8
- --pds-typography-size-2xl: 2.369rem;
9
- --pds-typography-size-xl: 1.777rem;
3
+ --pds-typography-size-7xl: clamp(7.975rem, 7.07rem + 3.63vw, 9.969rem);
4
+ --pds-typography-size-6xl: clamp(5.983rem, 5.3rem + 2.72vw, 7.478rem);
5
+ --pds-typography-size-5xl: clamp(4.488rem, 3.98rem + 2.04vw, 5.61rem);
6
+ --pds-typography-size-4xl: clamp(3.367rem, 2.98rem + 1.53vw, 4.209rem);
7
+ --pds-typography-size-3xl: clamp(2.526rem, 2.24rem + 1.15vw, 3.157rem);
8
+ --pds-typography-size-2xl: clamp(1.895rem, 1.68rem + 0.86vw, 2.369rem);
9
+ --pds-typography-size-xl: clamp(1.422rem, 1.26rem + 0.65vw, 1.777rem);
10
10
  --pds-typography-size-l: 1.333rem;
11
11
  --pds-typography-size-m: 1rem;
12
12
  --pds-typography-size-s: 0.75rem;
@@ -89,10 +89,10 @@
89
89
  --pds-typography-fw-semibold: 600;
90
90
  --pds-typography-fw-bold: 700;
91
91
  --pds-typography-font-css-import: 'https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap';
92
- --pds-typography-ls-xl: 6%;
93
- --pds-typography-ls-l: 4%;
94
- --pds-typography-ls-m: 2%;
95
- --pds-typography-ls-s: 1%;
92
+ --pds-typography-ls-xl: 0.06em;
93
+ --pds-typography-ls-l: 0.04em;
94
+ --pds-typography-ls-m: 0.02em;
95
+ --pds-typography-ls-s: 0.01em;
96
96
  --pds-typography-lh-xl: 195%;
97
97
  --pds-typography-lh-l: 165%;
98
98
  --pds-typography-lh-m: 140%;
@@ -11738,6 +11738,588 @@
11738
11738
  }
11739
11739
  }
11740
11740
  },
11741
+ "compact-mobile-primitive": {
11742
+ "primitive": {
11743
+ "typography": {
11744
+ "size": {
11745
+ "7XL": {
11746
+ "value": 55.04,
11747
+ "type": "fontSize",
11748
+ "$extensions": {
11749
+ "public": true,
11750
+ "defaultUnit": "rem",
11751
+ "mathExpression": true,
11752
+ "com.figma": {
11753
+ "scopes": [
11754
+ "FONT_SIZE"
11755
+ ],
11756
+ "exportAs": "variable",
11757
+ "codeSyntax": {
11758
+ "WEB": "--pds-typography-size-7xl"
11759
+ }
11760
+ }
11761
+ }
11762
+ },
11763
+ "6XL": {
11764
+ "value": 45.862,
11765
+ "type": "fontSize",
11766
+ "$extensions": {
11767
+ "public": true,
11768
+ "defaultUnit": "rem",
11769
+ "mathExpression": true,
11770
+ "com.figma": {
11771
+ "scopes": [
11772
+ "FONT_SIZE"
11773
+ ],
11774
+ "exportAs": "variable",
11775
+ "codeSyntax": {
11776
+ "WEB": "--pds-typography-size-6xl"
11777
+ }
11778
+ }
11779
+ }
11780
+ },
11781
+ "5XL": {
11782
+ "value": 38.221,
11783
+ "type": "fontSize",
11784
+ "$extensions": {
11785
+ "public": true,
11786
+ "defaultUnit": "rem",
11787
+ "mathExpression": true,
11788
+ "com.figma": {
11789
+ "scopes": [
11790
+ "FONT_SIZE"
11791
+ ],
11792
+ "exportAs": "variable",
11793
+ "codeSyntax": {
11794
+ "WEB": "--pds-typography-size-5xl"
11795
+ }
11796
+ }
11797
+ }
11798
+ },
11799
+ "4XL": {
11800
+ "value": 31.846,
11801
+ "type": "fontSize",
11802
+ "$extensions": {
11803
+ "public": true,
11804
+ "defaultUnit": "rem",
11805
+ "mathExpression": true,
11806
+ "com.figma": {
11807
+ "scopes": [
11808
+ "FONT_SIZE"
11809
+ ],
11810
+ "exportAs": "variable",
11811
+ "codeSyntax": {
11812
+ "WEB": "--pds-typography-size-4xl"
11813
+ }
11814
+ }
11815
+ }
11816
+ },
11817
+ "3XL": {
11818
+ "value": 26.547,
11819
+ "type": "fontSize",
11820
+ "$extensions": {
11821
+ "public": true,
11822
+ "defaultUnit": "rem",
11823
+ "mathExpression": true,
11824
+ "com.figma": {
11825
+ "scopes": [
11826
+ "FONT_SIZE"
11827
+ ],
11828
+ "exportAs": "variable",
11829
+ "codeSyntax": {
11830
+ "WEB": "--pds-typography-size-3xl"
11831
+ }
11832
+ }
11833
+ }
11834
+ },
11835
+ "2XL": {
11836
+ "value": 22.118,
11837
+ "type": "fontSize",
11838
+ "$extensions": {
11839
+ "public": true,
11840
+ "defaultUnit": "rem",
11841
+ "mathExpression": true,
11842
+ "com.figma": {
11843
+ "scopes": [
11844
+ "FONT_SIZE"
11845
+ ],
11846
+ "exportAs": "variable",
11847
+ "codeSyntax": {
11848
+ "WEB": "--pds-typography-size-2xl"
11849
+ }
11850
+ }
11851
+ }
11852
+ },
11853
+ "XL": {
11854
+ "value": 18.432,
11855
+ "type": "fontSize",
11856
+ "$extensions": {
11857
+ "public": true,
11858
+ "defaultUnit": "rem",
11859
+ "mathExpression": true,
11860
+ "com.figma": {
11861
+ "scopes": [
11862
+ "FONT_SIZE"
11863
+ ],
11864
+ "exportAs": "variable",
11865
+ "codeSyntax": {
11866
+ "WEB": "--pds-typography-size-xl"
11867
+ }
11868
+ }
11869
+ }
11870
+ },
11871
+ "L": {
11872
+ "value": 19.2,
11873
+ "type": "fontSize",
11874
+ "$extensions": {
11875
+ "public": true,
11876
+ "defaultUnit": "rem",
11877
+ "mathExpression": true,
11878
+ "com.figma": {
11879
+ "scopes": [
11880
+ "FONT_SIZE"
11881
+ ],
11882
+ "exportAs": "variable",
11883
+ "codeSyntax": {
11884
+ "WEB": "--pds-typography-size-l"
11885
+ }
11886
+ }
11887
+ }
11888
+ },
11889
+ "M": {
11890
+ "value": 16,
11891
+ "type": "fontSize",
11892
+ "$extensions": {
11893
+ "public": true,
11894
+ "defaultUnit": "rem",
11895
+ "mathExpression": true,
11896
+ "com.figma": {
11897
+ "scopes": [
11898
+ "FONT_SIZE"
11899
+ ],
11900
+ "exportAs": "variable",
11901
+ "codeSyntax": {
11902
+ "WEB": "--pds-typography-size-m"
11903
+ }
11904
+ }
11905
+ }
11906
+ },
11907
+ "S": {
11908
+ "value": 13.328,
11909
+ "type": "fontSize",
11910
+ "$extensions": {
11911
+ "public": true,
11912
+ "defaultUnit": "rem",
11913
+ "mathExpression": true,
11914
+ "com.figma": {
11915
+ "scopes": [
11916
+ "FONT_SIZE"
11917
+ ],
11918
+ "exportAs": "variable",
11919
+ "codeSyntax": {
11920
+ "WEB": "--pds-typography-size-s"
11921
+ }
11922
+ }
11923
+ }
11924
+ },
11925
+ "XS": {
11926
+ "value": 11.104,
11927
+ "type": "fontSize",
11928
+ "$extensions": {
11929
+ "public": true,
11930
+ "defaultUnit": "rem",
11931
+ "mathExpression": true,
11932
+ "com.figma": {
11933
+ "scopes": [
11934
+ "FONT_SIZE"
11935
+ ],
11936
+ "exportAs": "variable",
11937
+ "codeSyntax": {
11938
+ "WEB": "--pds-typography-size-xs"
11939
+ }
11940
+ }
11941
+ }
11942
+ },
11943
+ "2XS": {
11944
+ "value": 9.248,
11945
+ "type": "fontSize",
11946
+ "$extensions": {
11947
+ "public": true,
11948
+ "defaultUnit": "rem",
11949
+ "mathExpression": true,
11950
+ "com.figma": {
11951
+ "scopes": [
11952
+ "FONT_SIZE"
11953
+ ],
11954
+ "exportAs": "variable",
11955
+ "codeSyntax": {
11956
+ "WEB": "--pds-typography-size-2xs"
11957
+ }
11958
+ }
11959
+ }
11960
+ }
11961
+ }
11962
+ }
11963
+ }
11964
+ },
11965
+ "compact-mobile-semantic": {
11966
+ "semantic": {
11967
+ "typography": {
11968
+ "size": {
11969
+ "default": {
11970
+ "value": "{typography.size.compact-mode.M}",
11971
+ "type": "fontSize",
11972
+ "$extensions": {
11973
+ "public": true,
11974
+ "resolveValue": true,
11975
+ "com.figma": {
11976
+ "scopes": [
11977
+ "FONT_SIZE"
11978
+ ],
11979
+ "exportAs": "variable",
11980
+ "codeSyntax": {
11981
+ "WEB": "--pds-typography-size-default"
11982
+ }
11983
+ }
11984
+ }
11985
+ },
11986
+ "input-label": {
11987
+ "value": "{typography.size.compact-mode.M}",
11988
+ "type": "fontSize",
11989
+ "$extensions": {
11990
+ "public": true,
11991
+ "resolveValue": true,
11992
+ "com.figma": {
11993
+ "scopes": [
11994
+ "FONT_SIZE"
11995
+ ],
11996
+ "exportAs": "variable",
11997
+ "codeSyntax": {
11998
+ "WEB": "--pds-typography-size-input-label"
11999
+ }
12000
+ }
12001
+ }
12002
+ }
12003
+ }
12004
+ }
12005
+ }
12006
+ },
12007
+ "compact-mobile-component": {
12008
+ "component": {
12009
+ "typography": {
12010
+ "size": {
12011
+ "code-block": {
12012
+ "value": 14.4,
12013
+ "type": "fontSize",
12014
+ "$extensions": {
12015
+ "public": true,
12016
+ "defaultUnit": "rem",
12017
+ "com.figma": {
12018
+ "scopes": [
12019
+ "FONT_SIZE"
12020
+ ],
12021
+ "exportAs": "variable",
12022
+ "codeSyntax": {
12023
+ "WEB": "--pds-typography-size-code-block"
12024
+ }
12025
+ }
12026
+ }
12027
+ }
12028
+ }
12029
+ }
12030
+ }
12031
+ },
12032
+ "expanded-mobile-primitive": {
12033
+ "primitive": {
12034
+ "typography": {
12035
+ "size": {
12036
+ "7XL": {
12037
+ "value": 127.603,
12038
+ "type": "fontSize",
12039
+ "$extensions": {
12040
+ "public": true,
12041
+ "defaultUnit": "rem",
12042
+ "mathExpression": true,
12043
+ "com.figma": {
12044
+ "scopes": [
12045
+ "FONT_SIZE"
12046
+ ],
12047
+ "exportAs": "variable",
12048
+ "codeSyntax": {
12049
+ "WEB": "--pds-typography-size-7xl"
12050
+ }
12051
+ }
12052
+ }
12053
+ },
12054
+ "6XL": {
12055
+ "value": 95.718,
12056
+ "type": "fontSize",
12057
+ "$extensions": {
12058
+ "public": true,
12059
+ "defaultUnit": "rem",
12060
+ "mathExpression": true,
12061
+ "com.figma": {
12062
+ "scopes": [
12063
+ "FONT_SIZE"
12064
+ ],
12065
+ "exportAs": "variable",
12066
+ "codeSyntax": {
12067
+ "WEB": "--pds-typography-size-6xl"
12068
+ }
12069
+ }
12070
+ }
12071
+ },
12072
+ "5XL": {
12073
+ "value": 71.808,
12074
+ "type": "fontSize",
12075
+ "$extensions": {
12076
+ "public": true,
12077
+ "defaultUnit": "rem",
12078
+ "mathExpression": true,
12079
+ "com.figma": {
12080
+ "scopes": [
12081
+ "FONT_SIZE"
12082
+ ],
12083
+ "exportAs": "variable",
12084
+ "codeSyntax": {
12085
+ "WEB": "--pds-typography-size-5xl"
12086
+ }
12087
+ }
12088
+ }
12089
+ },
12090
+ "4XL": {
12091
+ "value": 53.875,
12092
+ "type": "fontSize",
12093
+ "$extensions": {
12094
+ "public": true,
12095
+ "defaultUnit": "rem",
12096
+ "mathExpression": true,
12097
+ "com.figma": {
12098
+ "scopes": [
12099
+ "FONT_SIZE"
12100
+ ],
12101
+ "exportAs": "variable",
12102
+ "codeSyntax": {
12103
+ "WEB": "--pds-typography-size-4xl"
12104
+ }
12105
+ }
12106
+ }
12107
+ },
12108
+ "3XL": {
12109
+ "value": 40.41,
12110
+ "type": "fontSize",
12111
+ "$extensions": {
12112
+ "public": true,
12113
+ "defaultUnit": "rem",
12114
+ "mathExpression": true,
12115
+ "com.figma": {
12116
+ "scopes": [
12117
+ "FONT_SIZE"
12118
+ ],
12119
+ "exportAs": "variable",
12120
+ "codeSyntax": {
12121
+ "WEB": "--pds-typography-size-3xl"
12122
+ }
12123
+ }
12124
+ }
12125
+ },
12126
+ "2XL": {
12127
+ "value": 30.323,
12128
+ "type": "fontSize",
12129
+ "$extensions": {
12130
+ "public": true,
12131
+ "defaultUnit": "rem",
12132
+ "mathExpression": true,
12133
+ "com.figma": {
12134
+ "scopes": [
12135
+ "FONT_SIZE"
12136
+ ],
12137
+ "exportAs": "variable",
12138
+ "codeSyntax": {
12139
+ "WEB": "--pds-typography-size-2xl"
12140
+ }
12141
+ }
12142
+ }
12143
+ },
12144
+ "XL": {
12145
+ "value": 22.746,
12146
+ "type": "fontSize",
12147
+ "$extensions": {
12148
+ "public": true,
12149
+ "defaultUnit": "rem",
12150
+ "mathExpression": true,
12151
+ "com.figma": {
12152
+ "scopes": [
12153
+ "FONT_SIZE"
12154
+ ],
12155
+ "exportAs": "variable",
12156
+ "codeSyntax": {
12157
+ "WEB": "--pds-typography-size-xl"
12158
+ }
12159
+ }
12160
+ }
12161
+ },
12162
+ "L": {
12163
+ "value": 21.328,
12164
+ "type": "fontSize",
12165
+ "$extensions": {
12166
+ "public": true,
12167
+ "defaultUnit": "rem",
12168
+ "mathExpression": true,
12169
+ "com.figma": {
12170
+ "scopes": [
12171
+ "FONT_SIZE"
12172
+ ],
12173
+ "exportAs": "variable",
12174
+ "codeSyntax": {
12175
+ "WEB": "--pds-typography-size-l"
12176
+ }
12177
+ }
12178
+ }
12179
+ },
12180
+ "M": {
12181
+ "value": 16,
12182
+ "type": "fontSize",
12183
+ "$extensions": {
12184
+ "public": true,
12185
+ "defaultUnit": "rem",
12186
+ "mathExpression": true,
12187
+ "com.figma": {
12188
+ "scopes": [
12189
+ "FONT_SIZE"
12190
+ ],
12191
+ "exportAs": "variable",
12192
+ "codeSyntax": {
12193
+ "WEB": "--pds-typography-size-m"
12194
+ }
12195
+ }
12196
+ }
12197
+ },
12198
+ "S": {
12199
+ "value": 12,
12200
+ "type": "fontSize",
12201
+ "$extensions": {
12202
+ "public": true,
12203
+ "defaultUnit": "rem",
12204
+ "mathExpression": true,
12205
+ "com.figma": {
12206
+ "scopes": [
12207
+ "FONT_SIZE"
12208
+ ],
12209
+ "exportAs": "variable",
12210
+ "codeSyntax": {
12211
+ "WEB": "--pds-typography-size-s"
12212
+ }
12213
+ }
12214
+ }
12215
+ },
12216
+ "XS": {
12217
+ "value": 9.008,
12218
+ "type": "fontSize",
12219
+ "$extensions": {
12220
+ "public": true,
12221
+ "defaultUnit": "rem",
12222
+ "mathExpression": true,
12223
+ "com.figma": {
12224
+ "scopes": [
12225
+ "FONT_SIZE"
12226
+ ],
12227
+ "exportAs": "variable",
12228
+ "codeSyntax": {
12229
+ "WEB": "--pds-typography-size-xs"
12230
+ }
12231
+ }
12232
+ }
12233
+ },
12234
+ "2XS": {
12235
+ "value": 6.752,
12236
+ "type": "fontSize",
12237
+ "$extensions": {
12238
+ "public": true,
12239
+ "defaultUnit": "rem",
12240
+ "mathExpression": true,
12241
+ "com.figma": {
12242
+ "scopes": [
12243
+ "FONT_SIZE"
12244
+ ],
12245
+ "exportAs": "variable",
12246
+ "codeSyntax": {
12247
+ "WEB": "--pds-typography-size-2xs"
12248
+ }
12249
+ }
12250
+ }
12251
+ }
12252
+ }
12253
+ }
12254
+ }
12255
+ },
12256
+ "expanded-mobile-semantic": {
12257
+ "semantic": {
12258
+ "typography": {
12259
+ "size": {
12260
+ "default": {
12261
+ "value": "{typography.size.expanded-mode.M}",
12262
+ "type": "fontSize",
12263
+ "$extensions": {
12264
+ "public": true,
12265
+ "resolveValue": true,
12266
+ "com.figma": {
12267
+ "scopes": [
12268
+ "FONT_SIZE"
12269
+ ],
12270
+ "exportAs": "variable",
12271
+ "codeSyntax": {
12272
+ "WEB": "--pds-typography-size-default"
12273
+ }
12274
+ }
12275
+ }
12276
+ },
12277
+ "input-label": {
12278
+ "value": "{typography.size.expanded-mode.M}",
12279
+ "type": "fontSize",
12280
+ "$extensions": {
12281
+ "public": true,
12282
+ "resolveValue": true,
12283
+ "com.figma": {
12284
+ "scopes": [
12285
+ "FONT_SIZE"
12286
+ ],
12287
+ "exportAs": "variable",
12288
+ "codeSyntax": {
12289
+ "WEB": "--pds-typography-size-input-label"
12290
+ }
12291
+ }
12292
+ }
12293
+ }
12294
+ }
12295
+ }
12296
+ }
12297
+ },
12298
+ "expanded-mobile-component": {
12299
+ "component": {
12300
+ "typography": {
12301
+ "size": {
12302
+ "code-block": {
12303
+ "value": 14.4,
12304
+ "type": "fontSize",
12305
+ "$extensions": {
12306
+ "public": true,
12307
+ "defaultUnit": "rem",
12308
+ "com.figma": {
12309
+ "scopes": [
12310
+ "FONT_SIZE"
12311
+ ],
12312
+ "exportAs": "variable",
12313
+ "codeSyntax": {
12314
+ "WEB": "--pds-typography-size-code-block"
12315
+ }
12316
+ }
12317
+ }
12318
+ }
12319
+ }
12320
+ }
12321
+ }
12322
+ },
11741
12323
  "$themes": [
11742
12324
  {
11743
12325
  "id": "light-compact",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-design-tokens",
3
3
  "description": "Design Tokens for the Pantheon Design System",
4
- "version": "2.0.0-alpha.7",
4
+ "version": "2.0.0-alpha.9",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "registry": "https://registry.npmjs.org/",