mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-02 03:06:06 -04:00
Accessibility update
This commit is contained in:
parent
be8014c97a
commit
3b1cb53b8a
55 changed files with 1089 additions and 807 deletions
|
@ -222,13 +222,16 @@ class _DeveloperPageState extends State<DeveloperPage> {
|
|||
return Scaffold(
|
||||
backgroundColor: scale.primaryScale.border,
|
||||
appBar: DefaultAppBar(
|
||||
context: context,
|
||||
title: Text(translate('developer.title')),
|
||||
leading: IconButton(
|
||||
iconSize: 24.scaled(context),
|
||||
icon: Icon(Icons.arrow_back, color: scale.primaryScale.borderText),
|
||||
onPressed: () => GoRouterHelper(context).pop(),
|
||||
),
|
||||
actions: [
|
||||
IconButton(
|
||||
iconSize: 24.scaled(context),
|
||||
icon: const Icon(Icons.copy),
|
||||
color: scale.primaryScale.borderText,
|
||||
disabledColor: scale.primaryScale.borderText.withAlpha(0x3F),
|
||||
|
@ -238,6 +241,7 @@ class _DeveloperPageState extends State<DeveloperPage> {
|
|||
await copySelection(context);
|
||||
}),
|
||||
IconButton(
|
||||
iconSize: 24.scaled(context),
|
||||
icon: const Icon(Icons.copy_all),
|
||||
color: scale.primaryScale.borderText,
|
||||
disabledColor: scale.primaryScale.borderText.withAlpha(0x3F),
|
||||
|
@ -245,6 +249,7 @@ class _DeveloperPageState extends State<DeveloperPage> {
|
|||
await copyAll(context);
|
||||
}),
|
||||
IconButton(
|
||||
iconSize: 24.scaled(context),
|
||||
icon: const Icon(Icons.clear_all),
|
||||
color: scale.primaryScale.borderText,
|
||||
disabledColor: scale.primaryScale.borderText.withAlpha(0x3F),
|
||||
|
@ -259,7 +264,7 @@ class _DeveloperPageState extends State<DeveloperPage> {
|
|||
}
|
||||
}),
|
||||
SizedBox.fromSize(
|
||||
size: const Size(140, 48),
|
||||
size: Size(140.scaled(context), 48),
|
||||
child: CustomDropdown<LogLevelDropdownItem>(
|
||||
items: _logLevelDropdownItems,
|
||||
initialItem: _logLevelDropdownItems
|
||||
|
@ -300,6 +305,7 @@ class _DeveloperPageState extends State<DeveloperPage> {
|
|||
Image.asset('assets/images/ellet.png'),
|
||||
TerminalView(globalDebugTerminal,
|
||||
textStyle: kDefaultTerminalStyle,
|
||||
textScaler: TextScaler.noScaling,
|
||||
controller: _terminalController,
|
||||
keyboardType: TextInputType.none,
|
||||
backgroundOpacity: _showEllet ? 0.75 : 1.0,
|
||||
|
|
|
@ -19,7 +19,7 @@ class SignalStrengthMeterWidget extends StatelessWidget {
|
|||
final theme = Theme.of(context);
|
||||
final scale = theme.extension<ScaleScheme>()!;
|
||||
|
||||
const iconSize = 16.0;
|
||||
final iconSize = 16.0.scaled(context);
|
||||
|
||||
return BlocBuilder<ConnectionStateCubit,
|
||||
AsyncValue<ProcessorConnectionState>>(builder: (context, state) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue