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

Updated Dark Theme UI Values #38

Merged
merged 2 commits into from
Aug 15, 2019
Merged

Updated Dark Theme UI Values #38

merged 2 commits into from
Aug 15, 2019

Conversation

bstifle
Copy link
Contributor

@bstifle bstifle commented Aug 14, 2019

Updated dark theme colors to new colors. Including the dark theme background and foreground

image

Copy link
Contributor

@julio8a julio8a left a comment

Choose a reason for hiding this comment

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

Looks good!

@kyle-03674
Copy link
Contributor

@bstifle nice start. I like where that's going.
1 - can you show me the light theme equivalent for comparison?
2 - the red pressed state, when compared to the other pressed states, is less saturated - do you want make it a bit lighter/brighter?

Copy link

@macandcheese macandcheese left a comment

Choose a reason for hiding this comment

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

These look good - left a few comments.

I also think it'd be good to have:

ui-foreground-hover: $blk-010
ui-foreground-pressed: $blk-020

ui-foreground-dark-hover: $blk-210
ui-foreground-dark-pressed: $blk-220

(obviously can't go "step lighter" from pure white like we do with buttons, but this is a nice bit of feedback for sequential actions of hover/focus, and :active)

There are many UI elements that have hover, and pressed states, and it'd be nice to define those colors here. For instance, alerts and modal close buttons, and dropdown items:

Artboard

@@ -466,18 +466,18 @@
"ui-red-pressed": "#7c1d13",
"ui-background": "#f3f3f3",
"ui-foreground": "#353535",

Choose a reason for hiding this comment

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

Are these correct? Isn't in "light theme" ui-foreground: $blk-000 (#fff) and ui-background: $blk-005 (#f8f8f8)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct... same issue. brought this up with @julio8a too.

These were already there... so existing

$ui-red-pressed-dark: #FF6852;
$ui-background-dark: $blk-210;
$ui-foreground-dark: $blk-000;

Choose a reason for hiding this comment

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

I think the foreground is the wrong variable here - "dark theme" ui-foreground: $blk-200 (#2b2b2b) and ui-background: $blk-210 (#202020)

Copy link
Contributor

Choose a reason for hiding this comment

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

The way we are using foreground is for text. Look at light theme foreground and background. That’s how Paul and I initially put it together.

Copy link

Choose a reason for hiding this comment

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

Yeah, that's just kind of confusing no? I'd expect background to be the ... background and foreground to... be the foreground?

Wouldn't that also limit us to one "named" text color?

I'm not sure "foreground" really means "text color" for anyone, I think it is more associated with surfaces in an app than anything else, and why it'd be nice to supplement with hover and pressed states... cc @paulcpederson for thoughts.

Copy link
Member

Choose a reason for hiding this comment

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

I'm good to change that variable if it's confusing. Just wanted to create a var for normal body text color. Open to suggestions

Copy link
Contributor Author

@bstifle bstifle Aug 14, 2019

Choose a reason for hiding this comment

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

oh, if its normal body text color then we should call it that. it's misleading fo sho. if we are following #555555 for light theme body, then we should go #bfbfbf for dark theme body

Copy link
Contributor Author

Choose a reason for hiding this comment

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

e.g.

Light theme:
#2b2b2b headers
#555555 body

Dark theme:
#ffffff headers
#BFBFBF body

Choose a reason for hiding this comment

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

ui-foreground: $blk-000
ui-foreground-hover: $blk-010
ui-foreground-pressed: $blk-020

ui-text-1: $blk-160
ui-text-2:$blk-180
ui-text-3: $blk-200

ui-foreground-dark: $blk-200
ui-foreground-dark-hover: $blk-210
ui-foreground-dark-pressed: $blk-220

ui-text-dark-1: $blk-060
ui-text-dark-2:$blk-040
ui-text-dark-3: $blk-020

Kind of confusing to have "dark" be light and vice versa, but those are the kind of variables I'd want to use, a range of "surface" colors for default, hover, pressed, and then a few body text colors (or just one if we think three is two many)...

Choose a reason for hiding this comment

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

Yeah, "header / body/ ?" better than levels of 1/2/3 fo sho.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@macandcheese for this comment:

ui-foreground-hover: $blk-010
ui-foreground-pressed: $blk-020

ui-foreground-dark-hover: $blk-210
ui-foreground-dark-pressed: $blk-220

down and down. love this

@bstifle
Copy link
Contributor Author

bstifle commented Aug 14, 2019

@kyle-03674 pressed red needs to be lighter. any more saturation and we are getting too dark. red is tricky on dark backgrounds

note that light and dark theme button states are different (inverted). eg. how pressed is light on dark theme, and hover is darker than default on dark theme

image

@kyle-03674
Copy link
Contributor

@bstifle right - makes sense to go lighter for pressed on dark theme. I was suggesting/asking if your red pressed dark theme color should be even lighter to be more similar to the other hues. like this
image

@kyle-03674
Copy link
Contributor

and thanks for the comparison :) i think these new dark theme colors feel right in line with light theme

@bstifle
Copy link
Contributor Author

bstifle commented Aug 15, 2019

hmm yeah! @kyle-03674 i could go for that on the pressed. @macandcheese @julio8a what do you think?

@macandcheese
Copy link

looks good to me!

@julio8a
Copy link
Contributor

julio8a commented Aug 15, 2019

I like it!

Copy link
Contributor

@kyle-03674 kyle-03674 left a comment

Choose a reason for hiding this comment

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

Woohoo!

@julio8a
Copy link
Contributor

julio8a commented Aug 15, 2019

Thanks Kyle!

@paulcpederson
Copy link
Member

Cool, @bstifle should we update the dark pressed red to the hex @kyle-03674 is using in this pull request, or should me merge and open a new one?

@bstifle
Copy link
Contributor Author

bstifle commented Aug 15, 2019

@paulcpederson @julio8a @macandcheese @kyle-03674

I updated and pushed a new commit for the pressed red #FF7465. should be ready to go!

@julio8a
Copy link
Contributor

julio8a commented Aug 15, 2019

@bstifle, first PR!

@paulcpederson paulcpederson merged commit 3ca4e20 into master Aug 15, 2019
@paulcpederson
Copy link
Member

@bstifle
Copy link
Contributor Author

bstifle commented Aug 15, 2019

noob status: confirmed!

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.

None yet

5 participants