mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: some svgs do not have the correct color (#3221)
* fix: svg colors * chore: rename variable name bc it doesn't make sense * fix: google sign in button blend mode
This commit is contained in:
parent
c1bba7e48b
commit
1cc78b87ab
@ -371,6 +371,7 @@ class ThirdPartySignInButton extends StatelessWidget {
|
|||||||
onPressed: onPressed,
|
onPressed: onPressed,
|
||||||
icon: FlowySvg(
|
icon: FlowySvg(
|
||||||
icon,
|
icon,
|
||||||
|
blendMode: null,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,10 @@ class FlowyLogoTitle extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox.fromSize(
|
SizedBox.fromSize(
|
||||||
size: logoSize,
|
size: logoSize,
|
||||||
child: const FlowySvg(FlowySvgs.flowy_logo_xl),
|
child: const FlowySvg(
|
||||||
|
FlowySvgs.flowy_logo_xl,
|
||||||
|
blendMode: null,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const VSpace(40),
|
const VSpace(40),
|
||||||
FlowyText.regular(
|
FlowyText.regular(
|
||||||
|
@ -28,7 +28,10 @@ class SidebarNewPageButton extends StatelessWidget {
|
|||||||
shape: BoxShape.circle,
|
shape: BoxShape.circle,
|
||||||
color: Theme.of(context).colorScheme.surface,
|
color: Theme.of(context).colorScheme.surface,
|
||||||
),
|
),
|
||||||
child: const FlowySvg(FlowySvgs.new_app_s),
|
child: const FlowySvg(
|
||||||
|
FlowySvgs.new_app_s,
|
||||||
|
blendMode: null,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
padding: const EdgeInsets.all(0),
|
padding: const EdgeInsets.all(0),
|
||||||
);
|
);
|
||||||
|
@ -46,12 +46,14 @@ class SidebarTopMenu extends StatelessWidget {
|
|||||||
return const SizedBox.shrink();
|
return const SizedBox.shrink();
|
||||||
}
|
}
|
||||||
|
|
||||||
final name = Theme.of(context).brightness == Brightness.dark
|
final svgData = Theme.of(context).brightness == Brightness.dark
|
||||||
? FlowySvgs.flowy_logo_dark_mode_xl
|
? FlowySvgs.flowy_logo_dark_mode_xl
|
||||||
: FlowySvgs.flowy_logo_text_xl;
|
: FlowySvgs.flowy_logo_text_xl;
|
||||||
|
|
||||||
return FlowySvg(
|
return FlowySvg(
|
||||||
name,
|
svgData,
|
||||||
size: const Size(92, 17),
|
size: const Size(92, 17),
|
||||||
|
blendMode: null,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user