Changing Colors

For those customizing their details view it’s always been a request to be able to change the background color of the image well and the color of the banners that appear over the image to indicate a status, so that they match their main window style.

Matching the Pro Look Dark Style

It’s now possible! With a hidden preference for now. With the beta version of the programs you can use the program called Terminal (located in your Utilities folder) to change the colors. It’s a window were you can give your Mac written commands. Here are the commands you would copy paste with little tweak:

To change the background color of the image use:

defaults write com.bruji.cdpedia "Image Background Color" -string "{200, 200, 200}"

Restart the Pedia and the background of the image will be the above color. The above is a gray. What are those numbers you ask. The numbers are the amount of Red, Green and Blue from 0 to 255. Must color tools will give you those values for a specific color, including Apple’s own color tool in the RGB sliders. Also it’s Pedia specific, be sure to change cdpedia above to the Pedia name you want to modify.

For the banners it’s the same, but they have a gradient, so there are both a top and bottom color (also no restart needed, simply change items in the view).

defaults write com.bruji.cdpedia "Banner Coming Soon Bottom Color" -string "{255, 126, 76}"
defaults write com.bruji.cdpedia "Banner Coming Soon Top Color" -string "{255, 237, 76}"

More yellow pop for those around the corner releases.

The other two remaining banner keys are as follows for the four colors:

Banner Borrowed Top Color, Banner Borrowed Bottom Color, Banner Overdue Top Color, Banner Overdue Bottom Color

If it becomes very popular I can then expose these options in a preference in future version. The good news is you need only change them once and they will stick around forever.

If you ever want to go back to the default colors, here are the reset commands to copy paste into Terminal.

defaults delete com.bruji.cdpedia "Image Background Color"
defaults delete com.bruji.cdpedia "Banner Coming Soon Bottom Color"
defaults delete com.bruji.cdpedia "Banner Coming Soon Top Color"
defaults delete com.bruji.cdpedia "Banner Overdue Bottom Color"
defaults delete com.bruji.cdpedia "Banner Overdue Top Color"
defaults delete com.bruji.cdpedia "Banner Borrowed Bottom Color"
defaults delete com.bruji.cdpedia "Banner Borrowed Top Color"

Tags: ,