branding added
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// Shared layout chrome for Values Sort screens.
|
||||
/// Shared layout chrome for Values Compass screens.
|
||||
library;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -44,7 +44,7 @@ class PracticeScaffold extends StatelessWidget {
|
||||
child: ThemeToggleButton(),
|
||||
),
|
||||
),
|
||||
if (header != null) header!,
|
||||
?header,
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: pad,
|
||||
@@ -76,23 +76,27 @@ class BrandMark extends StatelessWidget {
|
||||
|
||||
return Row(
|
||||
children: [
|
||||
ClipOval(
|
||||
ClipRRect(
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
child: Image.asset(
|
||||
'assets/images/emblem.png',
|
||||
'assets/images/app_icon.png',
|
||||
width: 32,
|
||||
height: 32,
|
||||
fit: BoxFit.cover,
|
||||
errorBuilder: (_, _, _) => Container(
|
||||
width: 32,
|
||||
height: 32,
|
||||
color: colors.primaryContainer,
|
||||
child: Icon(Icons.spa, size: 18, color: colors.onPrimary),
|
||||
decoration: BoxDecoration(
|
||||
color: colors.primaryContainer,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
child: Icon(Icons.explore, size: 18, color: colors.onPrimary),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
Text(
|
||||
'VALUES SORT',
|
||||
'VALUES COMPASS',
|
||||
style: labels.labelSmall?.copyWith(
|
||||
letterSpacing: 2.2,
|
||||
color: colors.onSurfaceVariant,
|
||||
|
||||
Reference in New Issue
Block a user