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

Remove form-validation.scss #2402

Merged
merged 4 commits into from
Mar 28, 2023
Merged

Remove form-validation.scss #2402

merged 4 commits into from
Mar 28, 2023

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Mar 23, 2023

What are you trying to accomplish?

This is a follow-up to https://github.com/github/github/pull/263892#discussion_r1141769778 and removes almost all of form-validation.scss.

What approach did you choose and why?

  1. 🔥 form-validation.scss.
  2. ➕ We'll add them to dotcom for now.

Reasoning: It seems these style are very old and were added to Primer CSS with the initial batch. None of the classes seem to be documented and they look like custom styles from dotcom and not really meant to be used as components.

What should reviewers focus on?

Note that the .form-group label browser fix was moved to form-group.scss since that's where the rest of the .form-group styles are.

Can these changes ship as is?

@changeset-bot
Copy link

changeset-bot bot commented Mar 23, 2023

🦋 Changeset detected

Latest commit: bf8e99d

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

This PR includes changesets to release 1 package
Name Type
@primer/css Major

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

@github-actions github-actions bot temporarily deployed to Storybook Preview March 23, 2023 09:00 Inactive
@simurai simurai temporarily deployed to github-pages March 23, 2023 09:00 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview March 23, 2023 09:01 Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview March 23, 2023 13:25 Inactive
@simurai simurai marked this pull request as ready for review March 27, 2023 12:39
@simurai simurai merged commit c6e214b into main Mar 28, 2023
@simurai simurai deleted the remove-form-validation branch March 28, 2023 23:27
@primer-css primer-css mentioned this pull request Mar 28, 2023
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.

2 participants