Skip to content

fix(textfield): update border and background color #3575

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

Merged
merged 4 commits into from
Feb 27, 2025
Merged

Conversation

TarunAdobe
Copy link
Contributor

@TarunAdobe TarunAdobe commented Feb 24, 2025

Description

updated border color for key-focus state of textfield in spectrum-two theme.
swc-576

How and where has this been tested?

Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.

Validation steps

Include steps for the PR reviewer that explain how they should test your PR. Example test outline:

  1. Open the storybook for the component (in s2):
  • Use keyboard tab to focus over the textfield and validate the border color is gray-800 as from the design specs

Regression testing

Validate:

  1. The documentation pages for at least two other components are still loading, including:
  • The pages render correctly, are accessible, and are responsive.
  1. If components have been modified, VRTs have been run on this branch:
  • VRTs have been run and looked at.
  • Any VRT changes have been accepted (by reviewer and/or PR author), or there are no changes.

Screenshots

To-do list

  • I have read the contribution guidelines.
  • I have updated relevant storybook stories and templates.
  • I have tested these changes in Windows High Contrast mode.
  • If my change impacts other components, I have tested to make sure they don't break.
  • If my change impacts documentation, I have updated the documentation accordingly.
  • ✨ This pull request is ready to merge. ✨

Copy link

changeset-bot bot commented Feb 24, 2025

🦋 Changeset detected

Latest commit: 8d61bd6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@spectrum-css/swatch Patch
@spectrum-css/textfield Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@TarunAdobe TarunAdobe marked this pull request as ready for review February 24, 2025 12:00
Copy link
Contributor

github-actions bot commented Feb 24, 2025

File metrics

Summary

Total size: 2.25 MB*

Package Size Minified Gzipped
textfield 32.77 KB 31.27 KB 3.78 KB

textfield

Filename Head Minified Gzipped Compared to base
index-base.css 31.49 KB 30.05 KB 3.66 KB -
index-theme.css 2.13 KB 2.06 KB 0.61 KB -
index.css 32.77 KB 31.27 KB 3.78 KB -
metadata.json 17.82 KB - - -
themes/express.css 1.73 KB 1.69 KB 0.62 KB -
themes/spectrum-two.css 1.71 KB 1.66 KB 0.60 KB -
themes/spectrum.css 1.73 KB 1.68 KB 0.62 KB -
* Size is the sum of all main files for packages in the library.
* An ASCII character in UTF-8 is 8 bits or 1 byte.

Copy link
Contributor

github-actions bot commented Feb 24, 2025

🚀 Deployed on https://pr-3575--spectrum-css.netlify.app

@castastrophe castastrophe added size-2 S ~6-18hrs; not hard or time consuming, one or two work days to complete. run_vrt For use on PRs looking to kick off VRT ready-for-review high priority An important PR or issue requiring immediate attention fast-follows An issue or PR that quickly follows a release labels Feb 24, 2025
@castastrophe
Copy link
Collaborator

@TarunAdobe Can you please update the branch with the base branch and write out a few validation test cases in the pull request template for us to confirm the updates?

@castastrophe
Copy link
Collaborator

@TarunAdobe Can you please write out your validation steps for your PRs? See this as an example: #3547

@TarunAdobe TarunAdobe added run_vrt For use on PRs looking to kick off VRT and removed run_vrt For use on PRs looking to kick off VRT labels Feb 26, 2025
@TarunAdobe TarunAdobe requested a review from a team February 26, 2025 06:01
@TarunAdobe TarunAdobe self-assigned this Feb 26, 2025
Copy link
Collaborator

@rise-erpelding rise-erpelding left a comment

Choose a reason for hiding this comment

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

Confirmed S2 is using gray-800 as per design spec while Legacy is using gray-900

@castastrophe castastrophe force-pushed the ttomar/swc-576 branch 2 times, most recently from 9de29d5 to 1612506 Compare February 27, 2025 19:05
@castastrophe castastrophe enabled auto-merge (squash) February 27, 2025 19:05
@castastrophe castastrophe merged commit 2e17d10 into main Feb 27, 2025
12 checks passed
@castastrophe castastrophe deleted the ttomar/swc-576 branch February 27, 2025 21:10
@github-actions github-actions bot mentioned this pull request Feb 27, 2025
castastrophe added a commit that referenced this pull request Mar 4, 2025
* fix(textfield): update border and background color
* fix(swatch): adjust disabled icon color across themes (#3547)
* fix(textfield): update border color on keyfocus in s2

---------

Co-authored-by: [ Cassondra ] <castastrophe@users.noreply.github.com>
Co-authored-by: rise-erpelding <54716846+rise-erpelding@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-follows An issue or PR that quickly follows a release high priority An important PR or issue requiring immediate attention ready-for-review run_vrt For use on PRs looking to kick off VRT size-2 S ~6-18hrs; not hard or time consuming, one or two work days to complete.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants