mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-03 15:24:25 +02:00
fix: Last (hopefully) improvements on app theming
This commit is contained in:
parent
9b4a8ebc69
commit
351b04dd46
@ -30,6 +30,14 @@ class CustomTextField extends StatelessWidget {
|
|||||||
filled: true,
|
filled: true,
|
||||||
fillColor: Theme.of(context).colorScheme.secondaryContainer,
|
fillColor: Theme.of(context).colorScheme.secondaryContainer,
|
||||||
hintText: hint,
|
hintText: hint,
|
||||||
|
hintStyle: TextStyle(
|
||||||
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
|
),
|
||||||
|
floatingLabelStyle: MaterialStateTextStyle.resolveWith(
|
||||||
|
(states) => states.contains(MaterialState.focused)
|
||||||
|
? TextStyle(color: Theme.of(context).colorScheme.primary)
|
||||||
|
: TextStyle(color: Theme.of(context).colorScheme.secondary),
|
||||||
|
),
|
||||||
contentPadding: const EdgeInsets.symmetric(
|
contentPadding: const EdgeInsets.symmetric(
|
||||||
vertical: 8.0,
|
vertical: 8.0,
|
||||||
horizontal: 16.0,
|
horizontal: 16.0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user