@gem-sdk/styles 23.0.0-dev.2 → 23.0.0-dev.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/preset.js +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/styles",
3
- "version": "23.0.0-dev.2",
3
+ "version": "23.0.0-dev.4",
4
4
  "description": "Largely classless, blazing fast and super light-weight. Bonsai, a base CSS framework for modern browsers",
5
5
  "license": "MIT",
6
6
  "main": "src/index.js",
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,