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

@@ -373,7 +373,7 @@ class ReplyItem extends StatelessWidget {
child: Text(
'UP主觉得很赞',
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
color: Theme.of(context).colorScheme.secondary,
fontSize: Theme.of(context).textTheme.labelMedium!.fontSize,
fontWeight: FontWeight.normal,
),
@@ -387,7 +387,7 @@ class ReplyItem extends StatelessWidget {
Text(
'热评',
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
color: Theme.of(context).colorScheme.secondary,
fontSize: Theme.of(context).textTheme.labelMedium!.fontSize),
),
const Spacer(),
@@ -459,7 +459,7 @@ class ReplyItem extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.85),
.withOpacity(0.8),
height: 1.6),
overflow: TextOverflow.ellipsis,
maxLines: 2,
@@ -471,7 +471,7 @@ class ReplyItem extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.primary
.withOpacity(0.85),
.withOpacity(0.8),
),
recognizer: TapGestureRecognizer()
..onTap = () {
@@ -541,14 +541,14 @@ class ReplyItem extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.85))),
.withOpacity(0.8))),
TextSpan(
text: replyControl!.entryText!,
style: TextStyle(
color: Theme.of(context)
.colorScheme
.primary
.withOpacity(0.85),
.withOpacity(0.8),
),
)
],

View File

@@ -371,7 +371,7 @@ class ReplyItemGrpc extends StatelessWidget {
child: Text(
'UP主觉得很赞',
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
color: Theme.of(context).colorScheme.secondary,
fontSize: Theme.of(context).textTheme.labelMedium!.fontSize,
fontWeight: FontWeight.normal,
),
@@ -387,7 +387,7 @@ class ReplyItemGrpc extends StatelessWidget {
Text(
'热评',
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
color: Theme.of(context).colorScheme.secondary,
fontSize: Theme.of(context).textTheme.labelMedium!.fontSize),
),
if (replyLevel == '2' &&
@@ -475,7 +475,7 @@ class ReplyItemGrpc extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.85),
.withOpacity(0.8),
height: 1.6),
overflow: TextOverflow.ellipsis,
maxLines: 2,
@@ -487,7 +487,7 @@ class ReplyItemGrpc extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.primary
.withOpacity(0.85),
.withOpacity(0.8),
),
recognizer: TapGestureRecognizer()
..onTap = () {
@@ -560,14 +560,14 @@ class ReplyItemGrpc extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.85))),
.withOpacity(0.8))),
TextSpan(
text: replyItem.replyControl.subReplyEntryText,
style: TextStyle(
color: Theme.of(context)
.colorScheme
.primary
.withOpacity(0.85),
.withOpacity(0.8),
),
)
],