feat: css variable --font-fans

This commit is contained in:
DIYgod 2022-09-20 02:32:36 +01:00
parent dbd3d30b27
commit 130d021632
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
2 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,7 @@
html {
@apply text-zinc-800;
@apply fill-zinc-800;
font-family: var(--font-fans);
}
}

View File

@ -63,6 +63,16 @@ export default function SettingsDomainsPage() {
--theme-color-dark: #4338ca;
</span>
</p>
<p>
<span className="bg-zinc-200 rounded-lg px-2">
--font-fans: ui-sans-serif, system-ui, -apple-system,
BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto,
&quot;Helvetica Neue&quot;, Arial, &quot;Noto Sans&quot;,
sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI
Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color
Emoji&quot;;
</span>
</p>
</div>
<FieldLabel label="Custom CSS" />
<Editor