/* * The stylesheet for the server-rendered site. * * Compiled by the Tailwind CLI (`npm run build:css`) straight into target/classes/static/css: it is a * source file, not a resource, and the generated stylesheet belongs in the build output rather than in * src/main/resources next to it. * * This directory is the whole asset pipeline, and Tailwind is all that is left of it: the site and the * admin are both server-rendered HTML, so there is no bundler, no framework and one stylesheet. It has * to live here because Tailwind resolves `@import "tailwindcss"` by walking up from the CSS file looking * for node_modules — and node_modules is here. * * @source points Tailwind at every template (public pages and admin alike) and at gallery.js — the * product-card arrows are created in script, so their classes are only written down there. A utility * exists in the output only if Tailwind saw it in one of these files, which is why a class name must * never be assembled from pieces at runtime. */ @import "tailwindcss"; @import "./tokens.css"; @import "./admin.css"; @source "../src/main/resources/templates"; @source "../src/main/resources/static/js";