Skip to content

Commit 05e6b94

Browse files
authored
AccentColor change (#12733)
1 parent 95c2622 commit 05e6b94

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

css-color-4/Overview.bs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ spec: css-backgrounds-3; type: property; text: border-top-color
4141
spec: css-backgrounds-3; type: property; text: border-left-color
4242
spec: css-backgrounds-3; type: property; text: border-bottom-color
4343
spec: css-backgrounds-3; type: property; text: border-right-color
44+
spec: css-ui-4; type: dfn; text: accent color
45+
spec: css-ui-4; type: property; text: accent-color
4446
</pre>
4547

4648

@@ -2020,6 +2022,13 @@ System Colors</h3>
20202022
though possibly at a lower contrast rating,
20212023
over any of the backgrounds.
20222024

2025+
To maintain consistency with widget [=accent color=] styling,
2026+
''AccentColor'' takes its value from 'accent-color',
2027+
unless [=Forced Colors Mode=] is enabled.
2028+
''AccentColorText'' takes its value from
2029+
the contrasting foreground color to ''AccentColor''
2030+
as is described for widget [=accent color=] styling.
2031+
20232032
<div class="example" id="ex-SystemCombo">
20242033
For example, the system color combinations in the browser you are currently using:
20252034

@@ -7337,8 +7346,8 @@ Changes</h2>
73377346
<h3 id="changes-from-20250424">Changes since the
73387347
<a href="https://www.w3.org/TR/2025/CRD-css-color-4-20250424/">Candidate Recommendation Draft of 24 April 2025</a></h3>
73397348
<ul>
7340-
<!-- to 23 Apr 2025 -->
7341-
<li><em>none</em></li>
7349+
<!-- to 4 Sep 2025 -->
7350+
<li>Updated ''AccentColor'' to take its value from 'accent-color', unless in [=Forced Colors Mode=]</li>
73427351
</ul>
73437352

73447353
<h3 id="changes-from-20240213">Changes since the <a href="https://www.w3.org/TR/2024/CRD-css-color-4-20240213/">Candidate Recommendation Draft of 13 Feb 2024</a></h3>

0 commit comments

Comments
 (0)