Skip to content

Instantly share code, notes, and snippets.

@tettoffensive
Created June 14, 2023 17:20
Show Gist options
  • Save tettoffensive/4cc6033c8d4ddad3e927abd4193f016b to your computer and use it in GitHub Desktop.
Save tettoffensive/4cc6033c8d4ddad3e927abd4193f016b to your computer and use it in GitHub Desktop.
Custom Dev Tools CSS
.platform-mac, :host-context(.platform-mac) {
--monospace-font-size: 1rem;
--monospace-font-family: 'Berkeley Mono','JetBrains Mono',Menlo, Monaco, 'Courier New', monospace;
--source-code-font-size: 1rem;
--source-code-font-family: 'Berkeley Mono','JetBrains Mono',Menlo, Monaco, 'Courier New', monospace;
}
.platform-mac, .platform-mac .source-code {
font-family: var(--monospace-font-family);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment