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

[AlertDialog] Issue #253

Closed
lambrose opened this issue Jan 23, 2024 · 3 comments
Closed

[AlertDialog] Issue #253

lambrose opened this issue Jan 23, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists ecosystem Incompatibility with something else

Comments

@lambrose
Copy link

lambrose commented Jan 23, 2024

<AlertDialog.Root>
  <AlertDialog.Trigger>
    <Button color="red">Revoke access</Button>
  </AlertDialog.Trigger>
  <AlertDialog.Content style={{ maxWidth: 450 }}>
    <AlertDialog.Title>Revoke access</AlertDialog.Title>
    <AlertDialog.Description size="2">
      Are you sure? This application will no longer be accessible and any
      existing sessions will be expired.
    </AlertDialog.Description>
    <Flex gap="3" mt="4" justify="end">
      <AlertDialog.Cancel>
        <Button variant="soft" color="gray">
          Cancel
        </Button>
      </AlertDialog.Cancel>
      <AlertDialog.Action>
        <Button variant="solid" color="red">
          Revoke access
        </Button>
      </AlertDialog.Action>
    </Flex>
  </AlertDialog.Content>
</AlertDialog.Root>

The button color is not rendering.
Also another issue related to the button variant "solid" and "soft" not rendering as expected.

@vladmoroz vladmoroz added duplicate This issue or pull request already exists ecosystem Incompatibility with something else labels Jan 23, 2024
@vladmoroz
Copy link
Contributor

Sounds like you are using Tailwind and it causes a specificity issues, is this right?
#109 (comment)

@lambrose
Copy link
Author

lambrose commented Jan 23, 2024 via email

@vladmoroz
Copy link
Contributor

Please see that comment I linked to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists ecosystem Incompatibility with something else
Projects
None yet
Development

No branches or pull requests

2 participants