Compare commits

..

2 Commits

5 changed files with 19 additions and 13 deletions

View File

@@ -2,9 +2,12 @@
All notable changes to this project will be documented in this file.
## 0.0.3
* Update Mih Color Red to a deeper red
## 0.0.2
### Initial Release
Usability and Bug Fixes
* Add support for all platforms.
* Remove ThemeDate dependancy on mih_package_toolkit widgets.

View File

@@ -49,7 +49,7 @@ class _ExampleMihPackageState extends State<ExampleMihPackage> {
Widget actionButton() {
return MihPackageAction(
iconColor: MihColors.secondary(),
icon: Icon(Icons.arrow_back),
icon: Icon(MihIcons.mihLogo),
iconSize: 35,
onTap: () {
Navigator.pop(context);
@@ -86,8 +86,10 @@ class _ExampleMihPackageState extends State<ExampleMihPackage> {
return [
MihPackageToolBody(
backgroundColor: MihColors.primary(),
bodyItem: Center(
child: Text(
bodyItem: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
"Tool Body One",
style: TextStyle(
color: MihColors.secondary(),
@@ -95,6 +97,7 @@ class _ExampleMihPackageState extends State<ExampleMihPackage> {
fontWeight: FontWeight.bold,
),
),
],
),
),
MihPackageToolBody(

View File

@@ -209,7 +209,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.2"
version: "0.0.3"
path:
dependency: transitive
description:

View File

@@ -80,7 +80,7 @@ class MihColors {
/// Semantic red color typically used for error states, warnings, or deletions.
static Color red({bool? darkMode}) {
if (darkMode == true || darkMode == null) {
return const Color(0xffD87E8B);
return const Color(0xffdb5368);
} else {
return const Color(0xffbb3d4f);
}

View File

@@ -1,6 +1,6 @@
name: mih_package_toolkit
description: "A comprehensive UI toolkit and utility library for building consistent MIH Packages within the MIH Project ecosystem."
version: 0.0.2
version: 0.0.3
homepage: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih_package_toolkit
repository: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih_package_toolkit
issue_tracker: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih_package_toolkit/issues