Safari 27.3 adds Adaptive Dark Mode: when a reader turns it on, Safari presents light websites that do not support dark mode as dark. If your brand colours must stay as designed, declare a light-only colour scheme in two places, the <head> and :root:
<meta name="color-scheme" content="light only">
:root { color-scheme: light only; }
If your site already supports dark mode and says so with color-scheme: light dark, Safari leaves it alone. This post covers the Safari 27.3 beta release notes (Safari 20626.1.17, dated 16 Nov 2026), WebKit’s announcement post (3 Nov, updated 16 Nov), an audit of our own site’s markup on 1 Dec 2026, and a parser check in Chromium 158. iOS 27.3 beta 3 reached developers on 30 Nov, and MacRumors reports Apple plans to release iOS 27.3 in December, so the setting reaches real readers within weeks.
Why we did this: ideaxecution.com and our product pages for Nix, OneClick QuitAll, Cardigami and BMDB are light, brand-coloured WordPress pages, and the client sites we run on the same stack look the same. We wanted to know what Safari 27.3 will do to them before readers send us screenshots.
What Safari 27.3 changes
From the Safari 27.3 release notes, Browser section, New Features:
- “Added Adaptive Dark Mode, which automatically adapts bright web pages that don’t natively support dark mode, giving users an optimized viewing experience when browsing at night or in dark environments.” (189226811)
- “Added support for opting out of Adaptive Dark Mode when
color-scheme: only lightis specified.” (191328852)
WebKit’s post Introducing Adaptive Dark Mode adds the details the notes leave out:
- It is the reader’s choice: “When enabled by a user, Safari adapts light websites and presents them as dark.”
- Sites that declare dark support with
color-scheme: light dark(CSS or the meta tag) are not touched. - The opt-out works through both the meta tag and the CSS property, and support for the
onlykeyword arrived in Safari 27.3 beta 2. - Declare it in the HTML head and in CSS on
:rootorbody; WebKit asks sites not to inject it later with JavaScript. - Safari does not let a page detect that Adaptive Dark Mode has been applied, so there is no script hook to react to it.
The notes write only light, the WebKit post writes light only. They are the same value, as the check further down shows.
What we found on our own site
We fetched the live HTML of six of our pages and the theme and plugin assets they load, and searched them for the colour-scheme declarations and for the features Safari 27.3 removes.

Real output from our audit script, run against the live site on 1 Dec 2026.
The result is plain: none of the six pages declares a colour scheme, in a meta tag or in CSS, and none has a prefers-color-scheme query. The block theme paints the body #FBF7F1 with near-black text. That is exactly the “bright web page that doesn’t natively support dark mode” the release note describes, so a reader with Adaptive Dark Mode turned on will get Safari’s adapted version of our pages, not ours.
Nothing in WordPress core or our block theme added one, and we expect many WordPress sites to be in the same position. Search your own rendered output before assuming otherwise.
Option 1: opt out with color-scheme: light only
Use this when the design must not change: brand colours, product screenshots on a white card, charts, or a client who signed off on exact hex values.

The two changes side by side: a meta tag in the head, and the same value on :root.
In a WordPress block theme the head tag goes in through wp_head. A small snippet for the theme’s functions.php or a site plugin; treat it as a starting point and adapt the hook priority to your theme:
<?php
// Print the colour scheme early in <head>, before stylesheets load.
add_action( 'wp_head', function () {
echo '<meta name="color-scheme" content="light only">' . "\n";
}, 1 );
And in the theme stylesheet (or Appearance, Editor, Styles, Additional CSS):
:root {
color-scheme: light only;
}
Why both: the meta tag is read before any CSS arrives, which is what WebKit’s post asks for, and the CSS rule covers pages or embeds where the head is not yours to edit. MDN describes only as forbidding “the user agent from overriding the color scheme for the element”, and notes the same value also turns off Chrome’s Auto Dark Theme, so the line is not Safari-only.
Do not write color-scheme: only on its own. It is not a valid value and the browser drops the declaration:

Real output from a Playwright script on our test machine: CSS.supports() and the computed value for five spellings in Chromium 158.
Chromium is not Safari, but the grammar is the same CSS Color Adjust specification: light and only can come in either order, and a declaration with only and no scheme is invalid. If your linter or CSS minifier reorders or strips the keyword, check the built file, not the source.
Option 2: support dark mode properly instead
Opting out keeps your page bright in a dark room. If your readers browse at night, the better long-term fix is a real dark theme, and then Safari has nothing to adapt.
:root {
color-scheme: light dark;
--paper: #FBF7F1;
--ink: #17131F;
}
@media (prefers-color-scheme: dark) {
:root {
--paper: #17131F;
--ink: #FBF7F1;
}
}
body { background: var(--paper); color: var(--ink); }
With light dark declared, form controls and scrollbars follow the system too. In a block theme, the clean place for the dark values is a style variation or a prefers-color-scheme block that overrides the --wp--preset--color--* variables. Check images with transparent backgrounds, logos drawn in dark ink, and code blocks that hard-code a light background: those are the parts that look wrong first.
What we are weighing for our own pages: the product pages carry screenshots and brand art designed on a light ground, so light only is the quick, safe line; the journal is mostly text and code, which is where a proper dark theme would pay off.
Three removals in Safari 27.3 to search for
The same release notes remove a few non-standard or out-of-spec features. Each is a one-line search in your theme and plugins:
-webkit-line-clampwith a percentage: “Removed the non-standardpercentagevalue from-webkit-line-clamp.” (159808285, CSS Deprecations). Integers keep working; our theme uses-webkit-line-clamp: 2for card excerpts, so it is unaffected.margin-trimon flex and grid containers: support removed for both (184151309, 184164505), following the CSSWG resolution that limits it to block and multi-column containers, and theinline,inline-startandinline-endvalues are gone (185527437). Our pages do not use it.DataTransferItemList.prototype.item(): removed “to match the HTML specification; use index access such asitems[0]instead” (185019165, Web API Deprecations). This matters for drag-and-drop and paste uploaders in admin screens. No hit in our theme or plugin scripts.
SVG artwork with dominant-baseline: use-script, no-change or reset-size also loses those values (174635806), to match SVG 2.
grep -rnE "color-scheme|prefers-color-scheme|line-clamp: *[0-9.]+%|margin-trim|\.item\(|dominant-baseline" \
wp-content/themes/your-theme wp-content/plugins/your-plugin
What to check on your own site
- Search the rendered HTML of your home page, a post and a product page for
color-scheme. No hit means Safari 27.3 may adapt your pages when a reader turns the feature on. - Decide per site:
light onlyto keep the design as is, orlight darkwith real dark styles. - Put the declaration in the
<head>and on:root, in the server-rendered HTML, not in JavaScript. - Run the grep above for the three removals, especially in older plugins and page-builder CSS.
- When iOS 27.3 and macOS 27.3 ship, turn Adaptive Dark Mode on in Safari and open your key pages once to confirm.
Related on the journal: iOS 27.3 beta 2: what changed for app developers since beta 1 and WordPress 7.2 on 8 Dec: what plugin and theme authors must check.



