modernweb-dev / web

Guides, tools and libraries for modern web development.
https://modern-web.dev
MIT License
2.15k stars 271 forks source link

feat(mocks): update mocks addon styles to support dark mode #2741

Closed kateutlik closed 1 month ago

kateutlik commented 1 month ago

What I did

  1. Use hsla values for background and border color so it works for both - light and dark mode:
image image
  1. Slightly improve styles when loading / no mocks:
image image
changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: f977f5cc2d532a6dc0596fd30d2da298431868c6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | @web/mocks | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

thepassle commented 1 month ago

Looks much better, thanks kate!