Skip to content

Instantly share code, notes, and snippets.

@joshdabosh
Last active May 15, 2020 01:18
Show Gist options
  • Save joshdabosh/0bd19f7f21e3bdfe9f313139282e19a0 to your computer and use it in GitHub Desktop.
Save joshdabosh/0bd19f7f21e3bdfe9f313139282e19a0 to your computer and use it in GitHub Desktop.
Discord theme on windows
/**
* @name Glasscord Example Theme
* @description This theme showcases Glasscord's features: glassy Discord!
* @author AryToNeX
* @version 0.1
* @source https://github.com/AryToNeX/Glasscord
* @invite SftnByN
* @patreon https://patreon.com/arytonex
* @donate https://ko-fi.com/arytonex
* @authorLink http://arytonex.pw
* @requires Glasscord>=0.0.5
*/
/*
Copyright 2020 AryToNeX
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
:root{
/* Here you can define properties for use with Glasscord. */
/* Windows-specific properties */
/* Blur mode. Available types: acrylic (strong blur), blurbehind (light blur), transparent */
--glasscord-win-blur: blurbehind;
/* Acrylic mode makes some computers pretty unresponsive when resizing/moving the window.
Should we work around it? */
--glasscord-win-performance-mode: true;
/* macOS-specific properties */
/* Vibrancy mode */
--glasscord-macos-vibrancy: fullscreen-ui;
/* Linux-specific properties */
/* Should Glasscord send a request to your window compositor to blur behind Discord's window? */
/* It currently supports KWin only */
--glasscord-linux-blur: true;
/* Discord-specific properties */
/* Custom (forced) titlebar */
/* native (default), windows, osx, linux (framed) */
--glasscord-titlebar: native
}
.theme-dark{
background-color: rgba(0,0,0, 0.8);
--background-primary: transparent;
--background-primary-alt: rgba(0,0,0,0.3);
--background-secondary: rgba(0,0,0,0.5);
--background-secondary-chat: transparent;
--background-secondary-alt: transparent;
--background-tertiary: transparent;
--background-logo: transparent;
--deprecated-card-bg: transparent;
--deprecated-store-bg: transparent;
--background-attachments: rgb(50,50,50);
--background-search-bar: transparent;
--background-switcher: rgba(0,0,0,1);
--background-chatbox: rgba(75,75,75, 0.8);
--background-lights-out: black;
--background-pinned: rgb(50,50,50);
--background-emoji: rgb(50,50,50);
--text-lights-out: white;
--background-titlebar: rgba(0,0,0,0.5);
--background-profile-expand: rgb(50,50,50);
--background-scrollbar: rgb(50,50,50);
}
.theme-dark .scrollerThemed-2oenus.themedWithTrack-q8E3vB .scroller-2FKFPG::-webkit-scrollbar-track-piece {
background-color: transparent;
border: 4px solid transparent;
}
.theme-dark .scrollerThemed-2oenus.themedWithTrack-q8E3vB .scroller-2FKFPG::-webkit-scrollbar-thumb {
background-color: var(--background-scrollbar);
}
.theme-dark .container-1D34oG {
background-color: transparent;
}
.theme-dark .pageWrapper-1PgVDX {
background-color: transparent;
}
.withFrame-haYltI {
height: 18px;
margin-top: 0;
padding-top: 4px;
}
.premiumPromo-yVfLiA {
background-color: var(--background-secondary-chat);
backdrop-filter: blur(2px);
}
.unread-3zKkbm {
height: 4px;
width: 4px;
margin-top: -2px;
border-radius: 2px 2px 2px 2px;
}
.jumpToPresentBar-9P20AM {
border-radius: 8px;
padding-bottom: 0;
}
.platform-win .sidebar-2K8pFh {
border-radius: 0;
}
.platform-osx .scroller-2TZvBN {
padding-top: 32px;
-webkit-mask: linear-gradient(#0000, #fff 32px);
}
.platform-osx .wrapper-1Rf91z {
margin-top: 0;
}
.typeMacOS-3EmCyP {
background-color: transparent !important;
}
.platform-osx .unreadMentionsIndicatorTop-gA6RCh {
top: 32px;
}
.platform-osx .back-1Ess-_ {
-webkit-app-region: no-drag;
}
.platform-osx .button-2PWmas {
-webkit-app-region: no-drag;
}
.messagesPopoutWrap-1MQ1bW {
background-color: var(--background-pinned);
}
.notice-2FJMB4 {
background-color: var(--background-secondary) !important;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
.emojiPicker-3m1S-j {
background-color: var(--background-emoji);
}
.attachment-33OFj0 {
background-color: var(--background-attachments) !important;
}
.header-2o-2hj {
-webkit-box-shadow: none;
box-shadow: none;
}
.privateChannels-1nO12o {
background-color: transparent;
}
.root-SR8cQa {
background-color: var(--background-profile-expand);
}
.container-PNkimc {
background-color: transparent;
}
.inset-3sAvek {
background-color: var(--background-secondary) !important;
}
.container-1r6BKw.themed-ANHk51 {
background-color: var(--background-secondary);
}
.wrapper-1Rf91z {
background-color: var(--background-secondary);
}
.childWrapper-anI2G9 {
background-color: var(--background-logo);
}
.circleIconButton-jET_ig {
background-color: var(--background-logo);
}
.searchBar-3dMhjb {
background-color: var(--background-search-bar);
}
.searchBar-6Kv8R2 {
-webkit-box-shadow: none;
box-shadow: none;
}
.searchHeader-1l-wpR {
-webkit-box-shadow: none;
box-shadow: none;
}
.channelName-1QajIf {
background-color: transparent;
}
.searchResult-3pzFAB:before {
background-image: none;
}
.searchResult-3pzFAB:after {
background-image: none;
}
.perksModal-fSYqOq {
background-color: transparent !important;
}
.ctaBar-2UsjF2 {
background-color: var(--background-attachments) !important;
}
.tierBody-16Chc9 {
background-color: var(--background-secondary-chat) !important;
}
.perk-2WeBWW {
background-color: var(--background-attachments) !important;
}
.content-yTz4x3:before {
-webkit-box-shadow: none;
box-shadow: none;
}
.tabBody-3YRQ8W:before {
-webkit-box-shadow: none;
box-shadow: none;
}
.container-19hC9u:before {
-webkit-box-shadow: none;
box-shadow: none;
}
.container-xm7Ad0:before {
-webkit-box-shadow: none;
box-shadow: none;
}
.searchBar-6Kv8R2 .searchBarComponent-32dTOx {
background-color: var(--background-search-bar);
}
.scroller-1JbKMe {
background-color: transparent;
}
.scroller-2TZvBN {
background-color: transparent;
}
.quickswitcher-3JagVE {
background-color: var(--background-switcher);
}
.wrapper-2aW0bm {
background-color: var(--background-primary-alt);
}
.searchResultMessage-2VxO12.hit-NLlWXA {
background-color: var(--background-primary-alt);
}
.scroller-zPkAnE {
background-color: transparent;
}
.embedFull-2tM8-- {
background-color: var(--background-attachments);
}
.messagesWrapper-3lZDfY {
margin-bottom: 8px;
}
.panels-j1Uci_ {
background-color: transparent;
}
.titleBar-AC4pGV {
background-color: var(--background-titlebar);
}
.uploadArea-3QgLtW {
background-color: var(--background-lights-out);
}
.backdropWithLayer-3_uhz4 {
background-color: var(--background-lights-out) !important;
}
.backdrop-1wrmKB {
background-color: var(--background-lights-out) !important;
}
.downloadLink-1ywL9o {
color: var(--text-lights-out) !important;
}
.bg-AYqtMd {
-webkit-mask-image: linear-gradient(#000f, #0000) !important;
}
.scrollableContainer-2NUZem {
background-color: var(--background-chatbox);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment