add card to theme settings

This commit is contained in:
Vendicated 2025-04-08 01:48:39 +02:00
parent 99cca05db8
commit 0e3e14cb36
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -206,6 +206,7 @@ function ThemesTab() {
} }
function renderLocalThemes() { function renderLocalThemes() {
return ( return (
<> <>
<Card className="vc-settings-card"> <Card className="vc-settings-card">
@ -219,6 +220,12 @@ function ThemesTab() {
<Forms.FormText>If using the BD site, click on "Download" and place the downloaded .theme.css file into your themes folder.</Forms.FormText> <Forms.FormText>If using the BD site, click on "Download" and place the downloaded .theme.css file into your themes folder.</Forms.FormText>
</Card> </Card>
<Card className="vc-settings-card">
<Forms.FormTitle tag="h5">External Resources</Forms.FormTitle>
<Forms.FormText>For security reasons, loading resources (styles, fonts, images, ...) from most sites is blocked.</Forms.FormText>
<Forms.FormText>Make sure all your assets are hosted on GitHub, GitLab, Codeberg, Imgur, Discord or Gogle Fonts.</Forms.FormText>
</Card>
<Forms.FormSection title="Local Themes"> <Forms.FormSection title="Local Themes">
<QuickActionCard> <QuickActionCard>
<> <>