Skip to content

Commit d942a8d

Browse files
committed
docs: update readme and docs home page
1 parent 87b7850 commit d942a8d

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

docs/homepage.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,23 @@ Atomic CSS toolkit with Sass and ergonomics for creating styles of any complexit
4646
### Great ergonomics
4747
Shorter class names:
4848
```html
49-
<!-- Example from https://www.shopify.com/ -->
50-
5149
<!-- Tailwindcss -->
52-
<div class="hidden md:block md:col-span-6 md:col-start-7 lg:col-span-5 lg:col-start-8 pb-6 relative md:max-h-[130vh] reduced-motion:translate-y-0 will-change-transform duration-1000 ease-in-out transition-all reduced-motion:opacity-100">...</div>
50+
<div class="relative -bottom-px col-span-full col-start-1 row-start-2 h-px bg-(--cardBg)"></div>
5351

5452
<!-- mlut -->
55-
<div class="D-n md_D md_Gc-s1 md_Gcs7 lg_Gc-s5 lg_Gcs8 Pb6u Ps md_Mxh130vh Tf @:pfrm_-Try0 Wlc-tf Tsd1s Tstf-eio Ts-all @:pfrm_O1">...</div>
53+
<div class="Ps B-1 Gc1/-1 Gcs1 Grs2 H1 Bgc-$cardBg"></div>
5654
```
5755
Convenient syntax for complex values, states and at-rules. It is like Vim for CSS.
5856

5957
**❌ Tailwindcss:**
6058

6159
- `[@media(any-hover:hover){&:hover}]:opacity-100`
62-
- `text-[color:var(--my-var,#333)]`
60+
- `text-[length:var(--myVar,1.3rem)]`
6361
- `supports-[margin:1svw]:ml-[1svw]`
6462

6563
**✅ mlut:**
6664
- `@:ah_O1_h` => `@media (any-hover) { .\@\:ah_O1_h:hover { opacity: 1 } }`
67-
- `C-$myVar?#333` => `color: var(--ml-myVar, #333)`
65+
- `Fns-$myVar?1.3` => `font-size: var(--ml-myVar, 1.3rem);`
6866
- `@s_Ml1svw` => `@supports (margin-left: 1svw) { .\@s_Ml1svw { margin-left: 1svw } }`
6967

7068
</section>
@@ -172,15 +170,17 @@ Addons may contains any tools, settings and styles. Addons now at the **preview*
172170
- Atomic CSS Deep Dive: [EN](https://dev.to/mr150/atomic-css-deep-dive-1hee), [RU](https://habr.com/ru/articles/833712/)
173171
- [mlut - a new word in the Utility-First CSS approach](https://dev.to/mr150/mlut-a-new-word-in-the-utility-first-css-approach-gbl)
174172
- How to make one plugin for all frontend bundlers at once: [RU](https://habr.com/ru/articles/856028/)
173+
- Interactive lesson: [RU](https://htmlacademy.ru/demos/183)
175174

176175
</section>
177176

178177
<section class="Mb4gg">
179178

180179
## What next? ##
181-
- first class CSS functions in utilities values
182-
- states and at-rules grouping
180+
- ability to run in a browser
181+
- first-class pseudoselectors with arguments like `has()`
183182
- performance optimization
183+
- plugins for editors and IDEs with hints and autocompletion
184184
- and much more!
185185

186186
</section>

packages/mlut/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,21 @@ Atomic CSS toolkit with Sass and ergonomics for creating styles of any complexit
5959
### Great ergonomics
6060
Shorter class names:
6161
```html
62-
<!-- Example from https://www.shopify.com/ -->
63-
6462
<!-- Tailwindcss -->
65-
<div class="hidden md:block md:col-span-6 md:col-start-7 lg:col-span-5 lg:col-start-8 pb-6 relative md:max-h-[130vh] reduced-motion:translate-y-0 will-change-transform duration-1000 ease-in-out transition-all reduced-motion:opacity-100">...</div>
63+
<div class="relative -bottom-px col-span-full col-start-1 row-start-2 h-px bg-(--cardBg)"></div>
6664

6765
<!-- mlut -->
68-
<div class="D-n md_D md_Gc-s1 md_Gcs7 lg_Gc-s5 lg_Gcs8 Pb6u Ps md_Mxh130vh Tf @:pfrm_-Try0 Wlc-tf Tsd1s Tstf-eio Ts-all @:pfrm_O1">...</div>
66+
<div class="Ps B-1 Gc1/-1 Gcs1 Grs2 H1 Bgc-$cardBg"></div>
6967
```
7068
Convenient syntax for complex values, states and at-rules. It is like Vim for CSS.
7169
#### ❌ Tailwindcss:
7270
- `[@media(any-hover:hover){&:hover}]:opacity-100`
73-
- `text-[color:var(--my-var,#333)]`
71+
- `text-[length:var(--myVar,1.3rem)]`
7472
- `supports-[margin:1svw]:ml-[1svw]`
7573

7674
#### ✅ mlut:
7775
- `@:ah_O1_h` => `@media (any-hover) { .\@\:ah_O1_h:hover { opacity: 1 } }`
78-
- `C-$myVar?#333` => `color: var(--ml-myVar, #333)`
76+
- `Fns-$myVar?1.3` => `font-size: var(--ml-myVar, 1.3rem);`
7977
- `@s_Ml1svw` => `@supports (margin-left: 1svw) { .\@s_Ml1svw { margin-left: 1svw } }`
8078

8179
### Handy extension
@@ -277,11 +275,13 @@ Available [here](https://mr150.github.io/mlut/) or can be run locally. Documenta
277275
- Atomic CSS Deep Dive: [EN](https://dev.to/mr150/atomic-css-deep-dive-1hee), [RU](https://habr.com/ru/articles/833712/)
278276
- [mlut - a new word in the Utility-First CSS approach](https://dev.to/mr150/mlut-a-new-word-in-the-utility-first-css-approach-gbl)
279277
- How to make one plugin for all frontend bundlers at once: [RU](https://habr.com/ru/articles/856028/)
278+
- Interactive lesson: [RU](https://htmlacademy.ru/demos/183)
280279

281280
## What next? ##
282-
- first class CSS functions in utilities values
283-
- states and at-rules grouping
281+
- ability to run in a browser
282+
- first-class pseudoselectors with arguments like `has()`
284283
- performance optimization
284+
- plugins for editors and IDEs with hints and autocompletion
285285
- and much more!
286286

287287
## Acknowledgement ##

0 commit comments

Comments
 (0)