feat: dark mode username color

This commit is contained in:
Baoshuo Ren 2023-02-23 20:22:49 +08:00
parent 87e0fd62f5
commit e542600dfa
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -544,8 +544,9 @@ form.form-horizontal {
/* Username color */ /* Username color */
.uoj-username,
.uoj-username-blue { .uoj-username-blue {
color: #0d6efd; color: #1e88e5;
} }
.uoj-username-green { .uoj-username-green {
@ -579,3 +580,42 @@ form.form-horizontal {
.uoj-username-brown { .uoj-username-brown {
color: #996600; color: #996600;
} }
/* Dark: Username color */
[data-bs-theme='dark'] .uoj-username,
[data-bs-theme='dark'] .uoj-username-blue {
color: #218bff;
}
[data-bs-theme='green'] .uoj-username-green {
color: #19a140;
}
[data-bs-theme='dark'] .uoj-username-pink {
color: #bf3989;
}
[data-bs-theme='dark'] .uoj-username-red {
color: #cf222e;
}
[data-bs-theme='dark'] .uoj-username-orange {
color: #e16f24;
}
[data-bs-theme='dark'] .uoj-username-cyan {
color: #00acc1;
}
[data-bs-theme='dark'] .uoj-username-purple {
color: #9366e5;
}
[data-bs-theme='dark'] .uoj-username-gray {
color: #8c959f;
}
[data-bs-theme='dark'] .uoj-username-brown {
color: #996f1c;
}