summaryrefslogtreecommitdiffstats
path: root/macosx/README
diff options
context:
space:
mode:
authorculler <culler>2019-04-14 20:01:55 (GMT)
committerculler <culler>2019-04-14 20:01:55 (GMT)
commit8eec3e9e63a26229b33ad826f232a3a0cceb9851 (patch)
tree30d2fc2fe8019073873fb3304480fa9fc951faeb /macosx/README
parenta231332e57a1d87c18d3e76889cc32749851f591 (diff)
downloadtk-8eec3e9e63a26229b33ad826f232a3a0cceb9851.zip
tk-8eec3e9e63a26229b33ad826f232a3a0cceb9851.tar.gz
tk-8eec3e9e63a26229b33ad826f232a3a0cceb9851.tar.bz2
For Aqua, add systemControlAccentColor; simulate the color for older systems.
Diffstat (limited to 'macosx/README')
-rw-r--r--macosx/README29
1 files changed, 16 insertions, 13 deletions
diff --git a/macosx/README b/macosx/README
index 12a7117..fd54c2d 100644
--- a/macosx/README
+++ b/macosx/README
@@ -289,19 +289,22 @@ window.
---------------------------------------
With the release of OSX 10.14 (Mojave), Apple introduced the DarkAqua
-appearance. Part of the implementation of the Dark Mode was to make some of
-the named NSColors have dynamic values. Apple calls these "semantic colors"
-because the name does not specify a specific color, but rather refers to the
-context in which the color should be used. Tk now provides the following
-semantic colors as system colors: systemTextColor, systemTextBackgroundColor,
-systemSelectedTextColor, systemSelectedTextBackgroundColor,
-systemControlTextColor, systemDisabledControlTextColor, and systemLabelColor.
-All of these except systemLabelColor, which was introduced in 10.10, were
-present in OSX 10.0. The change in 10.14 was that the RGB color value of these
-colors became dynamic, meaning that the color value can change when the
-application appearance changes. In particular, when a user selects Dark Mode
-in the system preferences these colors change appearance. For example
-systemTextColor is dark in Aqua and light in DarkAqua.
+appearance. Part of the implementation of the Dark Mode was to make
+some of the named NSColors have dynamic values. Apple calls these
+"semantic colors" because the name does not specify a specific color,
+but rather refers to the context in which the color should be used.
+Tk now provides the following semantic colors as system colors:
+systemTextColor, systemTextBackgroundColor, systemSelectedTextColor,
+systemSelectedTextBackgroundColor, systemControlTextColor,
+systemDisabledControlTextColor, systemLabelColor and
+systemControlAccentColor. All of these except the last two were
+present in OSX 10.0 (and those two are simulated in systems where they
+do not exist). The change in 10.14 was that the RGB color value of
+these colors became dynamic, meaning that the color value can change
+when the application appearance changes. In particular, when a user
+selects Dark Mode in the system preferences these colors change
+appearance. For example systemTextColor is dark in Aqua and light in
+DarkAqua.
The default background and foreground colors of most of the Tk widgets
have been set to semantic colors, which means that the widgets will change