mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-09-19 12:04:51 -04:00
unify handling of themes
accessible theming/high contrast support
This commit is contained in:
parent
23ec185324
commit
4f02435964
41 changed files with 958 additions and 622 deletions
|
@ -7,6 +7,7 @@ import 'package:form_builder_validators/form_builder_validators.dart';
|
|||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import '../../../layout/default_app_bar.dart';
|
||||
import '../../../theme/theme.dart';
|
||||
import '../../../tools/tools.dart';
|
||||
import '../../../veilid_processor/veilid_processor.dart';
|
||||
import '../../account_manager.dart';
|
||||
|
|
|
@ -31,11 +31,14 @@ class ProfileWidget extends StatelessWidget {
|
|||
child: Column(children: [
|
||||
Text(
|
||||
_profile.name,
|
||||
style: textTheme.headlineSmall,
|
||||
style: textTheme.headlineSmall!
|
||||
.copyWith(color: scale.primaryScale.borderText),
|
||||
textAlign: TextAlign.left,
|
||||
).paddingAll(4),
|
||||
if (_profile.pronouns.isNotEmpty)
|
||||
Text(_profile.pronouns, style: textTheme.bodyMedium)
|
||||
Text(_profile.pronouns,
|
||||
style: textTheme.bodyMedium!
|
||||
.copyWith(color: scale.primaryScale.borderText))
|
||||
.paddingLTRB(4, 0, 4, 4),
|
||||
]),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue