[PR #4198] [MERGED] Add the ability to have built in themes in Gitea #17279

Closed
opened 2025-11-02 12:31:32 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4198
Author: @techknowlogick
Created: 6/9/2018
Status: Merged
Merged: 7/5/2018
Merged by: @techknowlogick

Base: masterHead: theme


📝 Commits (10+)

  • a5e3375 Add the ability to have built in themes in Gitea
  • c410f17 Merge branch 'master' into theme
  • 7686c0c Merge branch 'master' into theme
  • 2980555 update per feedback
  • b06271d Merge branch 'master' into theme
  • bc898b2 Merge branch 'master' into theme
  • 5081c40 neq not defined
  • fc552b6 Merge branch 'master' into theme
  • 60757b5 Merge branch 'master' into theme
  • c47dc20 Merge branch 'master' into theme

📊 Changes

11 files changed (+849 additions, -75 deletions)

View changed files

📝 Makefile (+5 -1)
📝 custom/conf/app.ini.sample (+2 -0)
📝 docs/content/doc/advanced/config-cheat-sheet.en-us.md (+1 -0)
📝 docs/content/doc/advanced/customizing-gitea.en-us.md (+4 -0)
📝 modules/setting/setting.go (+2 -0)
📝 modules/templates/helper.go (+3 -0)
📝 package-lock.json (+74 -74)
public/css/theme-arc-green.css (+1 -0)
public/less/themes/_base.less (+3 -0)
public/less/themes/arc-green.less (+751 -0)
📝 templates/base/head.tmpl (+3 -0)

📄 Description

This makes it easier for user who want to theme but
dont have the ability to know how to customize themplates
all that is required is a change in a config option

The reason why I chose the DEFAULT_THEME as variable,
as perhaps in the future we will allow users to chose their
theme whon logged in just like we do with languages

Fix #56


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4198 **Author:** [@techknowlogick](https://github.com/techknowlogick) **Created:** 6/9/2018 **Status:** ✅ Merged **Merged:** 7/5/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `theme` --- ### 📝 Commits (10+) - [`a5e3375`](https://github.com/go-gitea/gitea/commit/a5e3375aca6c712d7db8e259268f8aa994156868) Add the ability to have built in themes in Gitea - [`c410f17`](https://github.com/go-gitea/gitea/commit/c410f17dead1ab06e5d0e8a984d55b2f568d570e) Merge branch 'master' into theme - [`7686c0c`](https://github.com/go-gitea/gitea/commit/7686c0cf84143c777a71da139e64781c200e7b7d) Merge branch 'master' into theme - [`2980555`](https://github.com/go-gitea/gitea/commit/298055561a67eea2033a3d94228562bb1242c90d) update per feedback - [`b06271d`](https://github.com/go-gitea/gitea/commit/b06271d97df2b260f4497587b9d328c7b75d7539) Merge branch 'master' into theme - [`bc898b2`](https://github.com/go-gitea/gitea/commit/bc898b28cf092145bfdbf77646bafddb349c638c) Merge branch 'master' into theme - [`5081c40`](https://github.com/go-gitea/gitea/commit/5081c40fc28c268c291b3673ded6d85425e1e650) neq not defined - [`fc552b6`](https://github.com/go-gitea/gitea/commit/fc552b663f0cbca6256bb6667cc4532f3f819b2c) Merge branch 'master' into theme - [`60757b5`](https://github.com/go-gitea/gitea/commit/60757b5083e67f5097352a7936980dd808417603) Merge branch 'master' into theme - [`c47dc20`](https://github.com/go-gitea/gitea/commit/c47dc20a893aca620ab2d6eecf3e4abbdfd53950) Merge branch 'master' into theme ### 📊 Changes **11 files changed** (+849 additions, -75 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+5 -1) 📝 `custom/conf/app.ini.sample` (+2 -0) 📝 `docs/content/doc/advanced/config-cheat-sheet.en-us.md` (+1 -0) 📝 `docs/content/doc/advanced/customizing-gitea.en-us.md` (+4 -0) 📝 `modules/setting/setting.go` (+2 -0) 📝 `modules/templates/helper.go` (+3 -0) 📝 `package-lock.json` (+74 -74) ➕ `public/css/theme-arc-green.css` (+1 -0) ➕ `public/less/themes/_base.less` (+3 -0) ➕ `public/less/themes/arc-green.less` (+751 -0) 📝 `templates/base/head.tmpl` (+3 -0) </details> ### 📄 Description This makes it easier for user who want to theme but dont have the ability to know how to customize themplates all that is required is a change in a config option The reason why I chose the DEFAULT_THEME as variable, as perhaps in the future we will allow users to chose their theme whon logged in just like we do with languages Fix #56 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:31:32 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17279