Skip to content

Multiple media matched styles applied and boolean flag can be available#40

Closed
tkow wants to merge 2 commits into
Temzasse:mainfrom
MOCHI-inc-JAPAN:fix/39
Closed

Multiple media matched styles applied and boolean flag can be available#40
tkow wants to merge 2 commits into
Temzasse:mainfrom
MOCHI-inc-JAPAN:fix/39

Conversation

@tkow
Copy link
Copy Markdown
Contributor

@tkow tkow commented Nov 16, 2022

Fix #39

I also include some improvements of media style handling (extracted styles can processing as batch and the way to determine variants based on guard)

Rules

  • Later styles merge earlier styles and overwrite them if same style properties exist.
  • As like css, latter styles are prioritized. This is subjected to javascript object keys' order.

@tkow
Copy link
Copy Markdown
Contributor Author

tkow commented Nov 16, 2022

Sorry, I've found bug this PR. So, fix it in #42 and close this PR.

@tkow tkow closed this Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix boolean flag based media style handling

1 participant