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 colors and exports for new EE pipelines UI #4084

Merged
merged 6 commits into from
Oct 16, 2023
Merged

Conversation

joshri
Copy link
Contributor

@joshri joshri commented Oct 16, 2023

Adds new colors to the theme, and exports where needed, and makes one important modification:

Previously, we had both black and neutral40 switching between 1a1a1a and fff in light and dark mode respectively...so they were doing the exact same thing. In the new pipelines UI, we have a case where black needs to stay black in both light and dark mode, so I've made it so black and white in our theme will stay their respective colors no matter the theme, while the neutral variants will switch. This is nice regardless as it gives some extra consistency - so you'll see every use of white and black we currently have will be changed to their neutral variants in this PR.

@joshri joshri added type/enhancement New feature or request area/ui Issues that require front-end work labels Oct 16, 2023
ui/lib/theme.ts Outdated
@@ -117,6 +119,7 @@ export const theme = (mode: ThemeTypes = ThemeTypes.Light): DefaultTheme => {
alertOriginal: "#BC3B1D",
alertDark: "#9F3119",
neutralGray: "#F6F7F9",
pipelineGray: "dde1e9",
Copy link
Contributor

Choose a reason for hiding this comment

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

The hashtag symbol is missing.

ui/lib/theme.ts Outdated
@@ -126,6 +129,7 @@ export const theme = (mode: ThemeTypes = ThemeTypes.Light): DefaultTheme => {
grayToPrimary: "#737373",
neutral20ToPrimary: "#d8d8d8",
backGray: "#eef0f4",
pipelinesBackGray: "eef0f4",
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, the hashtag symbol is missing.

@joshri joshri merged commit ff77b2f into main Oct 16, 2023
@joshri joshri deleted the pipeline-exports branch October 16, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Issues that require front-end work type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants