-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Josh theme tweaks #18284
Conversation
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit 7eac026. |
@@ -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()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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'; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${colorBorderHover()} inset 0px 0px 0px 1px; | |
box-shadow: ${colorBorderHover()} inset 0px 0px 0px 1px; |
margin: 0; | ||
transition: box-shadow 150ms; | ||
transition: border 150ms; |
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
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
background={colorBackgroundLight() | ||
} |
There was a problem hiding this comment.
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> */} |
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete?
Merging this, will update dish/palettes with fixes |
## 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
## 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
## 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
## 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
## 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
## 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
## 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
## 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
## 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
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