tailwind-merge
Tufte CSS
tailwind-merge | Tufte CSS | |
---|---|---|
12 | 30 | |
4,037 | 5,790 | |
- | 0.0% | |
9.0 | 0.0 | |
5 days ago | over 2 years 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.
tailwind-merge
-
Tailwind CSS for frontend teams: From settings to rules
So the library I use is tailwind-merge, which is a class that eliminates conflicts between classes when using Tailwind. So I created the following utility function.
-
Styling React 2023 edition
clsx is a tiny utility for constructing className strings conditionally, I use it in conjunction with tailwind-merge which merges Tailwind CSS classes without style conflicts.
- Tailwind vs. Semantic CSS
-
How to merge Tailwind class in Elixir Phoenix
I searched for a solution, and I found tailwind-merge which is written in JavaScript. Basically it finds conflicted classes and resolve the conflict. For example:
-
TailwindCSS & Template Literals
I would suggest you to use CVA and tailwind-merge.
-
Merge Tailwind CSS classes without style conflicts
Hey everyone! I built an open source library called tailwind-merge which helps with resolving style conflicts in CSS class strings. → https://github.com/dcastil/tailwind-merge
-
Why can I not override class?
I used tailwind-merge and cva to build my UI component library Rewind-UI.
-
Is tailwind used in real world when working at companies?What do you use to style your website
I use Tailwind + Next.js on most of my projects. Usually I add the following to the mix: - RadixUI+ tailwindcss-radix or HeadlessUI although I like Radix more - classnames - https://tailwindcss.com/blog/automatic-class-sorting-with-prettier - tailwind-merge - CSS Modules
-
How can I override Vue's behavior for merging classes?
I'm using Tailwind CSS and I'd like to integrate a library called tailwind-merge into my Vue app. I'd like the plugin to replace Vue's class appending behavior so that all components in my app have their Tailwind utility classes merged to prevent style conflicts. It may not be everyone's preferred solution to such a problem, but I think it's a very valid use cases for this sort of thing.
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?
tailwindcss-classnames - Functional typed classnames for TailwindCSS
Milligram - A minimalist CSS framework.
classnames - A simple javascript utility for conditionally joining classNames together
tufte-markdown - Use markdown to write your handouts or books in Tufte style.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
ox-tufte - Emacs' Org-mode export backend for Tufte HTML
clsx - A tiny (239B) utility for constructing `className` strings conditionally.
WebFundamentals - Former git repo for WebFundamentals on developers.google.com
tailwindcss-intellisense - Intelligent Tailwind CSS tooling for Visual Studio Code
tabler - Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap
headwind - An opinionated Tailwind CSS class sorter built for Visual Studio Code
CoreUI-Free-Bootstrap-Admin-Template - Free Bootstrap Admin & Dashboard Template