pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

Update themes to use @import in themes #119

Closed pixelastic closed 3 years ago

pixelastic commented 3 years ago

Themes should use @import instead of @tailwind in their style.css.

@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

@import 'norska-frontend/style.css';

This is needed because we now also need to include the default styling set in norska-frontend/style.css that styles loading image placeholders

I have to make sure it does not break the monsters search, which is also loading images with blur

pixelastic commented 3 years ago

All themes already actually used the import syntax. I only added the import to norska front-end, and released a new major version for each (to prevent renovate from updating them, and breaking because it couldn't find the file)