---
title: "Discussion on \"The CSS light-dark() Function \" | Hashnode"
description: "Discussion on \"The CSS light-dark() Function \". A Simpler Way to Handle Themes"
url: "https://hashnode.com/posts/the-css-light-dark-function/6a2859c152d5759b56ade590"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The CSS light-dark() Function](https://blog.vihanga.dev/the-css-light-dark-function?utm_source=hashnode&utm_medium=feed)

A Simpler Way to Handle Themes

Jun 9 · 4 min read · blog.vihanga.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#light-dark](https://hashnode.com/tag/light-dark)
-   [#theming](https://hashnode.com/tag/theming)
-   [#css-theming](https://hashnode.com/tag/css-theming)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#lighthouse](https://hashnode.com/tag/lighthouse)

## Written by

[Vihanga nivarthana](https://hashnode.com/@vihanga)

@vihanga · SriLanka

  
[View profile](https://hashnode.com/@vihanga)

Senior Software Engineer , Frontend

Building for the web ✦ React, motion design, animations, 3D, and creative experiments.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
