diff options
-rw-r--r-- | doc/colors.n | 1 | ||||
-rw-r--r-- | macosx/README | 23 |
2 files changed, 13 insertions, 11 deletions
diff --git a/doc/colors.n b/doc/colors.n index 9234824..4af3a7a 100644 --- a/doc/colors.n +++ b/doc/colors.n @@ -945,6 +945,7 @@ systemControlTextColor systemDisabledControlTextColor systemLabelColor systemLinkColor +systemPlaceholderTextColor systemSelectedTextBackgroundColor systemSelectedTextColor systemTextBackgroundColor diff --git a/macosx/README b/macosx/README index a3f10b6..e9d50a4 100644 --- a/macosx/README +++ b/macosx/README @@ -275,17 +275,18 @@ 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, systemLinkColor, and -systemControlAccentColor. All of these except the last three were -present in OSX 10.0 (and those three 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. One additional color, systemSelectedTabTextColor, does not -exist in macOS but is used by Tk to match the different colors used -for Notebook tab text in different OS versions. +systemDisabledControlTextColor, systemLabelColor, systemLinkColor, +systemControlAccentColor, and systemPlaceholderTextColor. All of these +except the last four were present in OSX 10.0 (and those four 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. One additional color, +systemSelectedTabTextColor, does not exist in macOS but is used by Tk +to match the different colors used for Notebook tab text in different +OS versions. 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 |