#OS Accent colored titlebar and server
1 messages · Page 1 of 1 (latest)
it's there, just somehow a little bit off. I like using this os variable instead of the red or the green ones.
Is this set by a preload script only in the official client?
I'm using vesktop and i don't know this indepth.
vencord sets it
**ipcMain.ts: **Lines 115-118
ipcMain.handle(IpcEvents.GET_THEME_SYSTEM_VALUES, () => ({
// win & mac only
"os-accent-color": `#${systemPreferences.getAccentColor?.() || ""}`
}));
polyfill for kde 
I noticed that this doesn't change the bg of icons/folders so uh here i guess
after: https://i.imgur.com/qGpP69W.png
before: https://i.imgur.com/CXzxvon.png
body,
#app-mount,
.typeWindows__5fa63,
.app_de4237,
.bg__12180,
.guilds__2b93a,
.scroller__3d071 {
background: linear-gradient(var(--os-accent-color), var(--os-accent-color)), rgb(240, 240, 240) !important;
}
.expandedFolderBackground_b1385f {
background: linear-gradient(var(--os-accent-color), var(--os-accent-color)), rgba(90, 90, 90, 0.5) !important;
}
.folder__17546[aria-expanded = true],
.guildSeparator__75928,
.circleIconButton__05cf2,
.ring__349e5 {
transition: background 0.3s ease-in-out;
border-radius: 0px;
background: linear-gradient(var(--os-accent-color), var(--os-accent-color)), rgb(10, 10, 10) !important;
}
.folder__17546 {
transition: background 0.3s ease-in-out;
}
.ring__349e5 svg path {
fill: var(--primary-200);
}
(ignore this absolute monstrosity)