Rename bottomsheetIcon to secondaryIcon
To be able to reuse this color without loosing a correct semantic name.
This commit is contained in:
@@ -12,7 +12,7 @@ abstract final class AIScribeColors {
|
|||||||
// Icons
|
// Icons
|
||||||
static const Color scribeIcon = AppColor.primaryMain;
|
static const Color scribeIcon = AppColor.primaryMain;
|
||||||
static const Color aiAssistantIcon = AppColor.primaryMain;
|
static const Color aiAssistantIcon = AppColor.primaryMain;
|
||||||
static final Color bottomsheetIcon = AppColor.gray424244.withValues(alpha: 0.72);
|
static final Color secondaryIcon = AppColor.gray424244.withValues(alpha: 0.72);
|
||||||
|
|
||||||
// Overlays
|
// Overlays
|
||||||
static final Color dialogBarrier = Colors.black.withValues(alpha: 0.12);
|
static final Color dialogBarrier = Colors.black.withValues(alpha: 0.12);
|
||||||
|
|||||||
+2
-2
@@ -58,7 +58,7 @@ class _AiScribeMobileActionsBottomSheetState
|
|||||||
icon: widget.imagePaths.icArrowBackIos,
|
icon: widget.imagePaths.icArrowBackIos,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
iconSize: AIScribeSizes.bottomsheetIcon,
|
iconSize: AIScribeSizes.bottomsheetIcon,
|
||||||
iconColor: AIScribeColors.bottomsheetIcon,
|
iconColor: AIScribeColors.secondaryIcon,
|
||||||
padding: AIScribeSizes.backIconPadding,
|
padding: AIScribeSizes.backIconPadding,
|
||||||
onTapActionCallback: _goBackToCategories
|
onTapActionCallback: _goBackToCategories
|
||||||
)
|
)
|
||||||
@@ -80,7 +80,7 @@ class _AiScribeMobileActionsBottomSheetState
|
|||||||
icon: widget.imagePaths.icCloseDialog,
|
icon: widget.imagePaths.icCloseDialog,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
iconSize: AIScribeSizes.bottomsheetIcon,
|
iconSize: AIScribeSizes.bottomsheetIcon,
|
||||||
iconColor: AIScribeColors.bottomsheetIcon,
|
iconColor: AIScribeColors.secondaryIcon,
|
||||||
onTapActionCallback: () => Navigator.of(context).pop()
|
onTapActionCallback: () => Navigator.of(context).pop()
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user