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

@Huderon Huderon commented Sep 13, 2025

Copy link
Copy Markdown
Contributor

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

@zerebos

zerebos commented May 20, 2026

Copy link
Copy Markdown
Member

@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

zerebos commented May 21, 2026

Copy link
Copy Markdown
Member

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

doggybootsy commented May 21, 2026

Copy link
Copy Markdown
Member

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

zerebos commented May 21, 2026

Copy link
Copy Markdown
Member

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