Skip to content

fix: apply theme values to new bookmarks#496

Open
nicode3141 wants to merge 1 commit into
zombieFox:mainfrom
nicode3141:bugfix/new-bookmark-issue
Open

fix: apply theme values to new bookmarks#496
nicode3141 wants to merge 1 commit into
zombieFox:mainfrom
nicode3141:bugfix/new-bookmark-issue

Conversation

@nicode3141

Copy link
Copy Markdown

Summary

New bookmarks weren't inheriting theme properties like border size and opacity. Instead, they used default values (bookmarkDefault)

Demonstration

I've changed the opacity and border size in the theme and added new bookmarks. Those bookmarks don't have the same theme as the others do. Refreshing does not help here. Only when changing the theme's settings, the new bookmark is updated.

nighttab-bug-showcase.mp4

Changes

src/component/bookmark/index.js
After creating a bookmark, the theme gets applied to match the appearance of existing bookmarks.

Currently, this includes:

  • Opacity
  • Border size

@nicode3141

Copy link
Copy Markdown
Author

Hi @zombieFox, could you please have a look at this? It's a bug fix to an annoying bug. Thanks!

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.

1 participant