mastodon.online is one of the many independent Mastodon servers you can use to participate in the fediverse.
A newer server operated by the Mastodon gGmbH non-profit

Server stats:

10K
active users

#less

2 posts2 participants1 post today

[Перевод] Как использовать любой CSS-фреймворк в вашем проекте. Часть 3

Цвета — одна из самых важных частей любой дизайн-системы — и также одна из самых сложных. Если с ними обращаться неправильно, это приведёт к путанице и несогласованности в дальнейшем. Чтобы этого избежать, вам нужна чёткая, хорошо структурированная цветовая система, которая остаётся согласованной во всём проекте. Если всё сделано правильно, вы сможете разрабатывать и поддерживать весь проект, используя только 6–8 основных цветов и их оттенков.

habr.com/ru/articles/898600/

ХабрКак использовать любой CSS-фреймворк в вашем проекте. Часть 3Это третья часть серии о том, как использовать UI-библиотеки и интегрировать их в существующую архитектуру. В этот раз речь пойдёт о работе с цветовыми переменными: как извлечь цветовую палитру,...
Replied in thread

@redscroll

consider #sass - a preprocessor for #css, and the most overwrought one in comparison with its competitors #less and especially #stylus. but it "won"

last i heard, the dominant implementation of sass was a c++ module for nodejs, and nobody has even mentioned less/stylus for a long time.

though i'm sure they remain some lowkey frontend ninjas' secret weapons (secret by virtue of not knowing to look for them, lol)

@mcc

We've just started the work of removing #less from our codebase. There are some mixins that need to be inlined the few places they are used, but apart from that it's mostly rewriting variables and media queries. The result is that we will be able to use modern css features like @starting-style, which currently aren't supported by less.