fix : ui bug
This commit is contained in:
@@ -7,7 +7,8 @@ class AppColor {
|
||||
static const Color blueLight = Color(0xFFeaefff); // #eaefff rgb(234, 239, 255)
|
||||
static const Color blueLightHover = Color(0xFFe0e7ff); // #e0e7ff rgb(224, 231, 255)
|
||||
static const Color blueLightActive = Color(0xFFbecdff); // #becdff rgb(190, 205, 255)
|
||||
static const Color blueNormal = Color(0xFF2d5fff); // #2d5fff rgb(45, 95, 255)
|
||||
static const Color blueNormalOld = Color(0xFF2d5fff); // #2d5fff rgb(45, 95, 255)
|
||||
static const Color blueNormal = blueDark;
|
||||
static const Color blueNormalHover = Color(0xFF2956e6); // #2956e6 rgb(41, 86, 230)
|
||||
static const Color blueNormalActive = Color(0xFF244ccc); // #244ccc rgb(36, 76, 204)
|
||||
static const Color blueDark = Color(0xFF2247bf); // #2247bf rgb(34, 71, 191)
|
||||
@@ -168,13 +169,13 @@ class AppColor {
|
||||
static const Color bgIcon = Color(0xFF797979); // #797979
|
||||
static const Color bgDark = Color(0xFF979797); // #083940 rgb(8, 57, 64)
|
||||
static const Color textColor = Color(0xFF5B5B5B); // #083940 rgb(8, 57, 64)
|
||||
static const Color labelTextColor = Color(0xFF808080);
|
||||
static const Color textColorLight = Color(0xFFB2B2B2);
|
||||
static const Color iconColor = Color(0xFF444444); // #444444 rgb(68, 68, 68)
|
||||
static const Color borderColor = Color(0xFFC7CFCD); // #C7CFCD rgb(199, 207, 205)`
|
||||
static const Color unselectTextColor = Color(0xFF888888); //
|
||||
static const Color accent1 = Color(0xffffe5ce); //
|
||||
|
||||
|
||||
//endregion
|
||||
|
||||
//region --- category Colors ---
|
||||
|
||||
@@ -83,6 +83,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/chicken.svg
|
||||
SvgGenImage get chicken => const SvgGenImage('assets/icons/chicken.svg');
|
||||
|
||||
/// File path: assets/icons/chicken2.svg
|
||||
SvgGenImage get chicken2 => const SvgGenImage('assets/icons/chicken2.svg');
|
||||
|
||||
/// File path: assets/icons/chicken_house.svg
|
||||
SvgGenImage get chickenHouse => const SvgGenImage('assets/icons/chicken_house.svg');
|
||||
|
||||
@@ -351,6 +354,7 @@ class $AssetsIconsGen {
|
||||
check,
|
||||
checkSquare,
|
||||
chicken,
|
||||
chicken2,
|
||||
chickenHouse,
|
||||
chickenMapMarker,
|
||||
chickenPattern,
|
||||
@@ -547,6 +551,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/chicken.svg.vec
|
||||
SvgGenImage get chickenSvg => const SvgGenImage.vec('assets/vec/chicken.svg.vec');
|
||||
|
||||
/// File path: assets/vec/chicken2.svg.vec
|
||||
SvgGenImage get chicken2Svg => const SvgGenImage.vec('assets/vec/chicken2.svg.vec');
|
||||
|
||||
/// File path: assets/vec/chicken_house.svg.vec
|
||||
SvgGenImage get chickenHouseSvg => const SvgGenImage.vec('assets/vec/chicken_house.svg.vec');
|
||||
|
||||
@@ -815,6 +822,7 @@ class $AssetsVecGen {
|
||||
checkSvg,
|
||||
checkSquareSvg,
|
||||
chickenSvg,
|
||||
chicken2Svg,
|
||||
chickenHouseSvg,
|
||||
chickenMapMarkerSvg,
|
||||
chickenPatternSvg,
|
||||
|
||||
@@ -106,9 +106,9 @@ class GlassMorphismCardIcon extends StatelessWidget {
|
||||
this.borderColor = AppColor.blueNormal,
|
||||
this.backgroundColor = Colors.white,
|
||||
this.borderRadius = 35,
|
||||
this.width = 180,
|
||||
this.labelHeight = 80,
|
||||
this.height = 180,
|
||||
this.width = 160,
|
||||
this.labelHeight = 71,
|
||||
this.height = 160,
|
||||
this.borderWidth = 1,
|
||||
this.iconWidth = 48,
|
||||
this.iconHeight = 48,
|
||||
@@ -173,7 +173,7 @@ class GlassMorphismCardIcon extends StatelessWidget {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
SizedBox(height: labelHeight.h + 35.h),
|
||||
SizedBox(height: labelHeight.h + 27.h),
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 8.w),
|
||||
child: Text(
|
||||
@@ -181,7 +181,7 @@ class GlassMorphismCardIcon extends StatelessWidget {
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
titleStyle ??
|
||||
AppFonts.yekan20Bold.copyWith(color: titleColor, height: 1.20),
|
||||
AppFonts.yekan18Bold.copyWith(color: titleColor, height: 1.20),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user