Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/magica11y/samsung-internet-force-dark-behavior

Test page for https://developer.samsung.com/internet/blog/en/2020/12/15/dark-mode-in-samsung-internet
https://github.com/magica11y/samsung-internet-force-dark-behavior

Last synced: about 1 month ago
JSON representation

Test page for https://developer.samsung.com/internet/blog/en/2020/12/15/dark-mode-in-samsung-internet

Awesome Lists containing this project

README

        

Force Dark Behavior test
========================
on Samsung Internet browser
---------------------------

## Background

Samsung Internet browser has released a feature, [Force Dark Behavior](https://developer.samsung.com/internet/blog/en/2020/12/15/dark-mode-in-samsung-internet).

According to Samsung:

> Specifies how the [`prefers-color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media query interacts with the existing force dark feature of Samsung Internet. — Android.

## Settings

The setting can be toggled by visiting [`internet://flags#force-dark-behavior`](internet://flags#force-dark-behavior):

Samsung Internet’s Force Dark Behavior setting, set to 'Default', on a device with dark mode enabled.
Samsung Internet - Force Dark Mode option in Flags on a device with dark mode enabled

Samsung Internet’s Force Dark Behavior setting, set to 'Default', on a device with light mode enabled
Samsung Internet - Force Dark Mode option in Flags on a device with light mode enabled

There are 4 options available:

1. Default
2. Force Dark Only
3. Media Query only
4. Prefer Media Query Over Force Dark