@tamagui/theme-base 1.0.1-beta.74 → 1.0.1-beta.77

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/src/themes.tsx CHANGED
@@ -153,18 +153,23 @@ const themeCreator = (
153
153
  borderColorHover: null as any as string | Variable,
154
154
  borderColorPress: null as any as string | Variable,
155
155
  borderColorFocus: null as any as string | Variable,
156
- step1: backgrounds[0],
157
- step2: backgrounds[1],
158
- step3: backgrounds[2],
159
- step4: backgrounds[3],
160
- step5: backgrounds[4],
161
- step6: backgrounds[5],
162
- step7: backgrounds[6],
163
- step8: backgrounds[7],
164
- step9: backgrounds[8],
165
- step10: backgrounds[9],
166
- step11: backgrounds[10],
167
- step12: backgrounds[11],
156
+ }
157
+
158
+ if (process.env.ENABLE_STEPS) {
159
+ Object.assign(theme, {
160
+ step1: backgrounds[0],
161
+ step2: backgrounds[1],
162
+ step3: backgrounds[2],
163
+ step4: backgrounds[3],
164
+ step5: backgrounds[4],
165
+ step6: backgrounds[5],
166
+ step7: backgrounds[6],
167
+ step8: backgrounds[7],
168
+ step9: backgrounds[8],
169
+ step10: backgrounds[9],
170
+ step11: backgrounds[10],
171
+ step12: backgrounds[11],
172
+ })
168
173
  }
169
174
 
170
175
  if (isBase) {
File without changes
File without changes
package/types/index.d.ts CHANGED
File without changes
File without changes