polaris_tokens 2.15.0 → 2.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/dist-modern/palette/base.dark.android.xml +4 -1
  4. data/dist-modern/palette/base.dark.figma.json +637 -1
  5. data/dist-modern/palette/base.dark.ios.json +1092 -1
  6. data/dist-modern/palette/base.dark.json +5 -2
  7. data/dist-modern/palette/base.dark.polaris.custom-properties.css +129 -0
  8. data/dist-modern/palette/base.light.android.xml +3 -0
  9. data/dist-modern/palette/base.light.figma.json +637 -1
  10. data/dist-modern/palette/base.light.ios.json +1042 -1
  11. data/dist-modern/palette/base.light.json +4 -1
  12. data/dist-modern/palette/base.light.polaris.custom-properties.css +129 -0
  13. data/dist-modern/palette/mfp-ui.dark.android.xml +130 -0
  14. data/dist-modern/palette/mfp-ui.dark.figma.json +637 -0
  15. data/dist-modern/palette/mfp-ui.dark.ios.json +1132 -0
  16. data/dist-modern/palette/mfp-ui.dark.json +129 -0
  17. data/dist-modern/palette/mfp-ui.dark.polaris.custom-properties.css +129 -0
  18. data/dist-modern/palette/mfp-ui.light.android.xml +130 -0
  19. data/dist-modern/palette/mfp-ui.light.figma.json +637 -0
  20. data/dist-modern/palette/mfp-ui.light.ios.json +1072 -0
  21. data/dist-modern/palette/mfp-ui.light.json +129 -0
  22. data/dist-modern/palette/mfp-ui.light.polaris.custom-properties.css +129 -0
  23. data/dist-modern/theme/base.json +1 -1
  24. data/dist-modern/theme/mfp-ui.json +12 -0
  25. data/dist/color-filters.color-map.scss +0 -8
  26. data/dist/color-filters.map.scss +8 -0
  27. data/dist/index.common.js +1 -1
  28. data/dist/index.custom-properties.css +2 -2
  29. data/dist/index.d.ts +1 -1
  30. data/dist/index.json +1 -1
  31. data/dist/index.map.scss +1 -1
  32. data/dist/index.raw.json +2 -2
  33. data/dist/index.scss +2 -2
  34. data/dist/typography.common.js +1 -1
  35. data/dist/typography.custom-properties.css +2 -2
  36. data/dist/typography.json +1 -1
  37. data/dist/typography.map.scss +1 -1
  38. data/dist/typography.raw.json +2 -2
  39. data/dist/typography.scss +2 -2
  40. data/lib/polaris_tokens/rails/engine.rb +1 -0
  41. data/package.json +26 -47
  42. metadata +15 -2
@@ -0,0 +1,129 @@
1
+ {
2
+ "background": "rgb(246, 246, 247)",
3
+ "backgroundHovered": "rgb(241, 242, 243)",
4
+ "backgroundPressed": "rgb(237, 238, 239)",
5
+ "backgroundSelected": "rgb(237, 238, 239)",
6
+ "surface": "rgb(255, 255, 255)",
7
+ "surfaceNeutral": "rgb(228, 229, 231)",
8
+ "surfaceNeutralHovered": "rgb(219, 221, 223)",
9
+ "surfaceNeutralPressed": "rgb(201, 204, 208)",
10
+ "surfaceNeutralDisabled": "rgb(241, 242, 243)",
11
+ "surfaceNeutralSubdued": "rgb(246, 246, 247)",
12
+ "surfaceSubdued": "rgb(250, 251, 251)",
13
+ "surfaceDisabled": "rgb(250, 251, 251)",
14
+ "surfaceHovered": "rgb(246, 246, 247)",
15
+ "surfacePressed": "rgb(241, 242, 243)",
16
+ "surfaceDepressed": "rgb(237, 238, 239)",
17
+ "backdrop": "rgba(0, 0, 0, 0.5)",
18
+ "overlay": "rgba(255, 255, 255, 0.5)",
19
+ "shadowFromDimLight": "rgba(0, 0, 0, 0.2)",
20
+ "shadowFromAmbientLight": "rgba(23, 24, 24, 0.05)",
21
+ "shadowFromDirectLight": "rgba(0, 0, 0, 0.15)",
22
+ "hintFromDirectLight": "rgba(0, 0, 0, 0.15)",
23
+ "onSurfaceBackground": "rgb(241, 242, 243)",
24
+ "border": "rgb(140, 145, 150)",
25
+ "borderNeutralSubdued": "rgb(186, 191, 195)",
26
+ "borderHovered": "rgb(153, 158, 164)",
27
+ "borderDisabled": "rgb(210, 213, 216)",
28
+ "borderSubdued": "rgb(201, 204, 207)",
29
+ "borderDepressed": "rgb(87, 89, 89)",
30
+ "borderShadow": "rgb(174, 180, 185)",
31
+ "borderShadowSubdued": "rgb(186, 191, 196)",
32
+ "divider": "rgb(225, 227, 229)",
33
+ "icon": "rgb(92, 95, 98)",
34
+ "iconHovered": "rgb(26, 28, 29)",
35
+ "iconPressed": "rgb(68, 71, 74)",
36
+ "iconDisabled": "rgb(186, 190, 195)",
37
+ "iconSubdued": "rgb(140, 145, 150)",
38
+ "text": "rgb(32, 34, 35)",
39
+ "textDisabled": "rgb(140, 145, 150)",
40
+ "textSubdued": "rgb(109, 113, 117)",
41
+ "interactive": "rgb(44, 110, 203)",
42
+ "interactiveDisabled": "rgb(189, 193, 204)",
43
+ "interactiveHovered": "rgb(31, 81, 153)",
44
+ "interactivePressed": "rgb(16, 50, 98)",
45
+ "focused": "rgb(69, 143, 255)",
46
+ "surfaceSelected": "rgb(242, 247, 254)",
47
+ "surfaceSelectedHovered": "rgb(237, 244, 254)",
48
+ "surfaceSelectedPressed": "rgb(229, 239, 253)",
49
+ "iconOnInteractive": "rgb(255, 255, 255)",
50
+ "textOnInteractive": "rgb(255, 255, 255)",
51
+ "actionSecondary": "rgb(255, 255, 255)",
52
+ "actionSecondaryDisabled": "rgb(255, 255, 255)",
53
+ "actionSecondaryHovered": "rgb(246, 246, 247)",
54
+ "actionSecondaryPressed": "rgb(241, 242, 243)",
55
+ "actionSecondaryDepressed": "rgb(109, 113, 117)",
56
+ "actionPrimary": "rgb(46, 113, 191)",
57
+ "actionPrimaryDisabled": "rgb(241, 241, 241)",
58
+ "actionPrimaryHovered": "rgb(39, 98, 166)",
59
+ "actionPrimaryPressed": "rgb(32, 83, 143)",
60
+ "actionPrimaryDepressed": "rgb(18, 53, 95)",
61
+ "iconOnPrimary": "rgb(255, 255, 255)",
62
+ "textOnPrimary": "rgb(255, 255, 255)",
63
+ "textPrimary": "rgb(44, 109, 185)",
64
+ "textPrimaryHovered": "rgb(38, 95, 162)",
65
+ "textPrimaryPressed": "rgb(31, 81, 139)",
66
+ "surfacePrimarySelected": "rgb(246, 246, 248)",
67
+ "surfacePrimarySelectedHovered": "rgb(196, 201, 214)",
68
+ "surfacePrimarySelectedPressed": "rgb(175, 182, 199)",
69
+ "borderCritical": "rgb(253, 87, 73)",
70
+ "borderCriticalSubdued": "rgb(224, 179, 178)",
71
+ "borderCriticalDisabled": "rgb(255, 167, 163)",
72
+ "iconCritical": "rgb(215, 44, 13)",
73
+ "surfaceCritical": "rgb(254, 211, 209)",
74
+ "surfaceCriticalSubdued": "rgb(255, 244, 244)",
75
+ "surfaceCriticalSubduedHovered": "rgb(255, 240, 240)",
76
+ "surfaceCriticalSubduedPressed": "rgb(255, 233, 232)",
77
+ "surfaceCriticalSubduedDepressed": "rgb(254, 188, 185)",
78
+ "textCritical": "rgb(215, 44, 13)",
79
+ "actionCritical": "rgb(216, 44, 13)",
80
+ "actionCriticalDisabled": "rgb(241, 241, 241)",
81
+ "actionCriticalHovered": "rgb(188, 34, 0)",
82
+ "actionCriticalPressed": "rgb(162, 27, 0)",
83
+ "actionCriticalDepressed": "rgb(108, 15, 0)",
84
+ "iconOnCritical": "rgb(255, 255, 255)",
85
+ "textOnCritical": "rgb(255, 255, 255)",
86
+ "interactiveCritical": "rgb(216, 44, 13)",
87
+ "interactiveCriticalDisabled": "rgb(253, 147, 141)",
88
+ "interactiveCriticalHovered": "rgb(205, 41, 12)",
89
+ "interactiveCriticalPressed": "rgb(103, 15, 3)",
90
+ "borderWarning": "rgb(185, 137, 0)",
91
+ "borderWarningSubdued": "rgb(225, 184, 120)",
92
+ "iconWarning": "rgb(185, 137, 0)",
93
+ "surfaceWarning": "rgb(255, 215, 157)",
94
+ "surfaceWarningSubdued": "rgb(255, 245, 234)",
95
+ "surfaceWarningSubduedHovered": "rgb(255, 242, 226)",
96
+ "surfaceWarningSubduedPressed": "rgb(255, 235, 211)",
97
+ "textWarning": "rgb(145, 106, 0)",
98
+ "borderHighlight": "rgb(68, 157, 167)",
99
+ "borderHighlightSubdued": "rgb(152, 198, 205)",
100
+ "iconHighlight": "rgb(0, 160, 172)",
101
+ "surfaceHighlight": "rgb(164, 232, 242)",
102
+ "surfaceHighlightSubdued": "rgb(235, 249, 252)",
103
+ "surfaceHighlightSubduedHovered": "rgb(228, 247, 250)",
104
+ "surfaceHighlightSubduedPressed": "rgb(213, 243, 248)",
105
+ "textHighlight": "rgb(52, 124, 132)",
106
+ "borderSuccess": "rgb(0, 164, 124)",
107
+ "borderSuccessSubdued": "rgb(149, 201, 180)",
108
+ "iconSuccess": "rgb(0, 127, 95)",
109
+ "surfaceSuccess": "rgb(174, 233, 209)",
110
+ "surfaceSuccessSubdued": "rgb(241, 248, 245)",
111
+ "surfaceSuccessSubduedHovered": "rgb(236, 246, 241)",
112
+ "surfaceSuccessSubduedPressed": "rgb(226, 241, 234)",
113
+ "textSuccess": "rgb(0, 128, 96)",
114
+ "decorativeOneIcon": "rgb(126, 87, 0)",
115
+ "decorativeOneSurface": "rgb(255, 201, 107)",
116
+ "decorativeOneText": "rgb(61, 40, 0)",
117
+ "decorativeTwoIcon": "rgb(175, 41, 78)",
118
+ "decorativeTwoSurface": "rgb(255, 196, 176)",
119
+ "decorativeTwoText": "rgb(73, 11, 28)",
120
+ "decorativeThreeIcon": "rgb(0, 109, 65)",
121
+ "decorativeThreeSurface": "rgb(146, 230, 181)",
122
+ "decorativeThreeText": "rgb(0, 47, 25)",
123
+ "decorativeFourIcon": "rgb(0, 106, 104)",
124
+ "decorativeFourSurface": "rgb(145, 224, 214)",
125
+ "decorativeFourText": "rgb(0, 45, 45)",
126
+ "decorativeFiveIcon": "rgb(174, 43, 76)",
127
+ "decorativeFiveSurface": "rgb(253, 201, 208)",
128
+ "decorativeFiveText": "rgb(79, 14, 31)"
129
+ }
@@ -0,0 +1,129 @@
1
+ :root {
2
+ --p-background: rgb(246, 246, 247);
3
+ --p-background-hovered: rgb(241, 242, 243);
4
+ --p-background-pressed: rgb(237, 238, 239);
5
+ --p-background-selected: rgb(237, 238, 239);
6
+ --p-surface: rgb(255, 255, 255);
7
+ --p-surface-neutral: rgb(228, 229, 231);
8
+ --p-surface-neutral-hovered: rgb(219, 221, 223);
9
+ --p-surface-neutral-pressed: rgb(201, 204, 208);
10
+ --p-surface-neutral-disabled: rgb(241, 242, 243);
11
+ --p-surface-neutral-subdued: rgb(246, 246, 247);
12
+ --p-surface-subdued: rgb(250, 251, 251);
13
+ --p-surface-disabled: rgb(250, 251, 251);
14
+ --p-surface-hovered: rgb(246, 246, 247);
15
+ --p-surface-pressed: rgb(241, 242, 243);
16
+ --p-surface-depressed: rgb(237, 238, 239);
17
+ --p-backdrop: rgba(0, 0, 0, 0.5);
18
+ --p-overlay: rgba(255, 255, 255, 0.5);
19
+ --p-shadow-from-dim-light: rgba(0, 0, 0, 0.2);
20
+ --p-shadow-from-ambient-light: rgba(23, 24, 24, 0.05);
21
+ --p-shadow-from-direct-light: rgba(0, 0, 0, 0.15);
22
+ --p-hint-from-direct-light: rgba(0, 0, 0, 0.15);
23
+ --p-on-surface-background: rgb(241, 242, 243);
24
+ --p-border: rgb(140, 145, 150);
25
+ --p-border-neutral-subdued: rgb(186, 191, 195);
26
+ --p-border-hovered: rgb(153, 158, 164);
27
+ --p-border-disabled: rgb(210, 213, 216);
28
+ --p-border-subdued: rgb(201, 204, 207);
29
+ --p-border-depressed: rgb(87, 89, 89);
30
+ --p-border-shadow: rgb(174, 180, 185);
31
+ --p-border-shadow-subdued: rgb(186, 191, 196);
32
+ --p-divider: rgb(225, 227, 229);
33
+ --p-icon: rgb(92, 95, 98);
34
+ --p-icon-hovered: rgb(26, 28, 29);
35
+ --p-icon-pressed: rgb(68, 71, 74);
36
+ --p-icon-disabled: rgb(186, 190, 195);
37
+ --p-icon-subdued: rgb(140, 145, 150);
38
+ --p-text: rgb(32, 34, 35);
39
+ --p-text-disabled: rgb(140, 145, 150);
40
+ --p-text-subdued: rgb(109, 113, 117);
41
+ --p-interactive: rgb(44, 110, 203);
42
+ --p-interactive-disabled: rgb(189, 193, 204);
43
+ --p-interactive-hovered: rgb(31, 81, 153);
44
+ --p-interactive-pressed: rgb(16, 50, 98);
45
+ --p-focused: rgb(69, 143, 255);
46
+ --p-surface-selected: rgb(242, 247, 254);
47
+ --p-surface-selected-hovered: rgb(237, 244, 254);
48
+ --p-surface-selected-pressed: rgb(229, 239, 253);
49
+ --p-icon-on-interactive: rgb(255, 255, 255);
50
+ --p-text-on-interactive: rgb(255, 255, 255);
51
+ --p-action-secondary: rgb(255, 255, 255);
52
+ --p-action-secondary-disabled: rgb(255, 255, 255);
53
+ --p-action-secondary-hovered: rgb(246, 246, 247);
54
+ --p-action-secondary-pressed: rgb(241, 242, 243);
55
+ --p-action-secondary-depressed: rgb(109, 113, 117);
56
+ --p-action-primary: rgb(46, 113, 191);
57
+ --p-action-primary-disabled: rgb(241, 241, 241);
58
+ --p-action-primary-hovered: rgb(39, 98, 166);
59
+ --p-action-primary-pressed: rgb(32, 83, 143);
60
+ --p-action-primary-depressed: rgb(18, 53, 95);
61
+ --p-icon-on-primary: rgb(255, 255, 255);
62
+ --p-text-on-primary: rgb(255, 255, 255);
63
+ --p-text-primary: rgb(44, 109, 185);
64
+ --p-text-primary-hovered: rgb(38, 95, 162);
65
+ --p-text-primary-pressed: rgb(31, 81, 139);
66
+ --p-surface-primary-selected: rgb(246, 246, 248);
67
+ --p-surface-primary-selected-hovered: rgb(196, 201, 214);
68
+ --p-surface-primary-selected-pressed: rgb(175, 182, 199);
69
+ --p-border-critical: rgb(253, 87, 73);
70
+ --p-border-critical-subdued: rgb(224, 179, 178);
71
+ --p-border-critical-disabled: rgb(255, 167, 163);
72
+ --p-icon-critical: rgb(215, 44, 13);
73
+ --p-surface-critical: rgb(254, 211, 209);
74
+ --p-surface-critical-subdued: rgb(255, 244, 244);
75
+ --p-surface-critical-subdued-hovered: rgb(255, 240, 240);
76
+ --p-surface-critical-subdued-pressed: rgb(255, 233, 232);
77
+ --p-surface-critical-subdued-depressed: rgb(254, 188, 185);
78
+ --p-text-critical: rgb(215, 44, 13);
79
+ --p-action-critical: rgb(216, 44, 13);
80
+ --p-action-critical-disabled: rgb(241, 241, 241);
81
+ --p-action-critical-hovered: rgb(188, 34, 0);
82
+ --p-action-critical-pressed: rgb(162, 27, 0);
83
+ --p-action-critical-depressed: rgb(108, 15, 0);
84
+ --p-icon-on-critical: rgb(255, 255, 255);
85
+ --p-text-on-critical: rgb(255, 255, 255);
86
+ --p-interactive-critical: rgb(216, 44, 13);
87
+ --p-interactive-critical-disabled: rgb(253, 147, 141);
88
+ --p-interactive-critical-hovered: rgb(205, 41, 12);
89
+ --p-interactive-critical-pressed: rgb(103, 15, 3);
90
+ --p-border-warning: rgb(185, 137, 0);
91
+ --p-border-warning-subdued: rgb(225, 184, 120);
92
+ --p-icon-warning: rgb(185, 137, 0);
93
+ --p-surface-warning: rgb(255, 215, 157);
94
+ --p-surface-warning-subdued: rgb(255, 245, 234);
95
+ --p-surface-warning-subdued-hovered: rgb(255, 242, 226);
96
+ --p-surface-warning-subdued-pressed: rgb(255, 235, 211);
97
+ --p-text-warning: rgb(145, 106, 0);
98
+ --p-border-highlight: rgb(68, 157, 167);
99
+ --p-border-highlight-subdued: rgb(152, 198, 205);
100
+ --p-icon-highlight: rgb(0, 160, 172);
101
+ --p-surface-highlight: rgb(164, 232, 242);
102
+ --p-surface-highlight-subdued: rgb(235, 249, 252);
103
+ --p-surface-highlight-subdued-hovered: rgb(228, 247, 250);
104
+ --p-surface-highlight-subdued-pressed: rgb(213, 243, 248);
105
+ --p-text-highlight: rgb(52, 124, 132);
106
+ --p-border-success: rgb(0, 164, 124);
107
+ --p-border-success-subdued: rgb(149, 201, 180);
108
+ --p-icon-success: rgb(0, 127, 95);
109
+ --p-surface-success: rgb(174, 233, 209);
110
+ --p-surface-success-subdued: rgb(241, 248, 245);
111
+ --p-surface-success-subdued-hovered: rgb(236, 246, 241);
112
+ --p-surface-success-subdued-pressed: rgb(226, 241, 234);
113
+ --p-text-success: rgb(0, 128, 96);
114
+ --p-decorative-one-icon: rgb(126, 87, 0);
115
+ --p-decorative-one-surface: rgb(255, 201, 107);
116
+ --p-decorative-one-text: rgb(61, 40, 0);
117
+ --p-decorative-two-icon: rgb(175, 41, 78);
118
+ --p-decorative-two-surface: rgb(255, 196, 176);
119
+ --p-decorative-two-text: rgb(73, 11, 28);
120
+ --p-decorative-three-icon: rgb(0, 109, 65);
121
+ --p-decorative-three-surface: rgb(146, 230, 181);
122
+ --p-decorative-three-text: rgb(0, 47, 25);
123
+ --p-decorative-four-icon: rgb(0, 106, 104);
124
+ --p-decorative-four-surface: rgb(145, 224, 214);
125
+ --p-decorative-four-text: rgb(0, 45, 45);
126
+ --p-decorative-five-icon: rgb(174, 43, 76);
127
+ --p-decorative-five-surface: rgb(253, 201, 208);
128
+ --p-decorative-five-text: rgb(79, 14, 31);
129
+ }
@@ -9,4 +9,4 @@
9
9
  "highlight": "#5bcdda",
10
10
  "success": "#008060",
11
11
  "decorative": "#ffc96b"
12
- }
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "surface": "#111213",
3
+ "onSurface": "#111213",
4
+ "interactive": "#2e72d2",
5
+ "secondary": "#111213",
6
+ "primary": "#2864aa",
7
+ "critical": "#d82c0d",
8
+ "warning": "#ffc453",
9
+ "highlight": "#5bcdda",
10
+ "success": "#008060",
11
+ "decorative": "#ffc96b"
12
+ }
@@ -137,12 +137,4 @@ $polaris-color-filters: (
137
137
  'white': (
138
138
  'base': brightness(0) saturate(100%) invert(100%),
139
139
  ),
140
- 'icon': (
141
- 'base': brightness(0) saturate(100%) invert(36%) sepia(13%) saturate(137%)
142
- hue-rotate(169deg) brightness(95%) contrast(87%),
143
- ),
144
- 'action': (
145
- 'base': brightness(0) saturate(100%) invert(20%) sepia(59%) saturate(5557%)
146
- hue-rotate(162deg) brightness(95%) contrast(101%),
147
- ),
148
140
  );
@@ -229,4 +229,12 @@ $polaris-color-filters-map: (
229
229
  'color-white': (
230
230
  brightness(0) saturate(100%) invert(100%),
231
231
  ),
232
+ 'icon': (
233
+ 'base': brightness(0) saturate(100%) invert(36%) sepia(13%) saturate(137%)
234
+ hue-rotate(169deg) brightness(95%) contrast(87%),
235
+ ),
236
+ 'action': (
237
+ 'base': brightness(0) saturate(100%) invert(20%) sepia(59%) saturate(5557%)
238
+ hue-rotate(162deg) brightness(95%) contrast(101%),
239
+ ),
232
240
  );
data/dist/index.common.js CHANGED
@@ -71,6 +71,6 @@ module.exports = {
71
71
  spacingLoose: '20px',
72
72
  spacingExtraLoose: '32px',
73
73
  fontStackBase:
74
- "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif",
74
+ "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif",
75
75
  fontStackMonospace: "Monaco, Consolas, 'Lucida Console', monospace",
76
76
  };
@@ -70,7 +70,7 @@
70
70
  --spacing-base: 16px;
71
71
  --spacing-loose: 20px;
72
72
  --spacing-extra-loose: 32px;
73
- --font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco', Roboto,
74
- 'Segoe UI', 'Helvetica Neue', sans-serif;
73
+ --font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco',
74
+ 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
75
75
  --font-stack-monospace: Monaco, Consolas, 'Lucida Console', monospace;
76
76
  }
data/dist/index.d.ts CHANGED
@@ -63,7 +63,7 @@ declare interface Tokens {
63
63
  durationSlow: 300;
64
64
  durationSlower: 400;
65
65
  durationSlowest: 500;
66
- fontStackBase: "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif";
66
+ fontStackBase: "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif";
67
67
  fontStackMonospace: "Monaco, Consolas, 'Lucida Console', monospace";
68
68
  spacingBase: "16px";
69
69
  spacingBaseTight: "12px";
data/dist/index.json CHANGED
@@ -70,6 +70,6 @@
70
70
  "spacing-base": "16px",
71
71
  "spacing-loose": "20px",
72
72
  "spacing-extra-loose": "32px",
73
- "font-stack-base": "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif",
73
+ "font-stack-base": "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif",
74
74
  "font-stack-monospace": "Monaco, Consolas, 'Lucida Console', monospace"
75
75
  }
data/dist/index.map.scss CHANGED
@@ -216,8 +216,8 @@ $polaris-index-map: (
216
216
  -apple-system,
217
217
  BlinkMacSystemFont,
218
218
  'San Francisco',
219
- Roboto,
220
219
  'Segoe UI',
220
+ Roboto,
221
221
  'Helvetica Neue',
222
222
  sans-serif,
223
223
  ),
data/dist/index.raw.json CHANGED
@@ -677,8 +677,8 @@
677
677
  "type": "font-family",
678
678
  "category": "font-family",
679
679
  "name": "font-stack-base",
680
- "value": "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif",
681
- "originalValue": "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif"
680
+ "value": "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif",
681
+ "originalValue": "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif"
682
682
  },
683
683
  "font-stack-monospace": {
684
684
  "type": "font-family",
data/dist/index.scss CHANGED
@@ -69,6 +69,6 @@ $spacing-base-tight: 12px;
69
69
  $spacing-base: 16px;
70
70
  $spacing-loose: 20px;
71
71
  $spacing-extra-loose: 32px;
72
- $font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco', Roboto,
73
- 'Segoe UI', 'Helvetica Neue', sans-serif;
72
+ $font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI',
73
+ Roboto, 'Helvetica Neue', sans-serif;
74
74
  $font-stack-monospace: Monaco, Consolas, 'Lucida Console', monospace;
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
2
  fontStackBase:
3
- "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif",
3
+ "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif",
4
4
  fontStackMonospace: "Monaco, Consolas, 'Lucida Console', monospace",
5
5
  };
@@ -1,5 +1,5 @@
1
1
  :root {
2
- --font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco', Roboto,
3
- 'Segoe UI', 'Helvetica Neue', sans-serif;
2
+ --font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco',
3
+ 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
4
4
  --font-stack-monospace: Monaco, Consolas, 'Lucida Console', monospace;
5
5
  }
data/dist/typography.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "font-stack-base": "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif",
2
+ "font-stack-base": "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif",
3
3
  "font-stack-monospace": "Monaco, Consolas, 'Lucida Console', monospace"
4
4
  }
@@ -3,8 +3,8 @@ $polaris-typography-map: (
3
3
  -apple-system,
4
4
  BlinkMacSystemFont,
5
5
  'San Francisco',
6
- Roboto,
7
6
  'Segoe UI',
7
+ Roboto,
8
8
  'Helvetica Neue',
9
9
  sans-serif,
10
10
  ),
@@ -5,8 +5,8 @@
5
5
  "type": "font-family",
6
6
  "category": "font-family",
7
7
  "name": "font-stack-base",
8
- "value": "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif",
9
- "originalValue": "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif"
8
+ "value": "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif",
9
+ "originalValue": "-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif"
10
10
  },
11
11
  "font-stack-monospace": {
12
12
  "type": "font-family",
data/dist/typography.scss CHANGED
@@ -1,3 +1,3 @@
1
- $font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco', Roboto,
2
- 'Segoe UI', 'Helvetica Neue', sans-serif;
1
+ $font-stack-base: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI',
2
+ Roboto, 'Helvetica Neue', sans-serif;
3
3
  $font-stack-monospace: Monaco, Consolas, 'Lucida Console', monospace;
@@ -3,6 +3,7 @@ module PolarisTokens
3
3
  class Engine < ::Rails::Engine
4
4
  initializer 'polaris.tokens' do |app|
5
5
  config.assets.paths << PolarisTokens.root.join('dist')
6
+ config.assets.paths << PolarisTokens.root.join('dist-modern')
6
7
  end
7
8
  end
8
9
  end