RGB light = display.getSystemColor(SWT.COLOR_WIDGET_BACKGROUND).getRGB();
RGB dark = ColorUtils.getShadeRGB(light, -0.09019605f);
RGB shadow = ColorUtils.getShadeRGB(light, -0.20f);
RGB scrollBtn = ColorUtils.getShadeRGB(light, -0.1921568f);
ColorRegistry registry = getColorRegistry();
registry.put(IDetailsColors.COLOR_LIGHT_BACKGROUND, light);
registry.put(IDetailsColors.COLOR_DARK_BACKGROUND, dark);
registry.put(IDetailsColors.COLOR_DARK_SHADOW, shadow);
registry.put(IDetailsColors.COLOR_TOOL_SELECTED_1, light);
registry.put(IDetailsColors.COLOR_TOOL_SELECTED_2, dark);
registry.put(IDetailsColors.COLOR_SCROLL_BUTTON, scrollBtn);
registry.put(IDetailsColors.COLOR_TOOL_SELECTED_BORDER, display.getSystemColor(SWT.COLOR_LIST_BACKGROUND).getRGB());
RGB canvas = display.getSystemColor(SWT.COLOR_LIST_BACKGROUND).getRGB();
registry.put(IDetailsColors.COLOR_CANVAS, canvas);
registry.put(IDetailsColors.COLOR_TEXT, display.getSystemColor(SWT.COLOR_LIST_FOREGROUND).getRGB());
// tray
registry.put(IDetailsColors.COLOR_TRAY_BACKGROUND, ColorUtils.getLightShade(light, 2, 3));
// selection handler
Color selectionColor = Display.getCurrent().getSystemColor(SWT.COLOR_LIST_SELECTION);
colorRegistry.put(ICommonUIConstants.COLOR_SELECTION_HANDLE_CORNER, ColorUtils.getLightShade(selectionColor.getRGB(), 2, 3));
}