Skip to content
Discussion options

You must be logged in to vote

Your options

  1. Manual cherry-picking (best integration with Tailwind)
    Instead of importing Open Props directly, copy only the props you need into your @theme layer:
@theme {
  --shadow-op3: var(--shadow-3);
  --shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength)  + 2%)),
              0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength)  + 2%)),
              0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength)  + 4%)),
              0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength)  + 5%)),
              0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength)  + 7%));
  --shadow-color: 220 3% 15%;…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hyperknot
Comment options

@psupra22
Comment options

Answer selected by hyperknot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants