←back to thread

389 points OuterVale | 1 comments | | HN request time: 0.208s | source
Show context
sbarre ◴[] No.42062400[source]
I don't know if anyone else remembers this but in the late 90s, Microsoft had built-in CSS named colours that matched the Windows desktop theme/colours.

I have no idea if these still work (my IDE seems to say they do not, because everything is red).

    body {
      font-size : 11px ;
      color : windowtext ;
      background-color : appworkspace ;
    }
    a {
      color: menutext;
    }
    .headerBar {
      border-top    : 1px solid threedlightshadow ;
      border-left   : 1px solid threedlightshadow ;
      border-bottom : 1px solid threedshadow ;
      border-right  : 1px solid threedshadow ;
      background-color : threedface ;
    }

So you could build web UIs that matched the user's Desktop look and feel. We did this for our browser-based Intranet applications in 1998, which made them look a bit more "native".
replies(1): >>42062503 #
1. sbarre ◴[] No.42062503[source]
I did a bit of digging and it seems this was generalized into CSS System Colours at some point:

https://drafts.csswg.org/css-color/#css-system-colors

And all these old colours were deprecated:

https://drafts.csswg.org/css-color/#deprecated-system-colors