We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 report Custom Tailwind CSS is not applying, like text-center text-[50px] text-[#eb3a34] mb-[30px] I've tried using below packages, https://github.com/cbfn/frontity-with-tailwind https://github.com/bradlc/babel-plugin-tailwind-components but not working
text-center text-[50px] text-[#eb3a34] mb-[30px]
Expected behavior It should apply the custom styling defined in square brackets.
Observed behavior It does not apply the style.
Steps involved to reproduce the problem
npx frontity create my-app npm install --save tailwindcss babel-plugin-macros tailwind.macro@next or npm install --save-dev babel-plugin-macros tailwind.macro Apply style like below
import React from 'react' import { connect, styled } from "frontity" import tw from 'tailwind.macro' const Head = ({ state, libraries }) => { return ( <div> <Heading> your code </Heading> </div> ) } export default connect(Head); const Heading = styled('h2')` ${tw`text-[50px] text-red-200 hover:text-blue-300`}; `
Info about your system
Possible solution
If you implement Tailwind CLI or Tailwind PostCSS then arbitrary values will work but I don't know how to implement it in Frontity
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Custom Tailwind CSS is not applying, like
text-center text-[50px] text-[#eb3a34] mb-[30px]
I've tried using below packages,
https://github.com/cbfn/frontity-with-tailwind
https://github.com/bradlc/babel-plugin-tailwind-components
but not working
Expected behavior
It should apply the custom styling defined in square brackets.
Observed behavior
It does not apply the style.
Steps involved to reproduce the problem
npx frontity create my-app
npm install --save tailwindcss babel-plugin-macros tailwind.macro@next
or
npm install --save-dev babel-plugin-macros tailwind.macro
Apply style like below
Info about your system
System:
Binaries:
Browsers:
npmPackages:
npmGlobalPackages:
Possible solution
If you implement Tailwind CLI or Tailwind PostCSS then arbitrary values will work but I don't know how to implement it in Frontity
The text was updated successfully, but these errors were encountered: