improve text style
This commit is contained in:
parent
4f241d597c
commit
56ad4faa46
|
@ -128,17 +128,19 @@ class _BoguiState extends ConsumerState<Bogui> {
|
|||
maxLines: null,
|
||||
keyboardType: TextInputType.multiline,
|
||||
cursorColor: orangeC,
|
||||
style: TextStyle(color: Colors.grey[400], fontSize: 14),
|
||||
style: const TextStyle(
|
||||
color: Color.fromARGB(255, 200, 200, 200),
|
||||
fontSize: 14),
|
||||
decoration: InputDecoration(
|
||||
filled: true,
|
||||
helperText:
|
||||
"Laissez-le autocompléter votre texte plutôt que de lui poser une question...",
|
||||
helperStyle: const TextStyle(fontSize: 10),
|
||||
hintText: "Qu'ils aillent tous se faire recompiler",
|
||||
hintStyle: TextStyle(
|
||||
color: Colors.grey[50],
|
||||
hintStyle: const TextStyle(
|
||||
color: Color.fromARGB(255, 190, 190, 170),
|
||||
fontWeight: FontWeight.w100,
|
||||
fontSize: 12),
|
||||
fontSize: 14),
|
||||
// fillColor: Colors.white,
|
||||
prefixIconConstraints: const BoxConstraints(
|
||||
minHeight: 32,
|
||||
|
@ -169,8 +171,8 @@ class _BoguiState extends ConsumerState<Bogui> {
|
|||
Opacity(
|
||||
opacity: 0.8,
|
||||
child: SizedBox(
|
||||
width: 250,
|
||||
height: 50,
|
||||
width: 200,
|
||||
height: 45,
|
||||
child: ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
foregroundColor: Colors.white, elevation: 4,
|
||||
|
@ -194,7 +196,7 @@ class _BoguiState extends ConsumerState<Bogui> {
|
|||
: const Text(
|
||||
'Valider',
|
||||
style: TextStyle(
|
||||
fontSize: 21, fontWeight: FontWeight.w500),
|
||||
fontSize: 19, fontWeight: FontWeight.w500),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -202,7 +204,7 @@ class _BoguiState extends ConsumerState<Bogui> {
|
|||
const SizedBox(height: 5),
|
||||
const Text(
|
||||
'ctrl + entrer',
|
||||
style: TextStyle(fontSize: 12, fontWeight: FontWeight.w100),
|
||||
style: TextStyle(fontSize: 11, fontWeight: FontWeight.w100),
|
||||
),
|
||||
const SizedBox(height: 40),
|
||||
]),
|
||||
|
|
|
@ -25,9 +25,17 @@ class CustomSlider extends ConsumerWidget {
|
|||
Row(
|
||||
children: [
|
||||
const SizedBox(width: 5),
|
||||
Text(nameParameter),
|
||||
Text(
|
||||
nameParameter,
|
||||
style: const TextStyle(
|
||||
color: Color.fromARGB(255, 218, 218, 218)),
|
||||
),
|
||||
const Spacer(),
|
||||
Text(ref.watch(parameter).toString()),
|
||||
Text(
|
||||
ref.watch(parameter).toString(),
|
||||
style: const TextStyle(
|
||||
color: Color.fromARGB(255, 218, 218, 218)),
|
||||
),
|
||||
const SizedBox(width: 5),
|
||||
],
|
||||
),
|
||||
|
@ -44,7 +52,7 @@ class CustomSlider extends ConsumerWidget {
|
|||
onChanged: (double value) {
|
||||
ref.read(parameter.notifier).state = truncateDouble(value, 1);
|
||||
},
|
||||
activeColor: Colors.grey[400],
|
||||
activeColor: Color.fromARGB(255, 175, 175, 175),
|
||||
inactiveColor: Colors.grey[700],
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue