Skip to content

Instantly share code, notes, and snippets.

@eritbh
Last active December 9, 2023 06:16
Show Gist options
  • Save eritbh/599f426b2592ab78fd3efa2a898a5eb7 to your computer and use it in GitHub Desktop.
Save eritbh/599f426b2592ab78fd3efa2a898a5eb7 to your computer and use it in GitHub Desktop.
Discord theme - fix font weight for custom fonts in light theme
/* pulled 2023-12-09 */
@media all and (-webkit-max-device-pixel-ratio: 1) {
.theme-light .labelSelected__9ef94 {font-weight:400!important}
.theme-light .description__7af71 {font-weight:400!important}
.theme-light .filename_e129cd {font-weight:400!important}
.theme-light .markup_a7e664 {font-weight:400!important}
.theme-light .username_d30d99 {font-weight:500!important}
.theme-light .embedProvider_cfa718 {font-weight:400!important}
.theme-light .embedAuthorName_a1274b {font-weight:400!important}
.theme-light .embedDescription__33443 {font-weight:400!important}
.theme-light .embedFooterText_dc937f {font-weight:400!important}
.theme-light .embedFieldName_d42d0c {font-weight:500!important}
.theme-light .embedFieldValue__53d47 {font-weight:300!important}
.theme-light .ephemeralMessage__6a8ba {font-weight:400!important}
.theme-light .content__72fdc {font-weight:400!important}
.theme-light .content__72fdc a {font-weight: 500!important}
.theme-light .timestamp_c6898e {font-weight:400!important}
.theme-light .operations__07224 {font-weight:400!important}
}
/* old shit */
@media (-webkit-max-device-pixel-ratio:1.5){
.theme-light{--font-weight-semibold-1x-light-theme:500!important}
}
@media (-webkit-max-device-pixel-ratio:1){
.theme-light .labelSelected-3_Gssk{font-weight:400!important}
.theme-light .description-foE_WP{font-weight:400!important}
.theme-light ::-webkit-input-placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:400!important}
.theme-light ::-moz-placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:400!important}
.theme-light :-ms-input-placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:400!important}
.theme-light ::placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:400!important}
.theme-light .filename-3A5bVl{font-weight:400!important}
.theme-light .markup-eYLPri{font-weight:400!important}
.theme-light .embedProvider-1GSN0c{font-weight:400!important}
.theme-light .embedAuthorName-pGyUPR{font-weight:400!important}
.theme-light .embedDescription-1DrJxZ{font-weight:400!important}
.theme-light .embedFooterText-2Mc7H9{font-weight:400!important}
.theme-light .embedFieldName-9LYSyR{font-weight:500!important}
.theme-light .embedFieldValue-3EHtvR{font-weight:300!important}
.theme-light .username-h_Y3Us{font-weight:500!important}
.theme-light .textArea-2CLwUE{font-weight:400!important}
.theme-light .ephemeralMessage-11q8XZ{font-weight:400!important}
.theme-light .content-vSHmMD{font-weight:400!important}
.theme-light .content-vSHmMD a{font-weight:500!important}
.theme-light .timestamp-2qj4__{font-weight:400!important}
.theme-light .operations-3q3u6E{font-weight:400!important}
.theme-light .topic-11NuQZ{font-weight:300!important}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment