Changing Theme [ui] doesn’t work #2165

Closed
opened 2025-11-02 04:25:48 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @methodbox on GitHub (Aug 9, 2018).

  • Gitea version (or commit ref):1.5
  • Git version: 2.18
  • Operating system: CentOS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Setting default theme as per documentation does nothing.

[ui]
DEFAULT_THEME = arc-green

No change.

Screenshots

Originally created by @methodbox on GitHub (Aug 9, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref):1.5 - Git version: 2.18 - Operating system: CentOS - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description Setting default theme as per documentation does nothing. [ui] DEFAULT_THEME = arc-green No change. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 04:25:48 -06:00
Author
Owner

@techknowlogick commented on GitHub (Aug 9, 2018):

@methodbox when filling out tickets please ensure you fill out all the details so you can be helped fully. The setting is likely not in the version of Gitea you are using. It is in 1.6.0-dev

@techknowlogick commented on GitHub (Aug 9, 2018): @methodbox when filling out tickets please ensure you fill out all the details so you can be helped fully. The setting is likely not in the version of Gitea you are using. It is in 1.6.0-dev
Author
Owner

@methodbox commented on GitHub (Aug 9, 2018):

Then you should update your documentation to reflect this.

@methodbox commented on GitHub (Aug 9, 2018): Then you should update your documentation to reflect this.
Author
Owner

@LER0ever commented on GitHub (Aug 11, 2018):

Hi @techknowlogick , I can confirm that theme option in Gitea master branch does not work as well.
Gitea Version: 8da45ae running on docker swarm. Can we reopen this one?

Relevant lines:

[repository.upload]
TEMP_PATH = /data/gitea/uploads

[ui]
DEFAULT_THEME = arc-green

[server]
APP_DATA_PATH    = /data/gitea
@LER0ever commented on GitHub (Aug 11, 2018): Hi @techknowlogick , I can confirm that theme option in Gitea master branch does not work as well. `Gitea Version: 8da45ae` running on docker swarm. Can we reopen this one? Relevant lines: ``` [repository.upload] TEMP_PATH = /data/gitea/uploads [ui] DEFAULT_THEME = arc-green [server] APP_DATA_PATH = /data/gitea ```
Author
Owner

@methodbox commented on GitHub (Aug 11, 2018):

From your own documentation, with no reference to version:

Customizing the look of Gitea

Gitea has two built-in themes, 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 section of app.ini to another one of the available options.

@methodbox commented on GitHub (Aug 11, 2018): From your own documentation, with no reference to version: >Customizing the look of Gitea >Gitea has two built-in themes, 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 section of app.ini to another one of the available options.
Author
Owner

@lafriks commented on GitHub (Aug 11, 2018):

Just tested and setting in app.ini for latest master branch:

[ui]
DEFAULT_THEME = arc-green

works just fine

@lafriks commented on GitHub (Aug 11, 2018): Just tested and setting in app.ini for latest master branch: ``` [ui] DEFAULT_THEME = arc-green ``` works just fine
Author
Owner

@brettphillips05 commented on GitHub (Jan 30, 2019):

In case someone stumbles upon this and wastes an inordinate amount of time to get the theme working, verify that you are at least running Gitea version 1.6.0. After trying and failing a bunch, I noticed that I was running version 1.5.0. The end of the Customization document mentions the following:

As of version 1.6.0 Gitea has built-in themes

I updated to the most recent version of Gitea and theme is active

@brettphillips05 commented on GitHub (Jan 30, 2019): In case someone stumbles upon this and wastes an inordinate amount of time to get the theme working, verify that you are at least running Gitea version `1.6.0`. After trying and failing a bunch, I noticed that I was running version `1.5.0`. The end of the [Customization document](https://docs.gitea.io/en-us/customizing-gitea/) mentions the following: > As of version 1.6.0 Gitea has built-in themes I updated to the most recent version of Gitea and theme is active
Author
Owner

@methodbox commented on GitHub (Jan 31, 2019):

@brentphillips05 Just FYI, check out the OP and the next comment from the repo owners.

It wasn’t originally listed in the docs at all.

Maybe I should have been more specific and asked them to add it to TOP OF THE DOCS.

It’s cool though; their documentation seems designed to fight logic so I’m not surprised that since they’ve now updated it they decided a crucial point before following any of the steps before should be listed last.

@methodbox commented on GitHub (Jan 31, 2019): @brentphillips05 Just FYI, check out the OP and the next comment from the repo owners. It wasn’t originally listed in the docs at all. Maybe I should have been more specific and asked them to add it to TOP OF THE DOCS. It’s cool though; their documentation seems designed to fight logic so I’m not surprised that since they’ve now updated it they decided a crucial point before following any of the steps before should be listed last.
Author
Owner

@shoodabean commented on GitHub (Feb 16, 2019):

The fix for me was the [ui] header should be lowercase, uppercase seems not to work.

@shoodabean commented on GitHub (Feb 16, 2019): The fix for me was the [ui] header should be lowercase, uppercase seems not to work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2165