mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 13:05:37 +02:00
fix: light theme issues.
This commit is contained in:
parent
4d0dcf407b
commit
7ed2a5fd4f
13 changed files with 68 additions and 17 deletions
|
@ -6,7 +6,11 @@ import 'package:revanced_manager/constants.dart';
|
|||
import 'package:revanced_manager/ui/widgets/patch_text_button.dart';
|
||||
|
||||
class LatestCommitCard extends StatefulWidget {
|
||||
const LatestCommitCard({Key? key}) : super(key: key);
|
||||
final Color? color;
|
||||
const LatestCommitCard({
|
||||
Key? key,
|
||||
this.color = const Color(0xff1B222B),
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<LatestCommitCard> createState() => _LatestCommitCardState();
|
||||
|
@ -20,7 +24,7 @@ class _LatestCommitCardState extends State<LatestCommitCard> {
|
|||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
color: const Color(0xff1B222B),
|
||||
color: widget.color,
|
||||
),
|
||||
padding: const EdgeInsets.symmetric(vertical: 18, horizontal: 20),
|
||||
child: Row(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue