cva
Tufte CSS
cva | Tufte CSS | |
---|---|---|
16 | 30 | |
5,239 | 5,790 | |
- | 0.0% | |
7.2 | 0.0 | |
12 days ago | over 2 years ago | |
TypeScript | HTML | |
Apache License 2.0 | 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.
cva
-
Use postcss-cva to generate cva method
cva.style
-
Tailwind vs. Semantic CSS
* use cva https://github.com/joe-bell/cva to style generic ui components (like buttons) to archive same grouping as in semantic css
- 5 React Libraries to Level Up your Projects in 2023
-
How do you design Button in React js?
Highly recommended with this: https://github.com/joe-bell/cva
-
What am I missing out about Tailwind?
Yes, and a library like https://github.com/joe-bell/cva makes this a breeze. See https://cva.style/docs/getting-started#your-first-component for an example
-
Building a prop-based, type-safe Tailwind with vanilla-extract
There is also class variance authoriy
- Konsta UI – Mobile UI Components Built with TailwindCSS
- which way do you prefer for styling ?
-
Conditional styling reusable components
https://github.com/joe-bell/cva is great for this
-
Introducing DecaUI
Also have you heard of class variance authority? https://github.com/joe-bell/cva; personally looked into stitches & vanilla-extract but i'm preferring the simplicity of this package the most.
Tufte CSS
-
Concrete.css
As it is often said in various designer forums, please avoid pure white (#FFFFFF) on black (here #111111), as it makes the text glow for the human eyes (therefore making it unreadable for long text). Instead, try to lower a bit the contrast on the text color.
Also, the dispositions for the buttons at the beginning (GitHub, NPM, ...) are not adjusted correctly for keyboard navigation (each button requires two tabs).
Appart from that, I do like a minimalist stylesheet, so I will also recommend Tufte CSS [0] for readers.
[0]: https://github.com/edwardtufte/tufte-css
- Ask HN: Examples of clean design in personal blogs / digital portfolios?
-
Tailwind vs. Semantic CSS
CSS and HTML is great for documents - not so great for applications. Most sites end up implementing their own navigation UI/UX at a minimum (an application) - many end up as more applications.
For an example of "documents", see eg:
https://edwardtufte.github.io/tufte-css/
Or
https://alistapart.com/article/building-books-with-css3/
-
Teach yourself Computer Science functionally
Just for kicks, I applied Tufte CSS[0] onto the page using a browser extension. Great ROI.
0. https://edwardtufte.github.io/tufte-css/
- Welcome to My GUI Gallery
- Tufte CSS
-
[AskJS] Does anyone remember that website that had a very simple style, using only HTML and CSS, showing you don't need js to make a good-looking website?
It's not the answer you're looking for, but https://edwardtufte.github.io/tufte-css/ might be of interest to you
-
Does ridicule of humanities research/students bleed over to professional academia?
A famous physicist, Richard Feynman, had a practice in his his extensive writing, e.g. a three-volume physics text, to use the methodology of sentences which then cumulate sequentially into paragraphs. (ht Ed Tufte)
What are some alternatives?
react-cva - Class Variance Authority helper for react
Milligram - A minimalist CSS framework.
eslint-plugin-tailwindcss - ESLint plugin for Tailwind CSS usage
tufte-markdown - Use markdown to write your handouts or books in Tufte style.
vanilla-extract - Zero-runtime Stylesheets-in-TypeScript
ox-tufte - Emacs' Org-mode export backend for Tufte HTML
tailwindcss-classnames - Functional typed classnames for TailwindCSS
WebFundamentals - Former git repo for WebFundamentals on developers.google.com
stylemapper - Flexible utility to create styled and type-safe React components
tabler - Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap
konsta - Mobile UI components made with Tailwind CSS
CoreUI-Free-Bootstrap-Admin-Template - Free Bootstrap Admin & Dashboard Template