Skip to content
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

enhance(embed): add ability to pin color mode #7186

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

enhance(embed): add ability to pin color mode #7186

wants to merge 10 commits into from

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Dec 19, 2024

Supercedes #7074

  • Improves styles
  • Changes default theme to light

Screenshot 2024-12-19 at 17 08 24

Original PR description

What

  • You can now enforce the color mode to dark or light at the embed code author choices (of course you can choose system too).
    • Added an interface to the landing page that allows users to select a color mode.
    • data-bluesky-color-mode attribute is added for embed code (optional, default is system)

Why

Fix #7063

Additional Info

image

Copy link

Old size New size Diff
6.84 MB 6.84 MB 0 B (0.00%)

@gaearon
Copy link
Collaborator

gaearon commented Dec 19, 2024

Does the in-app embed URL generator code need updating?

@mozzius
Copy link
Member Author

mozzius commented Dec 19, 2024

Yes, but not urgently. It's fine now that it defaults to light mode, so basically nothing will change there. We should put it on the release tracker for next time though

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.

embed: add ability to pin the color mode
4 participants