#CssModules

2025-10-02

shadcn-css: Bản port của shadcn/ui dùng CSS Modules thay vì Tailwind. Hỗ trợ đa số component và có CLI. Tạo ra bởi nhà dev muốn dùng shadcn/ui nhưng thích CSS hơn. Dự án được maintain tích cực. #shadcnui #cssmodules #react #ui #thietkelayout #frontend #javascript

reddit.com/r/SideProject/comme

Inautiloinautilo
2025-08-19
Kagan MacTane (he/him)kagan@wandering.shop
2025-02-25

I know I've said this before, but I really hate CSS Modules.

Seriously, can it please go die in a fire?

#webdev #CSS #CSSModules

westbrookwestbrook
2024-09-30

@konnorrogers

@keithamus doesn't need to worry, too much... the Edge team is super invested in bringing a version of this to life for use!! 🚀

It's very exciting: github.com/MicrosoftEdge/MSEdg

2024-05-08

@thomasreggi Whatever happens, just don't fall in the CSS-in-JS rabbit hole. Phooie, what nonsense even is that, I mean?

Now, in regards to #JSX and #components... As long as it's the same #CSS or, perhaps, CSS and non-over-the-top #CSSModules, the transition should not take much time. One serious benefit is maintaining component styling in one file with the layout and script bindings (most of the time, it results in less split brain logic than with separate files).

2024-04-10

Isaac Lee demonstrated how to handle #cssmodules and i18n in #emberjs with Embroider and @vite using embroider-css-modules at our last event. 🚀

➡️ Watch now: youtu.be/J64q5SxY8rE

Aaron In Minnesotaaeischeid
2024-03-22

With CSS nesting and `@Scope` stuff well supported at this point I am struggling to see much of a reason to continue using CSS modules.

In Next.js you can now nest selectors in a module.css file, but the only way I can see to make it not the awkward obfuscated class names is to prefix all the nested items with `:global()`. which just is kinda ick.

CSS module code snapshot
.myModal {
	:global(.MuiDialog-paper) {
		padding: 22px;
		border-radius: 16px;
	}

	:global(.title) {
		margin: 24px;

		h2 {
			font-size: 34px;
			padding-top: 24px;
		}

		:global(h2.primary) {
			color: var(--palette-primary-main);
		}

		:global(h2.error) {
			color: var(--palette-error-main);
		}
	}

	:global(.closeIcon) {
		position: absolute;
		right: 16px;
		top: 16px;
		color: var(--palette-secondary-800);
	}
}
2024-03-13

Isaac Lee will talk about #CSSmodules and i18n in Embroider at our next event!

Join us remotely on March 21st: meetup.com/de-DE/ember-europe/

Lukas Oppermannlukasoppermann
2023-12-13

Love this approach by Dion Almaer: blog.almaer.com/building-a-mod This is exactly what we did . I feel even the first point, to try to stick to defaults is already valuable. Instead of some css-in-js, just use or plain . Sticking to the platform makes it easier in the long run.

Graph showing the different layers, starting with html + css, above are web components and at the top react, vue, etc.
Emmanuel 🌱emmanuelc@mamot.fr
2023-06-02

Méthodologie(s) #CSS

#OOCSS ;
#SMACSS ;
#BEM ;
#BEMIT ;
#ITCSS ;
— Classes utilitaires-atomiques…
Edit :
#cubeCSS cube.fyi/ ;
#CSSModules ;
#SUITCSS.

Mais encore ?

Avez-vous d'autres méthodologies en tête ?
Ou en sommes-nous aujourd'hui ?

(Sans oublier les CSS à l'ancienne, profitant bien de l'héritage et la cascade, sans convention de nommage particulière, et qui peut tout à fait convenir pour un petit projet personnel amateur.)

Inautiloinautilo
2023-01-12

Past informs the present: Our approach to CSS · The evolution of CSS and its methodologies ilo.im/10bo7u · by @colepeters

_____

2019-07-08

Senior Web Developer - Your day-to-day will involve bridging the gap between our UX designers and back-end devs so we... Shopify / Ottawa, Canada startup.jobs/senior-web-develo #Dev fullstack #React #Typescript #CSSModules #Ruby #GraphQL by @shopify@twitter.com

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst