Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into fix/back-cpoy
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecoca authored Dec 1, 2023
2 parents 5299f9e + 73e7782 commit 6ad3497
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lib/home/widgets/logo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ class Logo extends StatelessWidget {

@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final l10n = context.l10n;
final textColor =
hasDarkBackground ? VertexColors.arctic : VertexColors.flutterNavy;
final textStyle = Theme.of(context).textTheme.bodyLarge?.copyWith(
color: textColor,
letterSpacing: -1,
);

return InkWell(
customBorder: RoundedRectangleBorder(
Expand All @@ -32,18 +35,14 @@ class Logo extends StatelessWidget {
children: [
Text(
l10n.vertexAI,
style: theme.textTheme.bodyLarge?.copyWith(
color: textColor,
),
style: textStyle,
),
const SizedBox(width: 4),
vertexIcons.asterisk.image(),
const SizedBox(width: 4),
Text(
l10n.flutter,
style: theme.textTheme.bodyLarge?.copyWith(
color: textColor,
),
style: textStyle,
),
],
),
Expand Down

0 comments on commit 6ad3497

Please sign in to comment.