[HN Gopher] Pollen - A library of CSS variables inspired by Tail... ___________________________________________________________________ Pollen - A library of CSS variables inspired by TailwindCSS Author : ivanb Score : 31 points Date : 2021-09-04 19:37 UTC (3 hours ago) (HTM) web link (www.pollen.style) (TXT) w3m dump (www.pollen.style) | stevage wrote: | Weird. I'm a full time web developer and I honestly don't | understand what this library does or why it is useful. I read all | the way through the site. | | I mostly use Tachyons, which is definitely a bit outdated. Where | does Pollen sit, and what value is it providing? Would love to | see some more concrete examples. | ivanb wrote: | Pollen is a library of CSS variables for rapid prototyping, | consistent styling, and as a zero-runtime utility-first | foundation for your own design systems. Heavily inspired by | TailwindCSS. | b215826 wrote: | This might be confused with the publishing system of the same | name written in Racket: https://docs.racket-lang.org/pollen/ | clownpepe wrote: | Looks promising, will try this on when I am rewriting my blog | (again) | edoceo wrote: | I've been using CSS vars more and more on bespoke(quick-hacks) | stuff, just to leave out build steps and all. Awesome to see a | whole toolkit around just that small feature-set of CSS. | krono wrote: | I'm confused, isn't this just a list of design token names and | some docs on how to use CSS variables? | prezjordan wrote: | The same way that Tailwind is "just" a list of class names | spankalee wrote: | This looks great! | | It will work very well with shadow DOM too. Import at the | document and all shadow roots get the variable definitions, then | you can override them per subtree anywhere in the document. ___________________________________________________________________ (page generated 2021-09-04 23:00 UTC)