Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dark mode for images #624

Merged
merged 7 commits into from
Apr 19, 2024

Conversation

lammertw
Copy link
Contributor

Adds images dark mode support. Images that have "-dark" added to their name will be recognized as dark mode images. By adding them to a "-night" themes resources folder on Android and giving them the "dark" mode appearance classifier on iOS they are automatically picked up by the Android night theme and iOS dark mode.

@lammertw lammertw changed the base branch from master to develop January 12, 2024 01:14
@Alex009
Copy link
Member

Alex009 commented Jan 14, 2024

thanks! but changes will be required after #575 merge - plugin was rewritten. after merge of #575 if you not update this branch - i will

@enthuan
Copy link

enthuan commented Jan 17, 2024

Great news! I was expecting that!

@lammertw lammertw changed the base branch from develop to #535-kotlin-1.9.0-support January 17, 2024 16:17
@lammertw
Copy link
Contributor Author

Sure, I've updated the PR for #575 and changed the merge target to that branch as well.

@lammertw
Copy link
Contributor Author

Unless you want to merge this functionality before merging #575 in which case I'll make a separate PR

@Alex009 Alex009 added this to the 0.24.0 milestone Feb 5, 2024
@lammertw
Copy link
Contributor Author

Any update on this?

@Alex009 Alex009 deleted the branch icerockdev:develop April 18, 2024 14:00
@Alex009 Alex009 closed this Apr 18, 2024
@Alex009 Alex009 reopened this Apr 18, 2024
@Alex009 Alex009 changed the base branch from #535-kotlin-1.9.0-support to develop April 18, 2024 14:07
ExNDY added 3 commits April 19, 2024 08:14
# Conflicts:
#	resources-generator/src/main/kotlin/dev/icerock/gradle/generator/resources/image/AndroidImageResourceGenerator.kt
#	resources-generator/src/main/kotlin/dev/icerock/gradle/metadata/resource/ResourceMetadata.kt
#	resources-generator/src/main/kotlin/dev/icerock/gradle/utils/StringExt.kt
@Alex009 Alex009 modified the milestones: 0.24.0, 0.25.0 Apr 19, 2024
@Alex009 Alex009 linked an issue Apr 19, 2024 that may be closed by this pull request
@Alex009 Alex009 merged commit 5595047 into icerockdev:develop Apr 19, 2024
30 checks passed
@lammertw lammertw deleted the images-dark-mode branch May 6, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Light/Dark mode for images
4 participants