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

Theme attributes #1797

Merged
merged 3 commits into from
Jan 9, 2025
Merged

Theme attributes #1797

merged 3 commits into from
Jan 9, 2025

Conversation

Huderon
Copy link
Contributor

@Huderon Huderon commented Jan 8, 2025

Adds a toggle for some additional attributes to be used in theming

TabBars

  • data-tab-id contains the id of that tab
  • data-header-id contains the id of that tab header

image
image

Chat Messages

  • data-author-id contains the id of the author
  • data-is-self is a boolean indicating whether this is the current user's message

image

Member Popout

  • data-member-id contains the id of the member
  • data-is-self is a boolean indicating whether this is the current member's popout

image

renderer/src/data/settings.js Outdated Show resolved Hide resolved
renderer/src/builtins/customcss/themeattributes.js Outdated Show resolved Hide resolved
renderer/src/builtins/customcss/themeattributes.js Outdated Show resolved Hide resolved
renderer/src/builtins/customcss/themeattributes.js Outdated Show resolved Hide resolved
@Huderon Huderon mentioned this pull request Jan 9, 2025
@zerebos zerebos merged commit 3de6da4 into BetterDiscord:main Jan 9, 2025
1 check passed
@Huderon Huderon deleted the theme-attributes branch January 9, 2025 10:29
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