Giter VIP home page Giter VIP logo

Comments (4)

adamwathan avatar adamwathan commented on July 30, 2024

Can you explain what you mean by "doesn't work"? Do the classes get generated? Did you inspect the generated HTML in dev tools to troubleshoot at all and if so what did you discover? Can you create a minimal reproduction of the problem so that I can pull it down to troubleshoot myself?

from tailwindcss-typography.

adrian-goe avatar adrian-goe commented on July 30, 2024

Sure. My expectation is that I would have a styled blog. At least white text, since that's what I put in the theme. A table that looks similar to the one in your example.
None of this is.
A little hard to read on the dark background.

Screenshot 2020-07-25 at 14 26 18

If I add in the <article> the class text-gray-300, the text is accordingly in the frame. but that's not how it should be, right?

No styles are added or applied in the browser.

The prose class is not generated.

I can finish an example later, but I'm on my way.

from tailwindcss-typography.

adrian-goe avatar adrian-goe commented on July 30, 2024

https://github.com/adrian-goe/minimal-reproduction

from tailwindcss-typography.

RobinMalfait avatar RobinMalfait commented on July 30, 2024

Hey @adrian-goe

The issue with your code is that you have this:
https://github.com/adrian-goe/minimal-reproduction/blob/4592bdde495cfca098e56db6eaaac26301427f35/tailwind.config.js#L42-L45

You have variants, and plugins inside of the theme section instead of being a sibling.

// What you have:
module.exports = {
  theme: {
    variants: {},
    plugins: []
  },
}

// Expected:
module.exports = {
  theme: {},
  variants: {},
  plugins: []
}

from tailwindcss-typography.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.