A video guide is avaliable here
Caution
Failure to properly backup your files, directly interacting with your system's filesystem, and interacting with asset files may leave your system in a irrecoverable state, and you will have to restore your Mac.
Caution
This requires disabling System Integrity Protection on MacOS. System Integrity Protection protects some files and directories from being modified — even from the root user. To modify system assets, this requires you to disable SIP.
Warning
Backup your data!! This WILL leave your system in an unsupported state.
Important
This has only been tested on macOS Version 15.5, Build 24F74
Note
When I was trying out different .car modifications, I accidentally bricked my system, and essentially all windows could not be visible. Reverting was a simple as a few terminal commands. Make sure you can access these commands on an another device just in case. SET UP SSH FROM ANOTHER DEVICE FIRST SO YOU CAN EASILY RUN TERMINAL COMMANDS FROM ANOTHER DEVICE.
Backup your system resources folder to at least two places, one of which being an external volume.
In addition, back up your entire computer or documents with Time Machine, or to another external disk.
cp -r /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/ ~/Documents/resources_bak
cp -r /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/ /Volumes/<your_external_drive>
## Incase you accidentally delete or overwrite one copy, when building the .car assets file
cp -r /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/ ~/Desktop/resources_bak
cp -r /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/ ~/.resources_bakWarning
You should not blindly trust me and the Assets.car file in this repo. You should never trust anyone to tells you to disable SIP and run arbitrary commands. You should never trust anyone who tells you to place arbitrary files into arbitrary places, always research commands and build executables when possible. It is always best to build your own from the files based on your own system.
Note
The steps are the same for Dark Mode as Light Mode. Make sure you replace DarkAqua.car and NOT Aqua.car, otherwise you will LOSE your light theme.
-
Install Theme Engine, a .car viewer and AssetCatalogTinkerer, a .car image exporter
-
Open
/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.carwith AssetCatalogTinkerer, and export all the images starting withWindowFrame_WindowShapeEdges -
Navigate to the
WindowFrame_WindowShapeEdges -
Navigate to the same folder in ThemeEngine, and navigate to the
WindowFrame_WindowShapeEdgestab. -
Edit all so that the viewbox is filled with that color instead of having a corner radius, you can do this with a variety of photo edit tools, like PREVIEW, Gimp, Photoshop, Figma, etc, etc.
-
Drag and drop the edited images into the boxes.
-
Save as in ThemeEngine (⌘⇧S) as "Aqua.car" in your Root directory
Tip
The white boxes may look blank, but click on them and you should see the gray pattern in the box.
For best results, you should be running similar hardware and software:
MacOS 15.5 24574 arm64
Caution
Disabling SIP reduces the system's protection against malicious software by allowing modifications to protected files and directories by root users
Open Terminal in Recovery Mode.
# Disables SIP
$ csrutil disable
# Disables the authenticated root volume
$ csrutil authenticated-root disable$ mount | grep "on / "
/dev/disk3s3s1 on / (apfs, sealed, local, read-only, journaled)The system disk will be the volume minus sX, ie /dev/disk3s3
This can also be found in one command:
$ df / | tail -1 | awk '{print $1}' | sed 's/s[0-9]*$//'
/dev/disk3s3mkdir ~/live_disk_mntsudo mount -o nobrowse -t apfs <your system disk> ~/live_disk_mntcp <where_your_asset-car_file_size> ~/live_disk_mnt/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.carsudo bless --mount ~/live_disk_mnt --bootefi --create-snapshotsudo shutdown -r nowIf you modded light mode, go to system->appearances then switch to dark mode, and vice versa, since the two themes are defined in separate files.
If you lose access to windows, try SSHing into your computer
- Get your backup file and copy it to the computer in a safe location
- Open a terminal, follow the instruction to mount the volume.
- Copy the backup
Aqua.carfile into~/live_disk_mnt/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Aqua.carinstead of the patchedAqua.carfile - Bless and restart as usual
https://github.com/jslegendre/ThemeEngine
https://github.com/insidegui/AssetCatalogTinkerer
© Zimeng Xiong




