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

feat: tailwind tokens support opacity modifier syntax color (fixed #526) #525

Merged
merged 2 commits into from
Jun 13, 2023
Merged

Conversation

serkodev
Copy link
Contributor

@serkodev serkodev commented May 2, 2023

Description

Add support for Tailwind token with opacity modifier syntax color.

Fixed #526

Additional context

Tailwind CSS variables color:
https://tailwindcss.com/docs/customizing-colors#using-css-variables

source:
https://github.com/tailwindlabs/tailwindcss/blob/759a8c2061fbb9aabd0ec9c5f534652e7a2c9717/src/util/pluginUtils.js#L107-L115


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • If it's a new feature, provide a convincing reason to add it. Ideally, you should open a suggestion issue first and have it approved before working on it.
  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@codesandbox
Copy link

codesandbox bot commented May 2, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@stackblitz
Copy link

stackblitz bot commented May 2, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented May 2, 2023

Deploy Preview for histoire-examples-svelte3 ready!

Name Link
🔨 Latest commit ecd1938
🔍 Latest deploy log https://app.netlify.com/sites/histoire-examples-svelte3/deploys/64882f0a6a1ec80008d9f04c
😎 Deploy Preview https://deploy-preview-525--histoire-examples-svelte3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented May 2, 2023

Deploy Preview for histoire-site ready!

Name Link
🔨 Latest commit ecd1938
🔍 Latest deploy log https://app.netlify.com/sites/histoire-site/deploys/64882f083313ba0008e39ba4
😎 Deploy Preview https://deploy-preview-525--histoire-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented May 2, 2023

Deploy Preview for histoire-examples-vue3 ready!

Name Link
🔨 Latest commit ecd1938
🔍 Latest deploy log https://app.netlify.com/sites/histoire-examples-vue3/deploys/64882f08885b1c0008852a74
😎 Deploy Preview https://deploy-preview-525--histoire-examples-vue3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented May 2, 2023

Deploy Preview for histoire-controls ready!

Name Link
🔨 Latest commit ecd1938
🔍 Latest deploy log https://app.netlify.com/sites/histoire-controls/deploys/64882f08c1fe96000800f3d9
😎 Deploy Preview https://deploy-preview-525--histoire-controls.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@serkodev serkodev changed the title feat: tailwind tokens support opacity modifier syntax color feat: tailwind tokens support opacity modifier syntax color (fixed #526) May 2, 2023
@Akryum Akryum merged commit b007fa1 into histoire-dev:main Jun 13, 2023
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.

Add support for Tailwind token with opacity modifier syntax color
2 participants