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

UI: Remove transport theme colors from KrailColors #587

Merged

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Feb 6, 2025

TL;DR

Removed transport-specific theme colors from the KrailColors data class

What changed?

Removed color properties related to specific transport modes (bus, train, ferry, coach, metro, light rail) and their corresponding "on" colors from the KrailColors data class and its implementations in both light and dark themes.

How to test?

  1. Build and run the application
  2. Verify that the basic theme colors (error, surface, etc.) are still working correctly
  3. Confirm that removing these transport-specific colors hasn't broken any existing UI components

Why make this change?

Transport-specific theming is being handled elsewhere in the application, making these color definitions redundant in the base KrailColors class. This change simplifies the color system and reduces maintenance overhead by removing unused color properties.

@ksharma-xyz ksharma-xyz changed the title Remove unnecessary colors from Color tokens UI: Remove transport theme colors from KrailColors Feb 6, 2025
Copy link
Owner Author

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

@ksharma-xyz ksharma-xyz force-pushed the 02-06-remove_unnecessary_colors_from_color_tokens branch from e9c9a8b to 88275c4 Compare February 6, 2025 21:05
@ksharma-xyz ksharma-xyz marked this pull request as ready for review February 6, 2025 21:05
@ksharma-xyz ksharma-xyz force-pushed the 02-06-remove_unnecessary_colors_from_color_tokens branch from 88275c4 to ded2b8e Compare February 7, 2025 23:09
@ksharma-xyz ksharma-xyz merged commit 09e7382 into main Feb 7, 2025
2 checks passed
Copy link
Owner Author

Merge activity

  • Feb 7, 6:20 PM EST: A user merged this pull request with Graphite.

@ksharma-xyz ksharma-xyz deleted the 02-06-remove_unnecessary_colors_from_color_tokens branch February 7, 2025 23:20
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