Atomizer
Radium
Our great sponsors
Atomizer | Radium | |
---|---|---|
17 | 3 | |
1,525 | 7,432 | |
0.3% | - | |
9.1 | 0.7 | |
21 days ago | about 2 years ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
Atomizer
-
Are you still using the ternary operator to dynamically apply Tailwind styles?
Tailwind CSS is a CSS framework that has gained incredible popularity, with usage skyrocketing 40% in three years, according to the State of CSS 2022. It offers benefits such as development speed, maintainability, and gzip optimization. As a result, it is expected to exceed 50% in the 2023 survey. However, the readability of Tailwind CSS decreases sharply as the style becomes more complex, which is a typical disadvantage of the utility-first approach. Personally, I recommend my library, CSS Lube, but in this article, I would like to introduce some simple tips that can improve the developer experience when using the Atomic CSS approach.
-
Mengenal macam - macam Metodologi penulisan CSS - Part 2
Dokumentasi resmi ACSS: https://acss.io/
-
Getting started with a whole new CSS language —— Master CSS
Language - Master is a language, but it was originally inspired by ACSS's concept of atomic classes.
-
Setting up a dev environment with React, Vite, and Tailwind
Tailwind and React are two leading technologies in their sphere. Tailwind CSS simplifies the concept of Atomic CSS, enabling developers to style their UI by adding some classes to their markup. And with the performance improvements that come with the new JIT compiler, Tailwind CSS has become a clear developer's favorite.
-
Got Messy Spaghetti Stylesheets? 4 Techniques for Managing CSS Complexity
Atomic frameworks like Atomic CSS and Tailwind takes a single purpose approach to selectors, so CSS properties are naturally never overlapping – this is also why Tailwind's @apply is an anti-pattern when overused.
-
What is Tailwind? And how to set it up properly.
It sure is ugly-looking but it works well! Drawing inspiration from Atomic CSS and utility classes (1 class = 1 style), Tailwind makes a few strong design decisions:
-
5 CSS methodologies you need to know in 2022
Atomic CSS is the approach to CSS architecture that favors small, single-purpose classes with names based on visual function.
- How long did you spend on css?
-
Is styling supposed to be so damn difficult?
There are all kinds of approaches people take to maintain clean HTML/CSS, such as BEM or Atomic CSS.
-
The React roadmap for beginners you never knew you needed.
Atomic
Radium
-
Object spread vs. Object.assign
options = Object.assign({}, optionsDefault, options); This is the commit that made me wonder.
-
The React roadmap for beginners you never knew you needed.
Radium
-
Tagged Template Literals - The Magic Behind Styled Components
If you have some experience with React, you probably came across styled-components. In the last few years, the concept of css-in-js became more popular, and there are multiple libraries that are available for us to use. styled-components is one of them, but you can also find Emotion, Radium, JSS, and more. In this post I'm not going to cover the pros and cons of traditional stylesheet files vs. styled-components, and instead - I'm going to focus on tagged template literals - the "magic" that let us use the styled-components syntax.
What are some alternatives?
linaria - Zero-runtime CSS in JS library
styled-components - Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
PostCSS - Transforming styles with JS plugins
classnames - A simple javascript utility for conditionally joining classNames together
React CSS Modules - Seamless mapping of class names to CSS modules inside of React components.
Aphrodite - Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation
React Inline
emotion - 👩🎤 CSS-in-JS library designed for high performance style composition
CSS Layout - A collection of popular layouts and patterns made with CSS. Now it has 100+ patterns and continues growing!
inline-style-prefixer - Autoprefixer for JavaScript style objects