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

Josh theme tweaks #18284

Merged
merged 18 commits into from
Nov 27, 2023
Merged

Josh theme tweaks #18284

merged 18 commits into from
Nov 27, 2023

Conversation

braunjj
Copy link
Contributor

@braunjj braunjj commented Nov 27, 2023

Summary & Motivation

Adds a bunch of small style tweaks to the dark and light themes

How I Tested These Changes

Booted up the UI and tried it

@braunjj braunjj requested a review from hellendag November 27, 2023 16:41
Copy link

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-pozjpkj80-elementl.vercel.app
https://josh-theme-tweaks.components-storybook.dagster-docs.io

Built with commit 7eac026.
This pull request is being automatically deployed with vercel-action

@@ -118,7 +118,7 @@ const SwitchIcon = ({checked, indeterminate, fillColor, disabled}: IconProps) =>
width="20"
height="20"
rx="10"
fill={disabled ? colorBackgroundDisabled() : colorBackgroundDefault()}
fill={disabled ? colorAccentWhite() : colorAccentWhite()}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
fill={disabled ? colorAccentWhite() : colorAccentWhite()}
fill={colorAccentWhite()}

@@ -3,7 +3,7 @@ import {Dialog as BlueprintDialog} from '@blueprintjs/core';
import * as React from 'react';
import styled, {createGlobalStyle} from 'styled-components';

import {colorAccentPrimary, colorBackgroundDefault} from '../theme/color';
import {colorAccentPrimary, colorBackgroundDefault, colorDialogBackground} from '../theme/color';
Copy link
Member

Choose a reason for hiding this comment

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

🙏


box-shadow: ${colorBorderDefault()} inset 0px 0px 0px 1px;
:hover {
${colorBorderHover()} inset 0px 0px 0px 1px;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
${colorBorderHover()} inset 0px 0px 0px 1px;
box-shadow: ${colorBorderHover()} inset 0px 0px 0px 1px;

margin: 0;
transition: box-shadow 150ms;
transition: border 150ms;
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is correct -- aren't we using box-shadow instead of border?

@@ -40,6 +40,7 @@ export enum ColorName {
BorderDefault = 'BorderDefault',
BorderHover = 'BorderHover',
BorderDisabled = 'BorderDisabled',
BorderFocussed = 'BorderFocussed',
Copy link
Member

Choose a reason for hiding this comment

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

BorderFocused for US English spelling

Comment on lines +319 to +320
background={colorBackgroundLight()
}
Copy link
Member

Choose a reason for hiding this comment

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

Don't forget to run lint

@@ -30,7 +35,7 @@ export const GroupNodeNameAndRepo = ({group, minimal}: {minimal: boolean; group:
>
{withMiddleTruncation(name, {maxLength: 14})}
</div>
<div style={{fontSize: 20}}>{withMiddleTruncation(location, {maxLength: 21})}</div>
{/* <div style={{fontSize: 20}}>{withMiddleTruncation(location, {maxLength: 21})}</div> */}
Copy link
Member

Choose a reason for hiding this comment

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

Delete or uncomment?

icon: meltano,
content: 'Meltano',
},
matplotlib: {
color: '#2B597C',
color: '#055998',
Copy link
Member

Choose a reason for hiding this comment

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

At some point we should turn these into rgba values.

}
//$color={reduceColor ? color : textcolor}
$color={reversed ? colorAccentPrimary() : color}
// $color={reduceColor ? color : textcolor}
Copy link
Member

Choose a reason for hiding this comment

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

Delete?

@hellendag
Copy link
Member

Merging this, will update dish/palettes with fixes

@hellendag hellendag merged commit ac32f60 into dish/palettes Nov 27, 2023
1 of 3 checks passed
@hellendag hellendag deleted the josh-theme-tweaks branch November 27, 2023 18:38
hellendag pushed a commit that referenced this pull request Nov 27, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Nov 28, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Nov 29, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Nov 30, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Nov 30, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Nov 30, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Nov 30, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Dec 1, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
hellendag pushed a commit that referenced this pull request Dec 1, 2023
## Summary & Motivation
Adds a bunch of small style tweaks to the dark and light themes 

## How I Tested These Changes
Booted up the UI and tried it
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.

2 participants