opt: color

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-14 12:25:42 +08:00
parent b898a78e62
commit bc0914e146
17 changed files with 115 additions and 61 deletions

View File

@@ -86,7 +86,12 @@ class _MemberVideoState extends State<MemberVideo>
height: 35,
child: TextButton.icon(
onPressed: _controller.queryBySort,
icon: const Icon(Icons.sort, size: 16),
icon: Icon(
Icons.sort,
size: 16,
color:
Theme.of(context).colorScheme.secondary,
),
label: Obx(
() => Text(
widget.type == ContributeType.video
@@ -96,7 +101,12 @@ class _MemberVideoState extends State<MemberVideo>
: _controller.sort.value == 'desc'
? '默认'
: '倒序',
style: const TextStyle(fontSize: 13),
style: TextStyle(
fontSize: 13,
color: Theme.of(context)
.colorScheme
.secondary,
),
),
),
),

View File

@@ -131,11 +131,11 @@ class UserInfoCard extends StatelessWidget {
imageUrl: card.vip!.label!.image!,
height: 20,
),
if (card.nameplate?.image?.isNotEmpty == true)
CachedNetworkImage(
imageUrl: card.nameplate!.image!,
height: 20,
),
// if (card.nameplate?.image?.isNotEmpty == true)
// CachedNetworkImage(
// imageUrl: card.nameplate!.image!,
// height: 20,
// ),
// GestureDetector(
// onTap: () {
// Utils.copyText(card.mid.toString());

View File

@@ -199,9 +199,7 @@ class ProfilePanel extends StatelessWidget {
? Theme.of(context)
.colorScheme
.onInverseSurface
: Theme.of(context)
.colorScheme
.primary, // 设置按钮背景色
: Theme.of(context).colorScheme.primary,
),
child: Obx(() => Text(ctr.attributeText.value)),
),