diff --git a/src/_font.scss b/src/_font.scss index de8803f..b019a77 100644 --- a/src/_font.scss +++ b/src/_font.scss @@ -4,21 +4,14 @@ > Designed by Apple in California - SAN FRANSISCO DISPLAY - https://developer.apple.com/fonts/ */ -code, -.inlineCode-ERyvy_, -.after_inlineCode-2_JXPm, -.before_inlineCode-1zngJj, -.codeLine-2C-9aH, -.codeBlockText-28BOxV { - font-family: "SF Mono", mono, monospace; -} +@import url("https://raw.githubusercontent.com/czarhex/SanFranciscoFontCSS/main/SFFont.css"); -::placeholder, ::-webkit-input-placeholder, -body, button, input, select, textarea, .base-ZDDK0g, .headerText-1qIDDT, .header-Imy05m, .container-q97qHp, .name-3Uvkvr, .text-md-bold-22PzaZ, .text-md-semibold-3xVVGu, .text-sm-medium-3Pz3rB, .text-sm-normal-3Zj3Iv, .text-xs-medium-2LRpEj, .text-xs-normal-3SiVjE, .text-md-medium-2avxhQ, .text-md-normal-304U3g, .headerTag-3GXZkV, .eyebrow-Ejf06y, .heading-xxl-bold-3iEWjT, .title-3hptVQ, .userTag-2qPxEZ, .heading-lg-medium-3gUJeM, .heading-lg-normal-1bqh2L { - font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; - text-rendering: optimizeLegibility !important; +* { + --font-primary: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-display: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-headline: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-code: "SF Mono",mono,monospace; + text-rendering: optimizeLegibility; // font-weight: bold; text-transform: none; } - -@import url("https://raw.githubusercontent.com/czarhex/SanFranciscoFontCSS/main/SFFont.css"); diff --git a/surCord.theme.css b/surCord.theme.css index 272136e..d36f9c4 100644 --- a/surCord.theme.css +++ b/surCord.theme.css @@ -77,25 +77,18 @@ /* Uncomment the line below to use Apple's Emoji font */ /* @import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/EmojiReplace/base/Apple.css); */ -code, -.inlineCode-ERyvy_, -.after_inlineCode-2_JXPm, -.before_inlineCode-1zngJj, -.codeLine-2C-9aH, -.codeBlockText-28BOxV { - font-family: "SF Mono", mono, monospace; -} +@import url("https://raw.githubusercontent.com/czarhex/SanFranciscoFontCSS/main/SFFont.css"); -::placeholder, ::-webkit-input-placeholder, -body, button, input, select, textarea, .base-ZDDK0g, .headerText-1qIDDT, .header-Imy05m, .container-q97qHp, .name-3Uvkvr, .text-md-bold-22PzaZ, .text-md-semibold-3xVVGu, .text-sm-medium-3Pz3rB, .text-sm-normal-3Zj3Iv, .text-xs-medium-2LRpEj, .text-xs-normal-3SiVjE, .text-md-medium-2avxhQ, .text-md-normal-304U3g, .headerTag-3GXZkV, .eyebrow-Ejf06y, .heading-xxl-bold-3iEWjT, .title-3hptVQ, .userTag-2qPxEZ, .heading-lg-medium-3gUJeM, .heading-lg-normal-1bqh2L { - font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; - text-rendering: optimizeLegibility !important; +* { + --font-primary: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-display: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-headline: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-code: "SF Mono",mono,monospace; + text-rendering: optimizeLegibility; /* font-weight: bold; */ text-transform: none; } -@import url("https://raw.githubusercontent.com/czarhex/SanFranciscoFontCSS/main/SFFont.css"); - /* ///////////////////////////////////////// //ADD YOUR OWN ADDITIONS BELLOW THIS LINE diff --git a/surCord.user.css b/surCord.user.css index c302d44..fadeac9 100644 --- a/surCord.user.css +++ b/surCord.user.css @@ -56,22 +56,16 @@ /* Uncomment the line below to use Apple's Emoji font */ /* @import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/EmojiReplace/base/Apple.css); */ -code, -.inlineCode-ERyvy_, -.after_inlineCode-2_JXPm, -.before_inlineCode-1zngJj, -.codeLine-2C-9aH, -.codeBlockText-28BOxV { - font-family: "SF Mono", mono, monospace; -} +@import url("https://raw.githubusercontent.com/czarhex/SanFranciscoFontCSS/main/SFFont.css"); -::placeholder, ::-webkit-input-placeholder, -body, button, input, select, textarea, .base-ZDDK0g, .headerText-1qIDDT, .header-Imy05m, .container-q97qHp, .name-3Uvkvr, .text-md-bold-22PzaZ, .text-md-semibold-3xVVGu, .text-sm-medium-3Pz3rB, .text-sm-normal-3Zj3Iv, .text-xs-medium-2LRpEj, .text-xs-normal-3SiVjE, .text-md-medium-2avxhQ, .text-md-normal-304U3g, .headerTag-3GXZkV, .eyebrow-Ejf06y, .heading-xxl-bold-3iEWjT, .title-3hptVQ, .userTag-2qPxEZ, .heading-lg-medium-3gUJeM, .heading-lg-normal-1bqh2L { - font-family: "SF Pro Display", sans-serif; - text-rendering: optimizeLegibility !important; +* { + --font-primary: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-display: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-headline: -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif; + --font-code: "SF Mono",mono,monospace; + text-rendering: optimizeLegibility; /* font-weight: bold; */ text-transform: none; } -@import url("https://raw.githubusercontent.com/czarhex/SanFranciscoFontCSS/main/SFFont.css"); }