[ui] UI theme should match repertory blue #61

This commit is contained in:
2025-09-04 11:31:16 -05:00
parent 36ef520cf2
commit c03877aa58

View File

@@ -128,7 +128,11 @@ class _AddMountScreenState extends State<AddMountScreen> {
],
),
const SizedBox(height: constants.padding),
IntrinsicWidth(
UnconstrainedBox(
alignment: Alignment.centerLeft,
child: FractionallySizedBox(
widthFactor: 1.5,
child: IntrinsicWidth(
child: DropdownButtonFormField<String>(
initialValue: _mountType.isEmpty ? null : _mountType,
isExpanded: false,
@@ -136,11 +140,8 @@ class _AddMountScreenState extends State<AddMountScreen> {
scheme,
"Provider Type",
Icons.storage,
filled: false,
),
dropdownColor: scheme.primary.withValues(
alpha: constants.primaryAlpha,
),
dropdownColor: scheme.primary.withValues(alpha: 0.8),
style: textTheme.bodyMedium?.copyWith(
color: scheme.onSurface.withValues(alpha: 0.96),
),
@@ -163,6 +164,8 @@ class _AddMountScreenState extends State<AddMountScreen> {
},
),
),
),
),
if (_mountType.isNotEmpty && _mountType != 'Remote') ...[
const SizedBox(height: constants.padding),
TextField(