Skip to content

UI: Update KRAIL title color to use theme color #686

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

Draft
wants to merge 1 commit into
base: graphite-base/686
Choose a base branch
from

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Mar 29, 2025

TL;DR

Updated the KRAIL title text color in the SavedTripsScreen to use the theme color.

What changed?

  • Added imports for LocalThemeColor, hexToComposeColor, and getForegroundColor from the taj package
  • Retrieved the current theme color using LocalThemeColor.current
  • Modified the title text in the TitleBar to use the theme color by applying color = themeColor.hexToComposeColor()

How to test?

  1. Navigate to the SavedTripsScreen
  2. Verify that the "KRAIL" title text now appears in the current theme color instead of the default color
  3. Test with different theme settings to ensure the color changes appropriately

Why make this change?

This change ensures the title text color is consistent with the app's theming system, improving visual coherence and following the design guidelines for the application.

Copy link
Owner Author

ksharma-xyz commented Mar 29, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ksharma-xyz ksharma-xyz changed the title Display KRAIL text in theme color UI: Update KRAIL title color to use theme color Mar 29, 2025
@ksharma-xyz ksharma-xyz marked this pull request as ready for review March 29, 2025 13:02
@ksharma-xyz ksharma-xyz force-pushed the 03-29-display_krail_text_in_theme_color branch from 1bd046d to 8c63ded Compare March 29, 2025 13:07
@ksharma-xyz ksharma-xyz force-pushed the 03-29-update_text_colors_for_light_and_dark_mode_to_increase_contrast_and_also_for_a11y_to_support_diff._theme_color_styles branch 3 times, most recently from fa45391 to b3c6225 Compare March 29, 2025 13:29
@ksharma-xyz ksharma-xyz force-pushed the 03-29-display_krail_text_in_theme_color branch from 8c63ded to 2efadda Compare March 29, 2025 13:29
@ksharma-xyz
Copy link
Owner Author

On Clicking logo

  • Change color
  • Display anim, something cool.
  • Display tag line fir selected theme in animated way.
  • If there is a festival happening, maybe display the festival details instead of tag line ?

@ksharma-xyz ksharma-xyz marked this pull request as draft March 30, 2025 10:33
@ksharma-xyz ksharma-xyz force-pushed the 03-29-update_text_colors_for_light_and_dark_mode_to_increase_contrast_and_also_for_a11y_to_support_diff._theme_color_styles branch 3 times, most recently from ae2740e to 0973ddb Compare April 1, 2025 09:52
@ksharma-xyz ksharma-xyz changed the base branch from 03-29-update_text_colors_for_light_and_dark_mode_to_increase_contrast_and_also_for_a11y_to_support_diff._theme_color_styles to graphite-base/686 April 1, 2025 09:53
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.

1 participant