mirror of
				https://github.com/lutinglt/gitea-github-theme.git
				synced 2025-10-27 22:40:30 +00:00 
			
		
		
		
	同步主色调按钮和红色按钮的阴影样式
This commit is contained in:
		| @@ -4,6 +4,7 @@ export const primaryStyle = { | ||||
|   color: themeVars.github.button.primary.fgColor.rest, | ||||
|   backgroundColor: themeVars.github.button.primary.bgColor.rest, | ||||
|   borderColor: themeVars.github.button.primary.borderColor.rest, | ||||
|   boxShadow: themeVars.github.shadow.resting.small, | ||||
| }; | ||||
|  | ||||
| export const primaryHoverStyle = { | ||||
| @@ -45,6 +46,7 @@ export const baseButton = css` | ||||
|     background-color: ${themeVars.color.button}; | ||||
|     color: ${themeVars.color.text.self}; | ||||
|     border-color: ${themeVars.color.light.border}; | ||||
|     box-shadow: none; | ||||
|     &:hover { | ||||
|       background-color: ${themeVars.color.hover.self}; | ||||
|       color: ${themeVars.color.text.self}; | ||||
| @@ -85,6 +87,7 @@ export const redButton = css` | ||||
|       color: ${themeVars.github.button.danger.fgColor.hover}; | ||||
|       background-color: ${themeVars.github.button.danger.bgColor.hover}; | ||||
|       border-color: ${themeVars.github.button.danger.borderColor.hover}; | ||||
|       box-shadow: ${themeVars.github.shadow.resting.small}; | ||||
|     } | ||||
|   } | ||||
| `; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 lutinglt
					lutinglt