smbls 0.14.7 → 0.14.9
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/Link.js +0 -1
- package/src/atoms/Media.js +3 -1
package/package.json
CHANGED
package/src/Link.js
CHANGED
|
@@ -11,7 +11,6 @@ export const Link = {
|
|
|
11
11
|
fontWeight: 'bold',
|
|
12
12
|
textDecoration: 'none',
|
|
13
13
|
color: 'currentColor'
|
|
14
|
-
// style: { '&::-webkit-any-link': { color: 'currentColor' } }
|
|
15
14
|
},
|
|
16
15
|
attr: {
|
|
17
16
|
href: element => exec(element.props.href, element) || exec(element.props, element).href,
|
package/src/atoms/Media.js
CHANGED
|
@@ -131,7 +131,9 @@ export const initUpdate = element => {
|
|
|
131
131
|
for (const key in props) {
|
|
132
132
|
const setter = keySetters[key.slice(0, 1)]
|
|
133
133
|
if (key === 'theme') {
|
|
134
|
-
props.update({
|
|
134
|
+
props.update({
|
|
135
|
+
themeModifier: `@${globalTheme}`
|
|
136
|
+
}, { preventRecursive: true, ignoreInitUpdate: true })
|
|
135
137
|
} else if (key === 'true') applyTrueProps(props[key], CLASS_NAMES, element)
|
|
136
138
|
|
|
137
139
|
if (setter) setter(key, props[key], CLASS_NAMES, element)
|