This commit is contained in:
Developer
2026-04-03 03:26:06 +08:00
parent 3063deb34c
commit cba04235c8
49 changed files with 3955 additions and 1421 deletions

View File

@@ -933,11 +933,15 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
width: double.infinity,
padding: const EdgeInsets.all(16),
decoration: BoxDecoration(
color: Colors.white,
color: isDark
? Colors.grey[800]
: Colors.white,
borderRadius: BorderRadius.circular(16),
boxShadow: [
BoxShadow(
color: Colors.black.withAlpha(10),
color: Colors.black.withAlpha(
isDark ? 40 : 10,
),
blurRadius: 12,
offset: const Offset(0, 4),
),
@@ -953,10 +957,15 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
child: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
Colors.white,
Colors.grey[50]!,
],
colors: isDark
? [
Colors.grey[700]!,
Colors.grey[800]!,
]
: [
Colors.white,
Colors.grey[50]!,
],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
@@ -964,7 +973,7 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
BorderRadius.circular(12),
border: Border.all(
color: primaryColor.withAlpha(
50,
isDark ? 80 : 50,
),
width: 1,
),
@@ -988,18 +997,19 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
children: [
Icon(
Icons.arrow_back,
color: AppConstants
.primaryColor,
color: primaryColor,
size: 20,
),
const SizedBox(width: 8),
const Text(
Text(
'上一题',
style: TextStyle(
fontSize: 14,
fontWeight:
FontWeight.w500,
color: Colors.black87,
color: isDark
? Colors.white
: Colors.black87,
),
),
],
@@ -1013,10 +1023,15 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
child: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
Colors.white,
Colors.grey[50]!,
],
colors: isDark
? [
Colors.grey[700]!,
Colors.grey[800]!,
]
: [
Colors.white,
Colors.grey[50]!,
],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
@@ -1029,7 +1044,7 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
boxShadow: [
BoxShadow(
color: primaryColor.withAlpha(
30,
isDark ? 50 : 30,
),
blurRadius: 8,
offset: const Offset(0, 4),
@@ -1057,18 +1072,19 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
children: [
Icon(
Icons.lightbulb_outline,
color: AppConstants
.primaryColor,
color: primaryColor,
size: 20,
),
const SizedBox(width: 8),
const Text(
Text(
'提示',
style: TextStyle(
fontSize: 14,
fontWeight:
FontWeight.w600,
color: Colors.black87,
color: isDark
? Colors.white
: Colors.black87,
),
),
],
@@ -1093,9 +1109,9 @@ class _PoetryLevelPageState extends State<PoetryLevelPage>
BorderRadius.circular(12),
boxShadow: [
BoxShadow(
color: AppConstants
.primaryColor
.withAlpha(80),
color: primaryColor.withAlpha(
isDark ? 60 : 80,
),
blurRadius: 12,
offset: const Offset(0, 4),
),