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

[Backport-1.x] fix: Updates to v9 colors, button/input styles, and typography (#1373) #1377

Conversation

virajsanghvi
Copy link
Collaborator

Description

Backport of #1373 to 1.x + update to package.json and Changelog for new oui version

Issues Resolved

N/A

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • All tests pass
    • yarn lint
    • yarn test-unit
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…earch-project#1373)

* fix: Updates to v9 colors, button/input styles, and typography

---------

Signed-off-by: Viraj Sanghvi <[email protected]>
(cherry picked from commit 1e69cc8)
@virajsanghvi virajsanghvi changed the title fix: Updates to v9 colors, button/input styles, and typography (#1373) [Backport-1.x] fix: Updates to v9 colors, button/input styles, and typography (#1373) Aug 27, 2024
@virajsanghvi virajsanghvi marked this pull request as ready for review August 27, 2024 03:30
@virajsanghvi virajsanghvi changed the base branch from backport/backport-1373-to-1.x to 1.x August 27, 2024 03:39
Comment on lines -50 to -55
$ouiColorPrimaryText: makeHighContrastColor($ouiColorPrimary);
$ouiColorSecondaryText: makeHighContrastColor($ouiColorSecondary);
$ouiColorAccentText: makeHighContrastColor($ouiColorAccent);
$ouiColorWarningText: makeHighContrastColor($ouiColorWarning);
$ouiColorDangerText: makeHighContrastColor($ouiColorDanger);
$ouiColorDisabledText: makeDisabledContrastColor($ouiColorDisabled);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Any reason we didnt want to reuse these helper functions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Mostly because design wanted to choose their own colors for these - not sure anyone understands the color system enough to necessitate using them in this particular case

@virajsanghvi virajsanghvi merged commit dbab519 into opensearch-project:1.x Aug 27, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants