Skip to content

propose guidelines change#40

Open
Huderon wants to merge 3 commits into
BetterDiscord:mainfrom
Huderon:guidelines
Open

propose guidelines change#40
Huderon wants to merge 3 commits into
BetterDiscord:mainfrom
Huderon:guidelines

Conversation

@Huderon
Copy link
Copy Markdown
Contributor

@Huderon Huderon commented Sep 13, 2025

Just a small change made in hopes of inspiring fewer style conflicts 😭

@zerebos
Copy link
Copy Markdown
Member

zerebos commented May 20, 2026

@doggybootsy @DaddyBoard @TheLazySquid thoughts here?

@doggybootsy
Copy link
Copy Markdown
Member

I am against both excessive nesting and unnecessarily qualifying selectors with type selectors. Both are subjective

@zerebos
Copy link
Copy Markdown
Member

zerebos commented May 21, 2026

So it sounds like overall you don't want this change

@TheLazySquid
Copy link
Copy Markdown
Contributor

It seems reasonable to me, even if it is a bit subjective

@doggybootsy
Copy link
Copy Markdown
Member

doggybootsy commented May 21, 2026

They are both just from readability standpoints, when in reality nobody is reading a theme. Additionally, with the latter one, it can actually improve speed. Like with div in front of a class selector

@zerebos
Copy link
Copy Markdown
Member

zerebos commented May 21, 2026

No this is not about readability, this is about performance. See the BetterDiscord docs https://docs.betterdiscord.app/themes/concepts/performance#descendant-selectors

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.

4 participants