corrected blurStroke colors

This commit is contained in:
ashilkn 2022-11-08 14:50:30 +05:30
parent f68b484102
commit a89fa3c11e
3 changed files with 7 additions and 4 deletions

View file

@ -180,9 +180,9 @@ const Color strokeBaseDark = Color.fromRGBO(255, 255, 255, 1);
const Color strokeMutedDark = Color.fromRGBO(255, 255, 255, 0.24);
const Color strokeFaintDark = Color.fromRGBO(255, 255, 255, 0.16);
const Color strokeFainterDark = Color.fromRGBO(255, 255, 255, 0.08);
const Color blurStrokeBaseDark = Color.fromRGBO(0, 0, 0, 0.90);
const Color blurStrokeFaintDark = Color.fromRGBO(0, 0, 0, 0.08);
const Color blurStrokePressedDark = Color.fromRGBO(0, 0, 0, 0.50);
const Color blurStrokeBaseDark = Color.fromRGBO(255, 255, 255, 0.90);
const Color blurStrokeFaintDark = Color.fromRGBO(255, 255, 255, 0.08);
const Color blurStrokePressedDark = Color.fromRGBO(255, 255, 255, 0.50);
// Other colors
const Color tabIconLight = Color.fromRGBO(0, 0, 0, 0.85);

View file

@ -20,6 +20,7 @@ class DividerWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
final dividerColor = getEnteColorScheme(context).blurStrokeFaint;
if (dividerType == DividerType.solid) {
return Container(
color: getEnteColorScheme(context).strokeFaint,

View file

@ -286,7 +286,9 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
if (index.isOdd) {
return index == 1
? const SizedBox.shrink()
: const DividerWidget(dividerType: DividerType.menu);
: const DividerWidget(
dividerType: DividerType.menu,
);
} else {
return listTiles[index ~/ 2];
}