> Darkmode.js adds a dark mode toggle to websites: what the library does, what it stores in the browser and why it does not usually need cookie consent.
>
> Canonical: https://www.flowconsent.com/en/services/framework/darkmode-js

Frameworks

# Darkmode.js

Unclassified · [Official website](https://github.com/sandoche/Darkmode.js)

Darkmode.js is a small open-source JavaScript library by Sandoche Adittane that adds a dark mode toggle to a website using CSS blend modes. It can remember the visitor's choice in the browser's local storage, which serves a feature the visitor requested. It does not send data to a third party or track visitors.

[Block Darkmode.js until consent](https://app.flowconsent.com/auth/sign-up?utm_source=flowconsent.com\&utm_medium=referral\&utm_campaign=framework) · [Scan my site](https://www.flowconsent.com/en/scan)

At a glance

- Category

  [Frameworks](https://www.flowconsent.com/en/services/framework)

- Consent

  Unclassified

- Prior consent

  Required

- Documented cookies

  0

Compliance

## Darkmode.js and the GDPR

Darkmode.js is classified as “Unclassified”. On a site that targets European visitors, it must only load after the visitor consents, and it must be listed in your cookie policy.

Cookies and trackers

## What Darkmode.js sets and contacts

The cookies of Darkmode.js are not documented in the catalog yet. To see what is actually set on your site, run a free scan.

[Scan my site](https://www.flowconsent.com/en/scan)

Same category

## More services: Frameworks

[See the whole category](https://www.flowconsent.com/en/services/framework)

### [math.js](https://www.flowconsent.com/en/services/framework/math-js)

[math.js is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. math.js supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, math.js ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.](https://www.flowconsent.com/en/services/framework/math-js)

[Frameworks](https://www.flowconsent.com/en/services/framework/math-js)

·

### [PyWebIO](https://www.flowconsent.com/en/services/framework/pywebio)

[PyWebIO is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. PyWebIO integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, PyWebIO helps organizations maintain robust websites that meet user expectations and technical requirements.](https://www.flowconsent.com/en/services/framework/pywebio)

[Frameworks](https://www.flowconsent.com/en/services/framework/pywebio)

·

### [Milligram](https://www.flowconsent.com/en/services/framework/milligram)

[Milligram is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Milligram integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Milligram helps organizations maintain robust websites that meet user expectations and technical requirements.](https://www.flowconsent.com/en/services/framework/milligram)

[Frameworks](https://www.flowconsent.com/en/services/framework/milligram)

·

### [Imba](https://www.flowconsent.com/en/services/framework/imba)

[Imba is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Imba integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Imba helps organizations maintain robust websites that meet user expectations and technical requirements.](https://www.flowconsent.com/en/services/framework/imba)

[Frameworks](https://www.flowconsent.com/en/services/framework/imba)

·

### [Luana](https://www.flowconsent.com/en/services/framework/luana)

[Luana is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. Luana supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, Luana ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.](https://www.flowconsent.com/en/services/framework/luana)

[Frameworks](https://www.flowconsent.com/en/services/framework/luana)

·

### [Preact](https://www.flowconsent.com/en/services/framework/preact)

[Preact is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. Preact supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, Preact ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.](https://www.flowconsent.com/en/services/framework/preact)

[Frameworks](https://www.flowconsent.com/en/services/framework/preact)

## Make your site compliant today.

Free up to 25,000 sessions a month. No credit card, no commitment.

[Create my banner](https://app.flowconsent.com/auth/sign-up?utm_source=flowconsent.com\&utm_medium=referral\&utm_campaign=general) · [Scan my site](https://www.flowconsent.com/en/scan)
