Menu

#DevtoCss

679 posts

Feed·
8 of 679 posts
Stop letting Cursor/Claude use `bg-gray-800` (Steal these 4 SaaS Dark-Mode Token Stacks instead)
📰
0Read More

Stop letting Cursor/Claude use `bg-gray-800` (Steal these 4 SaaS Dark-Mode Token Stacks instead)

DEV Community: css·Dominik Krol·about 8 hours ago
#KTEarYy3
#devtocss#devto#dev#gray#color

Every developer knows "that AI UI look" within 0.3 seconds: Dusty bg-gray-800 cards, chalky...

15s
Accessible Modal Engineering: Lessons from Layout Thrashing and Focus Trap Fixes with TailwindCSS and shadcn/ui
🖼️
0Read More

Accessible Modal Engineering: Lessons from Layout Thrashing and Focus Trap Fixes with TailwindCSS and shadcn/ui

DEV Community: css·Chloe Chen·about 8 hours ago
#zHB0YaQr
#devtocss#devto#dev#focus#modal

Discover production-ready accessible modal patterns for React that eliminate layout thrashing and broken focus trapping using Radix Primitives, TailwindCSS v4, and shadcn/ui for smooth animations.

15s
Stop your AI hard-coding hex colours. Give it your design tokens over MCP
📰
0Read More

Stop your AI hard-coding hex colours. Give it your design tokens over MCP

DEV Community: css·Oussema Ajmi·about 8 hours ago
#4KMvTisO
#devtocss#devto#dev#value#type

Ask an AI coding tool for a button in your app and you will often get this: .save { background:...

15s
Pantone C vs U: why the same color number looks different on paper
📰
0Read More

Pantone C vs U: why the same color number looks different on paper

DEV Community: css·neo xia·about 8 hours ago
#XyUi3O14
#devtocss#devto#dev#uncoated#coated

A designer picks PANTONE 185 C, the printer runs the job on uncoated stock, and the red comes back...

15s
Building a Readable Dark Mode for a Law Firm Website With CSS
📰
0Read More

Building a Readable Dark Mode for a Law Firm Website With CSS

DEV Community: css·SBD Marketing·about 8 hours ago
#tOpmWYvY
#devtocss#devto#dev#dark#firm

How to add a readable dark mode to a law firm website with CSS tokens, contrast checks, and care for call buttons, logos and third-party widgets.

15s
CSS mask-image Explained: Fade Edges Without Gradient Divs
📰
0Read More

CSS mask-image Explained: Fade Edges Without Gradient Divs

DEV Community: css·Parsa J·about 8 hours ago
#UtilkJGm
#devtocss#devto#dev#gradient#fade

Horizontally scrolling chip lists and tab bars usually hint 'there's more to scroll' with an absolutely positioned gradient div glued to each edge. It works on a solid background and falls apart on anything else.…

15s