Skip to main content
CSS is fun and cool and I like it.
Article

Dark Mode in CSS

With the introduction of dark mode in macOS, Safari Technology Preview 68 has released a new feature called prefers-color-scheme which lets us detect whether the user has dark mode enabled with a media query. Safari Technology Preview 71 also has supported-color-schemes, which... well, I couldn't exactly tell you what that does.

The media query is like this:

@media (prefers-color-scheme: dark) {

}

It may not be supported everywhere just yet, but it's a great progressive enhancement, it's implemented … Read article

Link

PixelSnap

Article

Clearing Accidentally “Learned” Words from macOS Dictionary

Does this little moment strike fear into your heart?

Argahghg! Fat fingers! I meant to FIX the spelling, not learn this misspelled word!

Now forevermore, the spell checker won't catch that misspelled word. Fear not, you can fix it.… Read article

Article

Designing for “Show scroll bars”

In macOS, users have the ability to set when they want to see scrollbars in windows. This affects all windows in the operating system, including in web browsers. They have three choices:

  • Automatically based on mouse or trackpad
  • When scrolling
  • Always

Which means you are either in a state where you see them all the time, or a state where you only see them once scrolling has been started through some other means. … Read article

icon-link icon-logo-star icon-search icon-star