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. 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 ## 0.0.2
### Initial Release
Usability and Bug Fixes Usability and Bug Fixes
* Add support for all platforms. * Add support for all platforms.
* Remove ThemeDate dependancy on mih_package_toolkit widgets. * Remove ThemeDate dependancy on mih_package_toolkit widgets.

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
name: mih_package_toolkit name: mih_package_toolkit
description: "A comprehensive UI toolkit and utility library for building consistent MIH Packages within the MIH Project ecosystem." 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 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 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 issue_tracker: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih_package_toolkit/issues