diff options
author | culler <culler> | 2020-08-13 19:31:07 (GMT) |
---|---|---|
committer | culler <culler> | 2020-08-13 19:31:07 (GMT) |
commit | 5a26579efc6ccc0229b55779c6e69acf3feccd0a (patch) | |
tree | 8bb861ea440aebb98e72da25e6bc3c409df598c6 /doc | |
parent | 873edb3321e09048e82e52ad58e133216bd2a10b (diff) | |
parent | bff24c237ed9b9ac18f5c222d29b91e695f99f2c (diff) | |
download | tk-5a26579efc6ccc0229b55779c6e69acf3feccd0a.zip tk-5a26579efc6ccc0229b55779c6e69acf3feccd0a.tar.gz tk-5a26579efc6ccc0229b55779c6e69acf3feccd0a.tar.bz2 |
Aqua - automatically support all colors in Apple's system ColorList
Diffstat (limited to 'doc')
-rw-r--r-- | doc/colors.n | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/doc/colors.n b/doc/colors.n index 6a99362..3747ee8 100644 --- a/doc/colors.n +++ b/doc/colors.n @@ -868,12 +868,16 @@ systemWindowBody .DE .RE . -The group of MacOS colors below are based on Apple's "semantic" -NSColors. On OSX 10.14 (Mojave) and later these colors change value -when Dark Mode is enabled. The numbered systemWindowBackgroundColors -are used in the \fBttk::notebook\fR and \fBttk::labelframe\fR widgets -to provide a contrasting background. Each numbered color constrasts -with its predecessor. +Tk supports all of the NSColors in the macOS System ColorList. The +convention for naming these colors is that the Tk name is generated by +capitalizing the macOS name and adding the prefix "system". On OSX +10.14 (Mojave) and later many of these "semantic" colors will appear +differently depending on whether the NSWindow in which they are used has +the Aqua or DarkAqua appearance. The System ColorList differs between +releases of macOS and some colors, such as systemLinkColor and +systemControlAccentColor, are simulated on older systems which did not +provide them. All of the colors below are available on all supported +macOS releases, but newer systems will support additional colors. .RS .DS systemControlAccentColor @@ -887,6 +891,15 @@ systemSelectedTextColor systemSeparatorColor systemTextBackgroundColor systemTextColor +.DE +.RE +. +The numbered systemWindowBackgroundColors below +are used in the \fBttk::notebook\fR and \fBttk::labelframe\fR widgets +to provide a contrasting background. Each numbered color constrasts +with its predecessor. +.RS +.DS systemWindowBackgroundColor systemWindowBackgroundColor1 systemWindowBackgroundColor2 @@ -899,7 +912,6 @@ systemWindowBackgroundColor7 .RE .TP - \fBWindows\fR . On Windows, the following additional system colors are available |