-
Notifications
You must be signed in to change notification settings - Fork 72
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
Look & Feel - Sass variable value changes for research #807
Comments
opensearch-project#807 Signed-off-by: Miki <[email protected]>
opensearch-project#807 Signed-off-by: Miki <[email protected]>
According to the code, Additionally, if needed, we can add new variables in places where those variables are used directly: https://github.com/search?q=repo%3Aopensearch-project%2Foui+ouiColorInk+OR+repo%3Aopensearch-project%2Foui+ouiColorGhost&type=code |
opensearch-project#807 Signed-off-by: Miki <[email protected]>
@BSFishy Our contrast ratios for the new color scheme are not based on absolute black or white - we are trying to move away from those values for text especially. So, keeping those black and white may provide the wrong automatic adjustments to the colors provided. So, I would like us to try to implement this change and see what happens, we can adjust if the shades and tints end up funky. |
Based on initial screenshots, I think this is going the right direction!
@BSFishy curious to know if any of the supplied values were transformed after the compiling? It would be good for us to check those before moving forward on further changes. @kgcreative I am thinking that ouiLInkColor should actually just point to Primary afterall, as the mix of Button and Link colors is kind of frustrating on my eye - also, since we have little control over how/when builders will use links vs button for navigation, this reduces visual impact. I think we might need to adjust our Primary slightly - or consider Semi Bold or Bold button text with the new font - but I would like to make that judgement once we have an endpoint vs screengrabs that may be altering colors during compression. |
Diff of light theme: https://gist.github.com/BSFishy/484f02ee390ca1423cc9d888950f7865 (updated gist links to remove Eui aliases) |
Round 2 style change: Remove my original suggestion to use a specific ouiLinkColor and allow it to point to Primary as the default. |
FYI, to normalize the size of |
opensearch-project#807 Signed-off-by: Miki <[email protected]>
Parts of OUI that don't honor the fonts set in SASS vars:
|
Latest release feedback @AMoo-Miki @BSFishy @joshuarrrr :
|
Breadcrumbs are On a side note: a crumb with |
Yes there is some rouge styling in a plugin: opensearch-project/anomaly-detection-dashboards-plugin#509 |
The
|
@AMoo-Miki whatever makes the most sense for engineering ergonomics / code cleanliness from your perspective - with the caveat that if removing it all together impacts OuiTitle, then we should just set it to 0 specifically for OuiText. |
The weight now is 400. I have changed this to 600 which is what SemiBold is mapped to. FYI, we have a Medium too which is 500. |
|
@KrooshalUX,
Would you rather we use the default background color on this? |
The first pass of color implementation has gone live, so closing this as completed. We will be tracking follow up tasks for improvements in a new issue. |
In the interest of delivering an impactful but quick change to look & feel of the OpenSearch Dashboards product, the UX team has determined an update to existing Sass variable values.
Proposed changes visualized:
UI COLORS
LIGHT MODE
ouiColorEmptyShade #FCFEFF
ouiColorLIghtestShade #E3E5E8
ouiColorLightShade #D6D9DD
ouiColorMediumShade #ADB4BA
ouiColorDarkShade #5A6875
ouiColorDarkestShade #2A3947
ouiColorFullShade #0A1219
ouiColorPrimary #159D8D
ouiColorSecondary #017D73
ouiColorAccent #DD0A73
ouiColorWarning #F5A700
ouiColorDanger #BD271E
ouiLinkColor #006BB4
ouiPageBackgroundColor #F0F2F4
ouiColorInk #0A121A
ouiColorGhost #FCFEFF
DARK MODE
ouiColorEmptyShade #0A121A
ouiColorLIghtestShade #101B25
ouiColorLightShade #293847
ouiColorMediumShade #5B6875
ouiColorDarkShade #8D98A3
ouiColorDarkestShade #DFE3E8
ouiColorFullShade #FCFEFF
ouiColorPrimary #159D8D
ouiColorSecondary #7DE2D1
ouiColorAccent #F990C0
ouiColorWarning #FFCE7A
ouiColorDanger #FF6666
ouiLinkColor #1BA9F5
ouiPageBackgroundColor #172430
ouiColorInk #0A121A
ouiColorGhost #FCFEFF
VIS COLORS
Tracked in another issue #818
Utilize OUI color palettes for iterative improvements https://oui.opensearch.org/1.2/#/utilities/color-palettes
TYPOGRAPHY
Font sizing may need to be adjusted based on initial results.
ouiFont - Source Sans 3
ouiCodeFont - Source Code Pro
The text was updated successfully, but these errors were encountered: