-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since there are a lot of custom colors used in this app, I created a JetLaggedExtraColors that is handed down as a composition local similar to the main MaterialTheme. I created dark versions of the colors trying to quickly eyeball what looks good, but we can always change them later since they now flow from one place. This also updates the shaders to accept colors. I used a threshold to make the moving stripes one switch to the background color for the last draw since that was the easiest fix. With more time, adjusting the loop might make it a bit more robust, but I think this works well as a first stab (and we can easily change the colors). The solar flare shader also takes colors now. That one was using alpha to blend, so now it's instead mixing the color channels based on what the alpha would have been. ![light theme](https://github.com/user-attachments/assets/c78b54ba-daaa-41e3-ad9b-8507218f60f5) ![dark theme](https://github.com/user-attachments/assets/2b576d5b-ba1a-4222-afea-ff6d5a6ea120)
- Loading branch information
Showing
15 changed files
with
327 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.