An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

npmjs.org : value-theme-return

returns a value depending on whether your browser has dark mode or light mode activated, it is super useful with Styled-Components for ReactJS, but you can also use it with JS Vanilla

Registry - JSON
purl: pkg:npm/value-theme-return
Keywords: use-theme , hook , custom-hook , theme , dark , light , dark-mode , light-mode , vanilla , js , reactjs , react , css , styled-components
License: MIT
Latest release: over 4 years ago
First release: over 4 years ago
Downloads: 4 last month
Last synced: 2 days ago

    Loading...
    Readme
    Loading...