mirror of
				https://github.com/lutinglt/gitea-github-theme.git
				synced 2025-10-31 00:50:30 +00:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			4bdbb764ee
			...
			5d7a1c53d5
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 5d7a1c53d5 | ||
|   | 4632170948 | ||
|   | cd99934334 | 
							
								
								
									
										2
									
								
								.github/release.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/release.md
									
									
									
									
										vendored
									
									
								
							| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
| ##### 更符合 GitHub 风格 | ##### 更符合 GitHub 风格 | ||||||
|  |  | ||||||
| - 优化创建仓库标签管理菜单项的样式 | - 优化创建标签菜单的菜单项的样式 | ||||||
|  |  | ||||||
| ### 🐞 Fix | ### 🐞 Fix | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -5,6 +5,11 @@ | |||||||
|  |  | ||||||
| # Gitea GitHub Theme | # Gitea GitHub Theme | ||||||
|  |  | ||||||
|  | > [!TIP] | ||||||
|  | > | ||||||
|  | > 推荐搭配 Catppuccin 文件图标浏览器插件一起使用更佳 | ||||||
|  | > [web-file-explorer-icons](https://github.com/catppuccin/web-file-explorer-icons) | ||||||
|  |  | ||||||
| ## 版本号说明 | ## 版本号说明 | ||||||
|  |  | ||||||
| 主题版本号与 Gitea 版本号保持一致 | 主题版本号与 Gitea 版本号保持一致 | ||||||
| @@ -30,11 +35,6 @@ Gitea 理论上小版本号变更不会修改前端布局, 所以主题的小版 | |||||||
| > | > | ||||||
| > 自动颜色主题需要亮色和暗色的主题文件 | > 自动颜色主题需要亮色和暗色的主题文件 | ||||||
|  |  | ||||||
| > [!TIP] |  | ||||||
| > |  | ||||||
| > 推荐搭配 Catppuccin 文件图标浏览器插件一起使用更佳 |  | ||||||
| > [github-file-explorer-icons](https://github.com/catppuccin/github-file-explorer-icons) |  | ||||||
|  |  | ||||||
| 例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark` 到 `THEMES` 末尾 | 例: 主题文件名为 `theme-github-dark.css`,则添加 `github-dark` 到 `THEMES` 末尾 | ||||||
|  |  | ||||||
| `gitea/conf/app.ini` 例: | `gitea/conf/app.ini` 例: | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								README_EN.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README_EN.md
									
									
									
									
									
								
							| @@ -5,6 +5,11 @@ | |||||||
|  |  | ||||||
| # Gitea GitHub Theme | # Gitea GitHub Theme | ||||||
|  |  | ||||||
|  | > [!TIP] | ||||||
|  | > | ||||||
|  | > Recommend using Catppuccin file icon browser plugin together for better performance. | ||||||
|  | > [web-file-explorer-icons](https://github.com/catppuccin/web-file-explorer-icons) | ||||||
|  |  | ||||||
| ## Version Number Explanation | ## Version Number Explanation | ||||||
|  |  | ||||||
| The theme version number is kept consistent with the Gitea version number | The theme version number is kept consistent with the Gitea version number | ||||||
| @@ -33,11 +38,6 @@ accepted. | |||||||
| > | > | ||||||
| > Automatic color theme requires both light and dark theme files. | > Automatic color theme requires both light and dark theme files. | ||||||
|  |  | ||||||
| > [!TIP] |  | ||||||
| > |  | ||||||
| > Recommend using Catppuccin file icon browser plugin together for better performance. |  | ||||||
| > [github-file-explorer-icons](https://github.com/catppuccin/github-file-explorer-icons) |  | ||||||
|  |  | ||||||
| Example: If the theme filename is `theme-github-dark.css`, add `github-dark` to the end of `THEMES` | Example: If the theme filename is `theme-github-dark.css`, add `github-dark` to the end of `THEMES` | ||||||
|  |  | ||||||
| Example `gitea/conf/app.ini`: | Example `gitea/conf/app.ini`: | ||||||
|   | |||||||
| @@ -192,13 +192,18 @@ export const selectionDropdown = css` | |||||||
|     border-top-left-radius: ${otherThemeVars.border.radius} !important; |     border-top-left-radius: ${otherThemeVars.border.radius} !important; | ||||||
|     border-top-right-radius: ${otherThemeVars.border.radius} !important; |     border-top-right-radius: ${otherThemeVars.border.radius} !important; | ||||||
|   } |   } | ||||||
|   // 针对创建仓库的工单标签菜单中的标签换行和颜色 |   // 工单标签菜单中的标签换行和颜色 | ||||||
|   .ui.search.selection.dropdown > .menu > .item { |   // 标签页面的标签选择框 | ||||||
|  |   .page-content.repository.labels .ui.selection.dropdown.active, | ||||||
|  |   // 创建仓库页面的标签选择框 | ||||||
|  |   .ui.search.selection.dropdown { | ||||||
|  |     > .menu > .item { | ||||||
|       flex-wrap: wrap; |       flex-wrap: wrap; | ||||||
|       > i { |       > i { | ||||||
|         color: ${themeVars.color.text.light.num1}; |         color: ${themeVars.color.text.light.num1}; | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |   } | ||||||
| `; | `; | ||||||
|  |  | ||||||
| export const fixSelectionDropdown = css` | export const fixSelectionDropdown = css` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user