private void ensureTheme() {
    if (theme != null) {
      return;
    }
    final BinDiffProtos.Config.Builder config = Config.getInstance();
    currentTheme = config.getPreferences().getUseTheme();

    theme =
        BinDiffProtos.Config.UiTheme.newBuilder(
            config.getThemesOrDefault(currentTheme, DEFAULT_THEME));
    colorCache.clear();
    fontCache.clear();
    similarityColorRamp = null;
  }
Sets and gets the syntax highlighting color values and font settings for the UI.
java/ui/src/main/java/com/google/security/zynamics/bindiff/config/ThemeConfigItem.java