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

Update ouiTextSubduedColor in next dark theme #973

Merged

Conversation

joshuarrrr
Copy link
Member

@joshuarrrr joshuarrrr commented Aug 16, 2023

Description

Shade the theme's $ouiTextColor instead of using one of the grayscale shades. Only affects next dark theme.

Issues Resolved

fixes #938

Screenshot 2023-08-16 at 16-29-22 OpenSearch UI

fixes #955

demo shows the various pseudo states

Screen.Recording.2023-08-16.at.4.55.09.PM.mov

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.

Shade the theme's `$ouiTextColor` instead of using one of the grayscale shades

Signed-off-by: Josh Romero <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
@joshuarrrr
Copy link
Member Author

@KrooshalUX Let me know if you want to move forward with this approach, tweak the calculation, or just provide an explicit value.

@KrooshalUX
Copy link
Contributor

KrooshalUX commented Aug 22, 2023

@joshuarrrr do you have other non collapsable nav examples? Its a bit hard to tell if its the right way to go as I believe subdued is used in a lot of form controls and button states.

Copy link
Contributor

@KrooshalUX KrooshalUX 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 with current examples - approving to see on endpoint for UAT - may need to reopen for further refinement.

@AMoo-Miki AMoo-Miki merged commit 309e146 into opensearch-project:main Aug 22, 2023
6 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 7, 2023
* Update ouiTextSubduedColor in `next` dark theme

Shade the theme's `$ouiTextColor` instead of using one of the grayscale shades

Signed-off-by: Josh Romero <[email protected]>

* update changelog

Signed-off-by: Josh Romero <[email protected]>

---------

Signed-off-by: Josh Romero <[email protected]>
(cherry picked from commit 309e146)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
BSFishy pushed a commit that referenced this pull request Sep 8, 2023
* Update ouiTextSubduedColor in `next` dark theme

Shade the theme's `$ouiTextColor` instead of using one of the grayscale shades

Signed-off-by: Josh Romero <[email protected]>

* update changelog

Signed-off-by: Josh Romero <[email protected]>

---------

Signed-off-by: Josh Romero <[email protected]>
(cherry picked from commit 309e146)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants