protected void writeThemeValues(BufferedWriter writer) throws IOException {
		List<ColorValue> colors = theme.getColors();
		Collections.sort(colors);

		List<FontValue> fonts = theme.getFonts();
		Collections.sort(fonts);

		List<IconValue> icons = theme.getIcons();
		Collections.sort(icons);

		writer.write(THEME_NAME_KEY + " = " + theme.getName());
		writer.newLine();

		writer.write(THEME_LOOK_AND_FEEL_KEY + " = " + theme.getLookAndFeelType().getName());
		writer.newLine();

		writer.write(THEME_USE_DARK_DEFAULTS + " = " + theme.useDarkDefaults());
		writer.newLine();

		for (ColorValue colorValue : colors) {
			writer.write(colorValue.getSerializationString());
			writer.newLine();
		}

		for (FontValue fontValue : fonts) {
			writer.write(fontValue.getSerializationString());
			writer.newLine();
		}

		for (IconValue iconValue : icons) {
			writer.write(iconValue.getSerializationString());
			writer.newLine();

		}
	}
Writes the theme to the given file in a zip format.
@param file the file to write to
@throws IOException if an I/O error occurs trying to write the file
Ghidra/Framework/Gui/src/main/java/generic/theme/ThemeWriter.java