[Bug] Classes don't appear to be normalized on startup
See original GitHub issueDescribe the Bug
I use lightcord, so perhaps the problem lies there, but when I launch lightcord, the themes are incomplete. When I go to settings under BandagedBD section, BetterDiscord settings, turning off then on the normalize classes applies the theme correctly.
To Reproduce
Start lightcord with normalize classes already enabled. See that theme is incomplete.
Expected Behavior
Starting lightcord should apply the theme correctly.
Screenshots
Here’s what it looks like on startup: Here’s what it looks like after disabling, then re-enabling normalize classes"
Discord Version
Lightcord 0.0.12
Additional Context
The theme in question:
/**
* @name Minimal Nord Discord
* @description A Dicord theme based on the Nord colorscheme
* @author TheAvidDev
* @version 1.0
*
* @source https://raw.githubusercontent.com/TheAvidDev/dotfiles/master/Lightcord_BD/themes/DiscordNord.theme.css
* @website https://theavid.dev/
**/
:root {
--background-primary: #2e3440;
--channeltextarea-background: #242831;
--background-secondary: #242831;
--background-secondary-alt: #2e3440;
--background-tertiary: #2e3440;
--border-radius: 15px;
}
.da-video, .da-peopleColumn, .da-tabBody {
background-color: var(--background-primary);
}
.da-wrapper.da-video, .da-sidebar, .da-members, .da-nowPlayingColumn {
border-radius: var(--border-radius);
}
.da-panels {
background-color: var(--background-secondary);
}
/*
* Change selected channel name and icons
*/
.da-selected > .da-wrapper > .da-content > .da-mainContent > .da-name,
.da-selected > .da-wrapper > .da-content > .da-children > .da-iconItem > .da-actionIcon {
color: var(--background-primary);
}
.da-selected > .da-wrapper > .da-content {
background-color: #88c0d0;
}
/* Remove margin for typing indicator */
.da-channelTextArea {
margin-bottom: 0;
}
/* Channel name */
.da-name {
color: #d8dee9;
}
/* Add a small line at the top of chat */
.da-chatContent {
border-top: 1px solid var(--background-secondary);
}
#bd-pub-li, /* BetterDiscord public vutton */
#private-channels-1, /* Nitro button */
.da-toolbar > .da-anchor, /* Help button */
.da-typing, /* Removing typing indicator */
.da-content:before { /* Tiny black line in header */
display: none;
}
/* Change divider and pill */
.da-divider {
border-color: #bf616a;
}
.da-divider > span.da-content {
color: #bf616a;
}
.da-unreadPill {
background-color: #bf616a;
}
.da-unreadPillCapStroke {
color: #bf616a;
fill: #bf616a;
}
/**
* Change server folder icon colors
*/
#app-mount > .da-app > div > .da-layers > div > div > nav > .da-scroller > div:nth-child(3) > div:nth-child(1) > .da-listItem > div:nth-child(2) > div > svg > foreignObject > div > div > div > svg {
color: #bf616a!important;
}
#app-mount > .da-app > div > .da-layers > div > div > nav > .da-scroller > div:nth-child(3) > div:nth-child(2) > .da-listItem > div:nth-child(2) > div > svg > foreignObject > div > div > div > svg {
color: #d08770!important;
}
#app-mount > .da-app > div > .da-layers > div > div > nav > .da-scroller > div:nth-child(3) > div:nth-child(3) > .da-listItem > div:nth-child(2) > div > svg > foreignObject > div > div > div > svg {
color: #ebcb8b!important;
}
#app-mount > .da-app > div > .da-layers > div > div > nav > .da-scroller > div:nth-child(3) > div:nth-child(4) > .da-listItem > div:nth-child(2) > div > svg > foreignObject > div > div > div > svg {
color: #a3be8c!important;
}
#app-mount > .da-app > div > .da-layers > div > div > nav > .da-scroller > div:nth-child(3) > div:nth-child(5) > .da-listItem > div:nth-child(2) > div > svg > foreignObject > div > div > div > svg {
color: #b48ead!important;
}
#app-mount > .da-app > div > .da-layers > div > div > nav > .da-scroller > div:nth-child(3) > div:nth-child(6) > .da-listItem > div:nth-child(2) > div > svg > foreignObject > div > div > div > svg {
color: #88c0d0!important;
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Bugs found in Normalization() and load_model() · Issue #15348
When loading a model that was normalized by Normalization(input_dim=5) it does NOT thrown any exception since a known shape is specified.
Read more >JDK-6792400 Avoid loading of Normalizer resources for ... - Bug ID
E.g. Normalizer is used get canonical names of certificates but many names are ASCII and do not need to be normalized! Unfortunatelly, some...
Read more >Excellence Fatigue: The Normalization of Defects
But every industry, every organization, every school, every team is vulnerable to excellence fatigue, where recurring problems that don't appear to be ...
Read more >The request was rejected because the URL was not normalized
Spring Security Documentation mentions the reason for blocking // in the request. For example, it could contain path-traversal sequences ...
Read more >255804 – AssertionError: already initialized normalized file ...
This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This likely won’t be considered unless you test this on a vanilla version of discord with BD beta injected. We don’t support lightcord even though it uses this codebase for several reasons. It’s also highly suggested against using normalized classes and these are mainly only there for backwards compatibility.
Suit yourself.