This commit is contained in:
@@ -52,7 +52,9 @@ class CardThemeExtensionImpl extends CardThemeExtension {
|
||||
borderColors: WyattColors.lightGradient,
|
||||
titleStyle: theme.textTheme.titleLarge,
|
||||
subtitleStyle: theme.textTheme.titleMedium,
|
||||
bodyStyle: theme.textTheme.bodyMedium,
|
||||
bodyStyle: theme.textTheme.bodyMedium?.copyWith(
|
||||
height: 1.5,
|
||||
),
|
||||
minSize: const Size(330, 0),
|
||||
maxSize: const Size(390, double.infinity),
|
||||
shadow: BoxShadow(
|
||||
@@ -76,7 +78,9 @@ class CardThemeExtensionImpl extends CardThemeExtension {
|
||||
borderColors: WyattColors.grayGradient,
|
||||
titleStyle: theme.textTheme.titleLarge,
|
||||
subtitleStyle: theme.textTheme.titleMedium,
|
||||
bodyStyle: theme.textTheme.bodyMedium,
|
||||
bodyStyle: theme.textTheme.bodyMedium?.copyWith(
|
||||
height: 1.5,
|
||||
),
|
||||
minSize: const Size(330, 0),
|
||||
maxSize: const Size(390, double.infinity),
|
||||
shadow: BoxShadow(
|
||||
|
||||
+5
-6
@@ -16,6 +16,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:wyatt_ui_components/wyatt_ui_components.dart';
|
||||
import 'package:wyatt_ui_kit/src/core/design_system/colors.dart';
|
||||
|
||||
class LoaderThemeExtensionImpl extends LoaderThemeExtension {
|
||||
const LoaderThemeExtensionImpl({
|
||||
@@ -27,9 +28,8 @@ class LoaderThemeExtensionImpl extends LoaderThemeExtension {
|
||||
theme ??= ThemeData.light();
|
||||
return const LoaderThemeExtensionImpl(
|
||||
colors: MultiColor([
|
||||
Color(0xFF436EF4),
|
||||
Color(0xFF3C97FB),
|
||||
Colors.transparent,
|
||||
WyattColors.blue1,
|
||||
WyattColors.light,
|
||||
]),
|
||||
stroke: 15,
|
||||
);
|
||||
@@ -37,10 +37,9 @@ class LoaderThemeExtensionImpl extends LoaderThemeExtension {
|
||||
|
||||
factory LoaderThemeExtensionImpl.dark({ThemeData? theme}) {
|
||||
theme ??= ThemeData.dark();
|
||||
return const LoaderThemeExtensionImpl(
|
||||
return LoaderThemeExtensionImpl(
|
||||
colors: MultiColor([
|
||||
Color(0xFF3C97FB),
|
||||
Color(0xFF436EF4),
|
||||
...WyattColors.blueBtnGradient.colors,
|
||||
Colors.transparent,
|
||||
]),
|
||||
stroke: 15,
|
||||
|
||||
-6
@@ -49,7 +49,6 @@ class RichTextBuilderThemeExtensionImpl extends RichTextBuilderThemeExtension {
|
||||
static Map<String, TextStyle> stylesFor(ThemeData theme) => {
|
||||
'gradient-blue': GradientTextStyle.from(
|
||||
theme.textTheme.bodyMedium?.copyWith(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
height: 1.8,
|
||||
),
|
||||
@@ -60,7 +59,6 @@ class RichTextBuilderThemeExtensionImpl extends RichTextBuilderThemeExtension {
|
||||
),
|
||||
'gradient-red': GradientTextStyle.from(
|
||||
theme.textTheme.bodyMedium?.copyWith(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
height: 1.8,
|
||||
),
|
||||
@@ -71,7 +69,6 @@ class RichTextBuilderThemeExtensionImpl extends RichTextBuilderThemeExtension {
|
||||
),
|
||||
'gradient-green': GradientTextStyle.from(
|
||||
theme.textTheme.bodyMedium?.copyWith(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
height: 1.8,
|
||||
),
|
||||
@@ -81,7 +78,6 @@ class RichTextBuilderThemeExtensionImpl extends RichTextBuilderThemeExtension {
|
||||
]),
|
||||
),
|
||||
'blue': theme.textTheme.bodyMedium?.copyWith(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: const Color(0xFF3C97FB),
|
||||
height: 1.8,
|
||||
@@ -90,7 +86,6 @@ class RichTextBuilderThemeExtensionImpl extends RichTextBuilderThemeExtension {
|
||||
color: Color(0xFF3C97FB),
|
||||
),
|
||||
'red': theme.textTheme.bodyMedium?.copyWith(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: const Color(0xFFF44464),
|
||||
height: 1.8,
|
||||
@@ -99,7 +94,6 @@ class RichTextBuilderThemeExtensionImpl extends RichTextBuilderThemeExtension {
|
||||
color: Color(0xFFF44464),
|
||||
),
|
||||
'green': theme.textTheme.bodyMedium?.copyWith(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: const Color(0xFF00D16C),
|
||||
height: 1.8,
|
||||
|
||||
Reference in New Issue
Block a user