{
  "$type": "site.standard.document",
  "canonicalUrl": "https://ayc0.github.io//posts/light-dark-mode-system-mode-user-preferences",
  "description": "In all my past articles, I showed either how to create a light/dark mode following your users system without JavaScript, or how to create a light/dark swatch for your website using JavaScript but without system mode. It is time to see how to reconcile those 2 approaches",
  "path": "/posts/light-dark-mode-system-mode-user-preferences",
  "publishedAt": "2021-05-31T00:00:00.000Z",
  "site": "at://did:plc:wifmfjqoxnruni5h62e6zp2y/site.standard.publication/3mn6dj35act2i",
  "tags": [
    "webdev",
    "css",
    "javascript"
  ],
  "title": "Light/dark mode: system mode + user preferences"
}