@gem-sdk/styles 22.0.0-staging.46 → 23.0.0-dev.3
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/package.json +1 -1
- package/src/preset.js +9 -0
package/package.json
CHANGED
package/src/preset.js
CHANGED
|
@@ -47,6 +47,9 @@ const preset = {
|
|
|
47
47
|
'g-body': ['var(--g-font-body)', ...defaultTheme.fontFamily.serif],
|
|
48
48
|
'g-heading': ['var(--g-font-heading)', ...defaultTheme.fontFamily.serif],
|
|
49
49
|
'g-code': ['var(--g-font-code)', ...defaultTheme.fontFamily.serif],
|
|
50
|
+
// Editor chrome rendered inside the themed document, so it must not inherit the shop font.
|
|
51
|
+
// Matches the stack the other in-iframe editor UI uses in css/builds/builder.css.
|
|
52
|
+
'g-ui': ['Inter', 'sans-serif', 'ui-sans-serif', 'system-ui'],
|
|
50
53
|
},
|
|
51
54
|
keyframes: {
|
|
52
55
|
wiggle: {
|
|
@@ -157,6 +160,12 @@ const preset = {
|
|
|
157
160
|
warning: 'var(--g-c-warning)',
|
|
158
161
|
info: 'var(--g-c-info)',
|
|
159
162
|
},
|
|
163
|
+
loading: {
|
|
164
|
+
bar: '#476DF2',
|
|
165
|
+
track: '#E1E1E1',
|
|
166
|
+
frame: '#3C67FF',
|
|
167
|
+
label: '#9E9E9E',
|
|
168
|
+
},
|
|
160
169
|
},
|
|
161
170
|
zIndex: {
|
|
162
171
|
1: 1,
|