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,
|
||||
icon: FlowySvg(
|
||||
icon,
|
||||
blendMode: null,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
@ -44,7 +44,10 @@ class FlowyLogoTitle extends StatelessWidget {
|
||||
children: [
|
||||
SizedBox.fromSize(
|
||||
size: logoSize,
|
||||
child: const FlowySvg(FlowySvgs.flowy_logo_xl),
|
||||
child: const FlowySvg(
|
||||
FlowySvgs.flowy_logo_xl,
|
||||
blendMode: null,
|
||||
),
|
||||
),
|
||||
const VSpace(40),
|
||||
FlowyText.regular(
|
||||
|
@ -28,7 +28,10 @@ class SidebarNewPageButton extends StatelessWidget {
|
||||
shape: BoxShape.circle,
|
||||
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),
|
||||
);
|
||||
|
@ -46,12 +46,14 @@ class SidebarTopMenu extends StatelessWidget {
|
||||
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_text_xl;
|
||||
|
||||
return FlowySvg(
|
||||
name,
|
||||
svgData,
|
||||
size: const Size(92, 17),
|
||||
blendMode: null,
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user