pollen
open-props
| pollen | open-props | |
|---|---|---|
| 20 | 62 | |
| 908 | 5,398 | |
| -0.1% | 0.6% | |
| 3.1 | 7.8 | |
| 8 months ago | 5 months ago | |
| TypeScript | HTML | |
| MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pollen
-
Open Props – Supercharged CSS Variables
Curious to know if anyone has compared this to Pollen:
https://www.pollen.style/
I’ve used Pollen as an alternative to the bulk of Tailwind and have been very happy with it.
-
Why does everyone love tailwind
So frameworks like https://www.pollen.style/ are doing this. Personally I still prefer the tailwind approach.
-
Tailwind CSS and the death of web craftsmanship
I do think that the real value of Tailwind comes from the utility classes, rather than css-in-html paradigm. You could achieve the same, for example, with Pollen.css [0] or Open Props [1].
[0] https://github.com/heybokeh/pollen
[1] https://github.com/argyleink/open-props
-
Is vanilla CSS enough?
Tailwind is a great option to look into, I really enjoy it, but if you want something a bit more in-between, you can check out frameworks like https://www.pollen.style. There you get a framework of consistent CSS variables you can use, while still writing all your vanilla CSS yourself with full control of everything.
-
What UI framework would you recommend?
It uses UnoCSS (think TailwindCSS but super customizeable) with Pollen (which is similar to open props).
-
Open Props: Tailwind Alternative from Chrome Dev Team
Very similar to Pollen (https://www.pollen.style), though it looks a little more complicated.
IMO the main value of Tailwind is that it's a step function over your units and colors, which helps bring better consistency and dev speed to UI implementation.
Tailwind's "write class names instead of CSS" approach makes sense in the component-based systems most apps are built in these days, where pretty much any repeated markup will be turned into a component. It performs better than scoped styles and is less complicated.
A CSS variable approach like Open Props or Pollen is, in my experience, better if you're not using a component-based system (ie. conventional HTML) and therefore have repeated markup patterns. Having a simple class name to apply to repeated markup is much more maintainable than trying to copy/paste a long tailwind string around.
- Pollen, the CSS variable build system
-
What are cool kids using for styling these days?
Pollen and Open Props are two popular examples of such token first frameworks. If you are not familiar with CSS Custom Properties (also called CSS variables), I recently wrote about how to use them to create a CSS Style API layer.
- Ask HN: Looking for an open CSS variables theme that was published here
-
Pollen vs. Tailwind CSS: Finding the better build experience
In the last few years, a new set of frameworks with a radically different concept drew the attention of frontend developers. These frameworks are now extremely popular in the frontend world, and you’re likely already familiar with them: Tailwind CSS and Pollen.
open-props
-
Moving away from Tailwind, and learning to structure my CSS
Great writeup!
Lately I've been enjoying Open Props[0]. It's a library of CSS props/ variables that helps structure a design system. I like it because it's CSS-first, so like OP experienced moving off TW, I've learned more CSS, and it works with the browser not against it. It also provides some sane defaults for anyone less interested in fiddling with precise cosmetics.
[0]: https://open-props.style/
-
Show HN: Nimble.css minimal classless CSS library for great-looking default HTML
https://PicoCSS.com was a great starting point for projects, but there was some friction:
- Too many breakpoints: I just wanted a single breakpoint for phones, otherwise responsive based on content/screen width.
- Too many CSS variables polluting dev tools.
- No longer maintained: SASS warnings polluting terminal output.
- Missing concept of "surfaces."
---
I just wanted a classless CSS library that worked well with https://open-props.style. Basically a nicer-looking Open Props Normalize[1].
So I built Nimble.css! (Assisted by Claude.) PicoCSS-inspired aesthetics combined with Open Props curated values.
[1]: https://codepen.io/argyleink/pen/KKvRORE
- Open Props: sub-atomic CSS
- Nuxt Tutorial 7 - Adopting CSS
-
DaisyUI: Tailwind CSS Components
Why not use open props then? You get a style system, but not the weird turn-classes-into-inline-styles thing
https://open-props.style/
-
Googler Ex-Googler
Not related to the layoff (I'm very sad for what author is experiencing), but the blog looking is very great and functional. Looking on the page code I see that is using a CSS framework that I'm never heard off Open Pros (https://open-props.style/), looks like a much better solution than Tailwind and friends. I see that a components collection is the development too Open Props UI (https://open-props-ui.netlify.app/)
-
Going beyond the docs: Story of fixing the third-party code
I was trying to integrate Open Props CSS styles with my Nuxt project. This is not that hard, but due to the way how Open Props work, you also need to include and enable PostCSS plugin called postcss-jit-props and supply it with the data object from open-props package to allow values being injected correctly.
-
Knowing CSS is mastery to Front end Development
> Limited set of predefined values to us...
With the ability to predefine css constants I guess it's now possible to use the style prop directly and not have to use raw hex colors and pixel values (eg. there are css libraries with these https://open-props.style).
-
Tailwind V4 Is Finally Out
Maybe check out Open Props?
https://open-props.style/
-
How to Add an Excel-like Table to Your Astro Site (the Easy Way)
ZingGrid is built with modern native web components for performance and resiliency, but as a side effect of that a lot of the components exist inside Shadow DOMs. Still wanting to allow users to style any part they desire, hundreds of CSS Variables were created to pierce these shadows. Below we show how they can be used in conjunction Open Props for added flexibility.
What are some alternatives?
halfmoon - Halfmoon is a highly customizable, drop-in Bootstrap replacement. It comes with three built-in core themes, with dark mode support for all themes and components.
modern-normalize - 🐒 Normalize browsers' default style
css-media-vars - A brand new way to write responsive CSS. Named breakpoints, DRY selectors, no scripts, no builds, vanilla CSS.
carbon-components-svelte - Svelte implementation of the Carbon Design System
oinam-jekyll - A simple, clean, and minimal Jekyll Theme.
csswg-drafts - CSS Working Group Editor Drafts