zaydek / duomo

CSS component for implementing layout
MIT License
20 stars 2 forks source link

[Todo] bg-placeholder should be generally supported #226

Closed zaydek closed 3 years ago

zaydek commented 3 years ago

Can be configured via CSS variables and a part of the main CDN.

zaydek commented 3 years ago

Something like this in introspection:

        // bg-placeholder-*
        --default-placeholder-1-bg: get.color(cool-gray-100);
        --default-placeholder-2-bg: get.color(cool-gray-200);
        --default-placeholder-3-bg: get.color(cool-gray-400);
        --default-placeholder-4-bg: get.color(cool-gray-400);
zaydek commented 3 years ago

Also needs to support dark mode.

zaydek commented 3 years ago

See #215.

zaydek commented 3 years ago

Maybe we should do like

.bg-placeholder-1 { /* ... */ }
.bg-placeholder-2 { /* ... */ }
.bg-placeholder-3 { /* ... */ }
.bg-placeholder-4 { /* ... */ }
zaydek commented 3 years ago

This has the same semantics as w-stagger-*.

zaydek commented 3 years ago

Nevermind would prefer to use raw colors.