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

[UI] Add new themes to TextArea component #9873

Merged

Conversation

martinrrm
Copy link
Contributor

@martinrrm martinrrm commented Mar 21, 2024

Summary

Spec: https://github.com/NuGet/Engineering/pull/5209
Addresses #9872
Main Issue: #8773

Adds theme for the TextArea component,

Light Dark
Rest image image
Focus image image
Disabled image image
Readonly image image

@martinrrm martinrrm requested a review from a team as a code owner March 21, 2024 01:23
@erdembayar
Copy link
Contributor

Please add main tracking issue into PR.

color: var(--neutralForeground1Rest);
background-color: var(--neutralBackground1Rest);
border-radius: 4px;
border: 1px solid var(--neutralStroke1Rest);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does same feedback applies here? #9852 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I talked with Joel about CSS variables support, we agreed that this is the best way to do this change, otherwise it will involve adding a lot of extra code, I added more context to that comment but we will continue using CSS variables for now since only IE doesn't support them, and really old versions of other browsers, and created an issue to track it #9875

@martinrrm martinrrm merged commit 8abd405 into dev-martinrrm-feature-new-theme Mar 21, 2024
2 checks passed
martinrrm added a commit that referenced this pull request Apr 30, 2024
martinrrm added a commit that referenced this pull request May 7, 2024
martinrrm added a commit that referenced this pull request May 16, 2024
martinrrm added a commit that referenced this pull request May 22, 2024
martinrrm added a commit that referenced this pull request Jun 21, 2024
@joelverhagen joelverhagen deleted the dev-martinrrm-textarea-new-theme branch August 22, 2024 16:34
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.

2 participants