Universal Browser Style

Good browser styles should written to work in both light and dark models. In general, the only differences between the two modes are defined colors and GEDitCOM II provides a method to define a different color for each mode. In brief, the steps are:

If you want a browser style to look the same in both formats, just use one set of colors (or do not add " Dark" versions of colors and fonts. For some browser styles, this approach works well. But the MacOS may change appearance of various controls used in your browser style. As a result, it still might appear different in the two modes, and one mode might not work well. Such styles should avoid use elements whose appearance is control by the MacOS.