Releases: IODevBlue/DesignColors
Design Colors v1.2.1
🚀 Features
- a3b5e44 feat: Added github workflow for merging development to main.
- 0530195 feat: Added Color conversion extension functions
Added extension functions to convert between Android ColorInt/ColorLong and Jetpack Compose Color.
🔄 Changes
- 69b51a8 refactor: Refactored build.gradle.kts and updated dependencies
The build.gradle.kts file in the designcolors module was significantly refactored. Publishing and JReleaser configurations were reorganized. Dependency versions in libs.versions.toml were updated, and the sonatype-central entry was removed. Several Gradle tasks related to documentation generation, packaging, and publishing were reordered and refined.
- 97b459f refactor: Updated jreleaser configuration and task dependencies.
- 9a45259 refactor: Refactored DesignColors and added more color palettes
The DesignColors object was refactored with the following changes:
- Package name changed from
com.blueiobase.api.android.designcolorstoio.github.iodevblue.api.android.designcolors - Added new color palettes for Apple HIG, Atlassian, Bootstrap, and Microsoft Fluent design systems.
- Added new utility functions for converting between Android ColorInt and Jetpack Compose Color, and for adding alpha with a Float value.
- Updated KDoc comments for clarity and to include links to official color documentation.
- Corrected Instagram Dark Orange color value.
- Added X (formerly Twitter) brand colors as a separate object.
- Replaced
android.graphics.Colorwith_root_ide_package_.android.graphics.Colorto avoid import conflicts. - Removed the old AndroidManifest.xml and created a new one in the
designcolorsmodule. - bce4961 refactor: Migrate to Gradle Kotlin DSL and update project structure
This commit migrates the project's build scripts from Groovy (build.gradle, settings.gradle) to Kotlin DSL (build.gradle.kts, settings.gradle.kts).
Key changes include:
- Removed Groovy-based Gradle files.
- Added new Kotlin DSL Gradle files for the root project and the
designcolorsmodule. - Updated
gradle.propertieswith new configurations and commented out some older ones. - Introduced JReleaser for release management and updated signing configurations.
- Added tasks for creating AAR, sources JAR, Javadoc JAR, and project ZIP files.
- Updated dependencies to use the Guava Android variant and ensure consistent listenablefuture version for AndroidX.
- Added tasks to copy generated HTML documentation and Javadoc to a specific directory.
- Renamed the library module from
librarytodesigncolors.
🛠 Build
-
cee45ef build: Triggering the workflow on new tags matching
v*in addition to published releases. -
2488c58 build: Updated merge_development_to_main.yml workflow
-
Trigger workflow on release publish instead of tag push.
-
Improved git commands for clarity and robustness.
-
Added step to notify on merge failure.
-
5fe7978 build: Refactor merge workflow to trigger on tag push
-
f789b68 build: Refactor build scripts and CI
-
6883278 build: Updated JReleaser GitHub Action and build.gradle.kts
-
Added execute permission for Gradlew in GitHub workflow.
-
Modified
jreleaserReleasetask dependencies inbuild.gradle.kts. -
Added new task
createStagingDeployDirto ensurebuild/staging-deploydirectory exists.
🧪 Tests
- 48c8b3d test: Removed ExampleInstrumentedTest and ExampleUnitTest
🧰 Tasks
-
fb03ef7 chore: Refactored class to use direct imports and simplified annotations
-
582e5ff chore: Migrate to version catalogs and update Gradle version
-
Added
libs.versions.tomlfor centralized dependency management. -
Upgraded Gradle wrapper to version 9.0.0.
-
Added
CONTRIBUTING.mdwith contribution guidelines. -
Added
jreleaser-schema-1.20.0.json. -
Added
designcolors/module.mddocumentation. -
Updated
.gitignoreto exclude additional IDE files and build artifacts. -
Renamed
librarymodule todesigncolorsand updated associated configuration files.
📝 Documentation
- 26e862d docs: Updated CHANGELOG.md for version 1.2.1
Added extensions to convert between Android and Jetpack Compose colors.
- ebd43bc docs: Updated README and CONTRIBUTING files, added CHANGELOG for 1.2.0
- 9cfce51 docs: Added changelog file and updated README
- 6b9a733 docs: Updated Gradle and Kotlin versions
The README file was updated to reflect the new Gradle version (9.0.0) and Kotlin version (2.2.20) used in the project. The links to the respective release notes were also updated.
- ad23680 docs: README update
Contributors
To all the contributors: you rock!
- Emmanuel E (@IODevBlue)
Design Colors v1.1.2
- Included @JvmStatic to ease Java interoperability.
- Added utility function getRGB() and createColor().
Design Colors v1.1.1
- Added Utility functions addAlpha() and isDarkColor().
- Added design colors for popular brands: Google, Twitter, Instagram, Youtube, Pinterest etc.
Design Colors v1.0.1
- Changed library name from MaterialPaletteColors to DesignColors to accommodate other design colors.
- Added Flat Design Colors.
- Changed color constants to RGB values.