opt: color scheme

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-14 13:38:24 +08:00
parent bc0914e146
commit 4e7cf0a1bd
5 changed files with 90 additions and 104 deletions

View File

@@ -42,8 +42,8 @@ class PBadge extends StatelessWidget {
color = Colors.white;
}
if (type == 'color') {
bgColor = t.primaryContainer.withOpacity(0.5);
color = t.primary;
bgColor = t.secondaryContainer.withOpacity(0.5);
color = t.onSecondaryContainer;
}
if (type == 'line') {
bgColor = Colors.transparent;