Skip to content

Where are the Preline Themes #742

@BravishkaSkytano

Description

@BravishkaSkytano

Summary

I can't find the themes that Preline UI ships with.

Steps to Reproduce

  1. Install tailwindcss v4, tailwindcss/cli and preline via npm
  2. Import tailwindcss and preline with user stylesheet (in my case, _includes/styles.css)
  3. Import themes according to the documentation
  4. Run tailwindcss/cli: tailwindcss -i _includes/styles.css -o _site/css/styles.css

Demo Link

https://preline.co/docs/themes.html

Expected Behavior

No response

Actual Behavior

I'm not sure if this is a bug within the UI, an error in the documentation, or me simply overlooking something. In the Themes section of the documentation, it says that I need to import the base theme and then choose whichever theme I wan:

@import "tailwindcss";

/* Base theme tokens + mappings */
@import "./themes/theme.css";

/* Optional: predefined themes (import only what you need) */
@import "./themes/harvest.css";
@import "./themes/retro.css";
@import "./themes/ocean.css";
@import "./themes/bubblegum.css";
@import "./themes/autumn.css";
@import "./themes/moon.css";
@import "./themes/cashmere.css";
@import "./themes/olive.css";

But Tailwind (and I) "can't resolve" the path.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions