-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@morfeo/core - @morfeo/web | hook into resolveProperty and theme.set #816
Comments
mauroerta
changed the title
@morfeo/core - @morfeo/web | hook into resolveProperty and theme.set
[MRF-28] @morfeo/core - @morfeo/web | hook into resolveProperty and theme.set
Sep 12, 2023
mauroerta
changed the title
[MRF-28] @morfeo/core - @morfeo/web | hook into resolveProperty and theme.set
@morfeo/core - @morfeo/web | hook into resolveProperty and theme.set
Sep 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@morfeo/core
Remove from
@morfeo/specs
and@morfeo/core
any reference to responsive design since it is specific to web development.In order to do it we have to hook into the process of resolution of the properties, for example:
A style like the following is only allowed if
@morfeo/web
is imported:But, in reality, the logic to resolve this style is actually inside the core of morfeo,
@morfeo/web
only augments the typeStyle
in order to make this possible.The idea is to hook into the process of
morfeo.resolve
by exposing something likemorfeo.onResolveProperty
, this way we can move all the logic from@morfeo/core
to@morfeo/web
:MRF-28
The text was updated successfully, but these errors were encountered: