Skip to content

Commit ea37fd0

Browse files
authored
Merge branch 'main' into oidc-claims
2 parents de07c25 + 360d8e7 commit ea37fd0

File tree

6 files changed

+17
-1637
lines changed

6 files changed

+17
-1637
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/templates/**/*.tmpl linguist-language=Handlebars
55
/.eslintrc linguist-language=YAML
66
/.stylelintrc linguist-language=YAML
7+
/web_src/fomantic/build/** linguist-generated

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ fomantic:
701701
cp -rf $(FOMANTIC_WORK_DIR)/_site $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/
702702
cp -f web_src/js/vendor/dropdown.js $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/definitions/modules
703703
cd $(FOMANTIC_WORK_DIR) && npx gulp -f node_modules/fomantic-ui/gulpfile.js build
704+
rm -f $(FOMANTIC_WORK_DIR)/build/*.min.*
704705

705706
.PHONY: webpack
706707
webpack: $(WEBPACK_DEST)

docs/content/doc/advanced/customizing-gitea.en-us.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,21 @@ A full list of supported emoji's is at [emoji list](https://gitea.com/gitea/gite
321321

322322
## Customizing the look of Gitea
323323

324-
As of version 1.6.0 Gitea has built-in themes. The two built-in themes are, the default theme `gitea`, and a dark theme `arc-green`. To change the look of your Gitea install change the value of `DEFAULT_THEME` in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini` to another one of the available options.
325-
As of version 1.8.0 Gitea also has per-user themes. The list of themes a user can choose from can be configured with the `THEMES` value in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini` (defaults to `gitea` and `arc-green`, light and dark respectively)
324+
The default built-in themes are `gitea` (light) and `arc-green` (dark).
325+
The default theme can be changed via `DEFAULT_THEME` in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini`.
326+
327+
Gitea also has support for user themes, which means every user can select which theme should be used.
328+
The list of themes a user can choose from can be configured with the `THEMES` value in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini`.
329+
330+
To make a custom theme available to all users:
331+
332+
1. Add a CSS file to `$GITEA_PUBLIC/public/css/theme-<theme-name>.css`.
333+
The value of `$GITEA_PUBLIC` of your instance can be queried by calling `gitea help` and looking up the value of "CustomPath".
334+
2. Add `<theme-name>` to the comma-separated list of setting `THEMES` in `app.ini`
335+
336+
Community themes are listed in [gitea/awesome-gitea#themes](https://gitea.com/gitea/awesome-gitea#themes).
337+
338+
The `arc-green` theme source can be found [here](https://github.com/go-gitea/gitea/blob/main/web_src/less/themes/theme-arc-green.less).
326339

327340
## Customizing fonts
328341

0 commit comments

Comments
 (0)