2
Contribute a Theme
Spike edited this page 2022-05-21 01:40:28 +00:00

You must have a basic knowledge of CSS and GitHub to contribute themes.

Create a pull request on this repository and make these changes:

  1. Add a CSS file like this to the static/themes/ folder in this format: (replace the class name and variable values with the correct one for your theme)
/* Light theme setting */
.light {
	--accent: #009a9a;
	--green: #00a229;
	--text: black;
	--foreground: #f5f5f5;
	--background: #ddd;
	--outside: #ececec;
	--post: #eee;
	--panel-border: 1px solid #ccc;
	--highlighted: white;
	--visited: #555;
	--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
  1. List theme name in the possible values for the "THEME" environment variable in README.md.