7

After upgrading to macOS Sonoma, I can't see the yellow insertion point against the white background in Pages.

Is there a way to adjust or override the accent color of individual apps?

1 Answer 1

15

Yes. The accent color and, by extension, the color of the insertion point can be adjusted on a per-app basis by assigning a value to the AppleAccentColor preferences key within the application's preferences domain.

The available accent colors are identified by an integer value as follows:

Color Value
Red 0
Orange 1
Yellow 2
Green 3
Blue 4
Violet 5
Magenta 6

For Pages, the domain would be com.apple.iWork.Pages, so setting the accent color to the standard system blue would be done by using the defaults Terminal command below:

defaults write com.apple.iWork.Pages AppleAccentColor -integer 4

To revert the change use the delete option:

defaults delete com.apple.iWork.Pages AppleAccentColor
5
  • You can use defaults write -app Pages if you don't know what the domain name is.
    – benwiggy
    Feb 10 at 21:06
  • If you are wondering how stephancasas discovered this, you can find this in the debug logs in Console when apps launch. (like found no value for key AppleAccentColor in CFPrefsSearchListSource<0x600003cdc580> (Domain: com.apple.shortcuts, Container: (null)))
    – hym3242
    May 20 at 3:18
  • @hym3242 I actually wrote a custom debugger which traps the CFPreferences and feature flags functions, but you can indeed find similar information by examining application logs. May 20 at 4:09
  • @stephancasas It would be nice if you could release what the related the feature flags procedures are.
    – hym3242
    May 20 at 6:35
  • @hym3242 _os_feature_table and _os_feature_enabled_impl are the ones that I trapped. Insofar as I can tell, the former is consistently called before the latter. May 20 at 13:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .