You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
115
115
116
116
-`ALLOWED_TYPES`: **\<empty\>**: Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
117
117
-`DEFAULT_PAGING_NUM`: **10**: The default paging number of releases user interface
118
+
- For settings related to file attachments on releases, see the `attachment` section.
118
119
119
120
### Repository - Signing (`repository.signing`)
120
121
@@ -173,9 +174,9 @@ The following configuration set `Content-Type: application/vnd.android.package-a
173
174
-`FEED_PAGING_NUM`: **20**: Number of items that are displayed in home feed.
174
175
-`GRAPH_MAX_COMMIT_NUM`: **100**: Number of maximum commits shown in the commit graph.
175
176
-`CODE_COMMENT_LINES`: **4**: Number of line of codes shown for a code comment.
176
-
-`DEFAULT_THEME`: **gitea**: \[gitea, arc-green\]: Set the default theme for the Gitea install.
177
+
-`DEFAULT_THEME`: **auto**: \[auto, gitea, arc-green\]: Set the default theme for the Gitea install.
177
178
-`SHOW_USER_EMAIL`: **true**: Whether the email of the user should be shown in the Explore Users page.
178
-
-`THEMES`: **gitea,arc-green**: All available themes. Allow users select personalized themes.
179
+
-`THEMES`: **auto,gitea,arc-green**: All available themes. Allow users select personalized themes.
179
180
regardless of the value of `DEFAULT_THEME`.
180
181
-`THEME_COLOR_META_TAG`: **#6cc644**: Value of `theme-color` meta tag, used by Android >= 5.0. An invalid color like "none" or "disable" will have the default style. More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
181
182
-`MAX_DISPLAY_FILE_SIZE`: **8388608**: Max size of files to be displayed (default is 8MiB)
@@ -952,6 +953,10 @@ Task queue configuration has been moved to `queue.task`. However, the below conf
952
953
-`ALLOW_LOCALNETWORKS`: **false**: Allow private addresses defined by RFC 1918, RFC 1122, RFC 4632 and RFC 4291
Copy file name to clipboardExpand all lines: docs/content/doc/help/faq.en-us.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ Use [Fail2Ban]({{< relref "doc/usage/fail2ban-setup.en-us.md" >}}) to monitor an
158
158
159
159
## How to add/use custom themes
160
160
161
-
Gitea supports two official themes right now, `gitea`and`arc-green` (`light` and `dark` respectively)
161
+
Gitea supports three official themes right now, `gitea`(light),`arc-green` (dark), and `auto` (automatically switches between the previous two depending on operating system settings).
162
162
To add your own theme, currently the only way is to provide a complete theme (not just color overrides)
163
163
164
164
As an example, let's say our theme is `arc-blue` (this is a real theme, and can be found [in this issue](https://github.com/go-gitea/gitea/issues/6011))
0 commit comments