mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
修复红绿色盲主题的代码高亮色
This commit is contained in:
@@ -84,7 +84,7 @@ export type ThemeColor = {
|
||||
* github,
|
||||
* })
|
||||
*/
|
||||
export function defineTheme(themeColor: ThemeColor, chroma: Chroma | null = null): Theme {
|
||||
export function defineTheme(themeColor: ThemeColor, chroma?: Chroma): Theme {
|
||||
const brightDir = themeColor.isDarkTheme ? -1 : 1;
|
||||
|
||||
const primary: Primary = {
|
||||
|
||||
Reference in New Issue
Block a user