Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Simon Brooke
Simon Brooke
@simon_brooke@mastodon.scot  ·  activity timestamp 6 days ago

I visited a popular #OpenSource documentation site this morning, and the glare almost blinded me.

Folk, in this day and age, if you run a website, there is NO EXCUSE for not implementing `@media: prefers-color-scheme(dark)`

But, I thought, this is open source! I can submit a pull request to fix this!

Reader, there are ONE HUNDRED AND FORTY-FOUR distinct colours specified in three different syntaxes.

#CSS
#WebDesign
#NoExcuse

  • Copy link
  • Flag this post
  • Block
Jonathan Schofield
Jonathan Schofield
@urlyman@mastodon.social replied  ·  activity timestamp 6 days ago

@simon_brooke chastened. Thanks

  • Copy link
  • Flag this comment
  • Block
Simon Brooke
Simon Brooke
@simon_brooke@mastodon.scot replied  ·  activity timestamp 6 days ago

@urlyman We've all been there. In more than thirty years of #WebDesign I've written some horrible things myself. I now deliberately separate layout styling and colour styling into separate files, to simplify reskinning colour. But really, if you're using more than a dozen colours on a page, WHY?

#CSS should be simple!

  • Copy link
  • Flag this comment
  • Block
Jonathan Schofield
Jonathan Schofield
@urlyman@mastodon.social replied  ·  activity timestamp 6 days ago

@simon_brooke sound thoughts 🙏

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct