Skip to content

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Dec 6, 2023

We've had feedback that some people miss the dark blue, and this is an easier first target for adding a theme switcher than light mode, so lets bring it back!

It's currently inaccessible, because it will need #11069 for persistence and another PR to actually introduce a setting for it to the app. This PR mostly exists to make that later PR more reviewable, by keeping its diff simpler.

Notable changes:

  • No more importing theme/colors! Colors need to be tweakable from theme to theme, and should be a part of the theme itself

  • Add theme.colors to replace the old globally importable module, and switch everyone over

  • Duplicate theme/dark, with minor modifications, giving us theme/darkBlue

  • Actually fixes a minor visual bug where our buttons and inputs haven't been using Inter 💀

  • Some other small things snuck in because I never have any self control about those

Don't let the big line count scare you! Most of it is from moving/duplicating files without actually changing much!

@aslilac aslilac requested review from a team and Kira-Pilot and removed request for a team December 6, 2023 21:49
@@ -32,7 +31,7 @@ export interface LicenseBannerViewProps {
warnings: string[];
}

export const LicenseBannerView: React.FC<LicenseBannerViewProps> = ({
export const LicenseBannerView: FC<LicenseBannerViewProps> = ({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know of a way to get our linter to enforce this?

Copy link
Member Author

@aslilac aslilac Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, I wish 😪

Copy link
Member

@Kira-Pilot Kira-Pilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delayed review! Pulled it down and poked around - looks great!

@aslilac aslilac merged commit ebd6c1b into main Dec 8, 2023
@aslilac aslilac deleted the bbdb branch December 8, 2023 21:38
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants