---
title: "Discussion on \"light-dark() : new css function to switch theme color in simple way\" | Hashnode"
description: "Discussion on \"light-dark() : new css function to switch theme color in simple way\". In this little article, we will discuss about the new css function : light-dark()\nWhat is light-dark() function?\nRefered to MDN web docs :\n\" The light-dark() CSS <color> function enables setting two colors for a property - returning one of the two co..."
url: "https://hashnode.com/posts/light-dark-new-css-function-to-switch-theme-color-in-simple-way/6595b4eaf2a962762c57a8b6"
---

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

Discussion

# [light-dark() : new css function to switch theme color in simple way](https://delice.hashnode.dev/light-dark-new-css-function-to-switch-theme-color-in-simple-way?utm_source=hashnode&utm_medium=feed)

In this little article, we will discuss about the new css function : light-dark() What is light-dark() function? Refered to MDN web docs : " The light-dark() CSS <color> function enables setting two colors for a property - returning one of the two co...

Jan 3, 2024 · 2 min read · delice.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#web3](https://hashnode.com/tag/web3)
-   [#ui](https://hashnode.com/tag/ui)

## Written by

[Don Delice Dushime](https://hashnode.com/@dondelice257)

@dondelice257 · Mwaro, Burundi

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

software developer

I am a passionate software developer based in burundi, i like get help from others also i like helping others too Let's learn and grow together in this dynamic world of web development!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
