mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
fix stupid colors
This commit is contained in:
parent
71cbfe0d6b
commit
abf31369a1
@ -17,7 +17,7 @@ class EmptyChatWidget extends StatelessWidget {
|
||||
width: double.infinity,
|
||||
height: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).scaffoldBackgroundColor,
|
||||
color: scale.primaryScale.appBackground,
|
||||
),
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
@ -265,6 +265,9 @@ ThemeData contrastGenerator({
|
||||
final themeData = ThemeData.from(
|
||||
colorScheme: colorScheme, textTheme: textTheme, useMaterial3: true);
|
||||
return themeData.copyWith(
|
||||
appBarTheme: themeData.appBarTheme.copyWith(
|
||||
backgroundColor: scaleScheme.primaryScale.border,
|
||||
foregroundColor: scaleScheme.primaryScale.borderText),
|
||||
bottomSheetTheme: themeData.bottomSheetTheme.copyWith(
|
||||
elevation: 0,
|
||||
modalElevation: 0,
|
||||
|
@ -636,6 +636,9 @@ ThemeData radixGenerator(Brightness brightness, RadixThemeColor themeColor) {
|
||||
}
|
||||
return scaleScheme.primaryScale.subtleBorder;
|
||||
})),
|
||||
appBarTheme: themeData.appBarTheme.copyWith(
|
||||
backgroundColor: scaleScheme.primaryScale.border,
|
||||
foregroundColor: scaleScheme.primaryScale.borderText),
|
||||
bottomSheetTheme: themeData.bottomSheetTheme.copyWith(
|
||||
elevation: 0,
|
||||
modalElevation: 0,
|
||||
|
@ -94,10 +94,10 @@ class ScaleScheme extends ThemeExtension<ScaleScheme> {
|
||||
// onErrorContainer: errorScale.subtleText,
|
||||
background: grayScale.appBackground, // reviewed
|
||||
onBackground: grayScale.appText, // reviewed
|
||||
surface: primaryScale.primary, // reviewed
|
||||
onSurface: primaryScale.primaryText, // reviewed
|
||||
surfaceVariant: secondaryScale.primary,
|
||||
onSurfaceVariant: secondaryScale.primaryText, // ?? reviewed a little
|
||||
surface: primaryScale.appBackground, // reviewed
|
||||
onSurface: primaryScale.appText, // reviewed
|
||||
surfaceVariant: secondaryScale.appBackground,
|
||||
onSurfaceVariant: secondaryScale.appText,
|
||||
outline: primaryScale.border,
|
||||
outlineVariant: secondaryScale.border,
|
||||
shadow: primaryScale.primary.darken(80),
|
||||
|
@ -113,7 +113,7 @@ class SliderTile extends StatelessWidget {
|
||||
? tileColor.border
|
||||
: tileColor.borderText)
|
||||
: scale.scale(a.actionScale).primaryText,
|
||||
icon: subtitle.isNotEmpty ? a.icon : null,
|
||||
icon: subtitle.isEmpty ? a.icon : null,
|
||||
label: a.label,
|
||||
padding: const EdgeInsets.all(2)),
|
||||
)
|
||||
@ -136,7 +136,7 @@ class SliderTile extends StatelessWidget {
|
||||
? tileColor.border
|
||||
: tileColor.borderText)
|
||||
: scale.scale(a.actionScale).primaryText,
|
||||
icon: subtitle.isNotEmpty ? a.icon : null,
|
||||
icon: subtitle.isEmpty ? a.icon : null,
|
||||
label: a.label,
|
||||
padding: const EdgeInsets.all(2)),
|
||||
)
|
||||
|
@ -123,7 +123,7 @@ extension ThemePreferencesExt on ThemePreferences {
|
||||
scaleConfig: ScaleConfig(
|
||||
useVisualIndicators: true,
|
||||
preferBorders: true,
|
||||
borderRadiusScale: 0.5),
|
||||
borderRadiusScale: 0.2),
|
||||
primaryFront: const Color(0xFF000000),
|
||||
primaryBack: const Color(0xFF00FF00),
|
||||
secondaryFront: const Color(0xFF000000),
|
||||
|
Loading…
Reference in New Issue
Block a user