Skip to content

feat: v0.1.0 (theming, ui cleanup, style override support) #11

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

Merged
merged 18 commits into from
Nov 20, 2024

Conversation

saurabhdaware
Copy link
Owner

@saurabhdaware saurabhdaware commented Nov 16, 2024

Changes

  • Theming

    • Add theme prop to change theme of the card
    • Move card layout styles to :host and allow overriding things like box-shadow, widths, etc
    • Expose css variables to override the basic theme colors of the card
  • Cleanup

    • This PR does some cleanup of styles in web-component and moves them from JS to CSS :host
    • Will be released as a breaking change to ensure it doesn't cause any specificity issues if the styles were previously overriden in some other way
  • UI / UX

    • Changes colors slightly to match the actual bsky.app theme
    • Followers, Following count is not formatted in compact version. 1200 -> 1.2K etc
    • Improved error display if something goes wrong
  • Playground

    • Tiny changes in playground's UI like cleaner buttons, consistent copy-button size, addition of secondary buttons
    • Adds theme selector for card

Copy link

netlify bot commented Nov 16, 2024

Deploy Preview for bsky-widget ready!

Name Link
🔨 Latest commit 9be569d
🔍 Latest deploy log https://app.netlify.com/sites/bsky-widget/deploys/673dd9e04f30a70008fc4036
😎 Deploy Preview https://deploy-preview-11--bsky-widget.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

pkg-pr-new bot commented Nov 16, 2024

Open in Stackblitzreact-templatevue-template

pnpm add https://pkg.pr.new/saurabhdaware/bsky-widget@11

commit: 9be569d

@saurabhdaware saurabhdaware changed the title feat: add theming feat: v0.1.0 (theming, ui cleanup, style override support) Nov 17, 2024
@saurabhdaware saurabhdaware marked this pull request as ready for review November 20, 2024 12:38
@saurabhdaware saurabhdaware merged commit 41c6782 into main Nov 20, 2024
8 checks passed
@saurabhdaware saurabhdaware deleted the feat/dark-mode branch November 20, 2024 12:50
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.

2 participants