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

Bug Fixed: Change cursor pointer in checkbox's disabled state #92

Closed

Conversation

priyanshuverma-dev
Copy link

@priyanshuverma-dev priyanshuverma-dev commented Jun 14, 2023

What does this PR do?

Fixed Change cursor pointer in checkbox, Switch, radio's disabled state

Test Plan

Edited:

  1. _switech.scss
  2. __radio-and-checkbox.scss

added:

// _switech.scss
  &:where(:disabled) {
    --p-bg-color: var(--p-bg-color-disabled);
    --p-switch-bg-color: var(--p-switch-bg-color-disabled);
    cursor: default; // <-- added
    &:where(:checked) { --p-bg-color: var(--p-bg-color-checked-disabled); }
  }
// __radio-and-checkbox.scss
&:where(:disabled)  {
    --p-bg-color:     var(--p-bg-color-disabled);
    --p-border-color: var(--p-border-color-ddisabled);
    cursor: default; // <-- added
    &:where(:checked) {
      --p-icon-color:   var(--p-icon-color-disabled-checked);
      --p-bg-color:     var(--p-bg-color-disabled-checked);
      --p-border-color: var(--p-border-color-disabled-checked);
    }
  }

Related PRs and Issues

Bug Report: Change cursor pointer in checkbox's disabled state #91

Have you read the Contributing Guidelines on issues?

No, Sorry Forgot

@changeset-bot
Copy link

changeset-bot bot commented Jun 14, 2023

🦋 Changeset detected

Latest commit: e1ff1bf

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

This PR includes changesets to release 1 package
Name Type
@appwrite.io/pink 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

@vercel
Copy link

vercel bot commented Jun 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pink-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2023 5:58am
ui-kitchensink ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2023 5:58am

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.

1 participant