mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
fix code text color in dark mode
This commit is contained in:
parent
4b02960fd1
commit
4deb45df3c
@ -31,6 +31,10 @@
|
||||
background: #202020;
|
||||
}
|
||||
|
||||
.dark .code {
|
||||
color: var(--color-content-high);
|
||||
}
|
||||
|
||||
html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical) {
|
||||
--color-fill: va(--color-fill);
|
||||
--color-content: var(--color-content);
|
||||
|
2
views.go
2
views.go
@ -504,7 +504,7 @@ func (app *appContext) InviteProxy(gc *gin.Context) {
|
||||
data["discordUsername"] = app.discord.username
|
||||
data["discordRequired"] = app.config.Section("discord").Key("required").MustBool(false)
|
||||
data["discordSendPINMessage"] = template.HTML(app.storage.lang.Form[lang].Strings.template("sendPINDiscord", tmpl{
|
||||
"command": `<code class="code">/` + app.config.Section("discord").Key("start_command").MustString("start") + `</code>`,
|
||||
"command": `<span class="code font-mono">/` + app.config.Section("discord").Key("start_command").MustString("start") + `</span>`,
|
||||
"server_channel": app.discord.serverChannelName,
|
||||
}))
|
||||
data["discordServerName"] = app.discord.serverName
|
||||
|
Loading…
Reference in New Issue
Block a user