@tamagui/core 1.109.6 → 1.109.7
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/dist/native.js +1 -1
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +1 -1
- package/dist/test.native.js.map +1 -1
- package/package.json +6 -6
package/dist/native.js
CHANGED
|
@@ -7133,7 +7133,7 @@ var require_getVariantExtras_native = __commonJS({
|
|
|
7133
7133
|
return (0, import_createVariable.getVariableValue)(styleState.fontFamily || styleState.curProps.fontFamily) || props.fontFamily || (0, import_createVariable.getVariableValue)(styleState.conf.defaultFont);
|
|
7134
7134
|
},
|
|
7135
7135
|
get font() {
|
|
7136
|
-
return fonts[this.fontFamily] || (props.fontFamily
|
|
7136
|
+
return fonts[this.fontFamily] || (!props.fontFamily || props.fontFamily[0] === "$" ? fonts[styleState.conf.defaultFont] : void 0);
|
|
7137
7137
|
},
|
|
7138
7138
|
// TODO do this in splitstlye
|
|
7139
7139
|
// we avoid passing in default props for media queries because that would confuse things like SizableText.size:
|