mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Button and color enhancements (#24989)
- Various corrections to button styles, especially secondary - Remove focus highlight, it's annoying when it stays on button after press - Clearly define ghost and link buttons with demos in devtest - Remove black, grey and tertiary buttons, they should not be used - Make `arc-green` slightly darker <img width="1226" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/8d89786a-01ab-40f8-ae5a-e17f40e35084"> <img width="1249" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/83651e6d-3c27-46ff-b8bd-ff344d70e949"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		@@ -58,8 +58,9 @@
 | 
			
		||||
  --color-secondary-alpha-70: #525767b3;
 | 
			
		||||
  --color-secondary-alpha-80: #525767cc;
 | 
			
		||||
  --color-secondary-alpha-90: #525767e1;
 | 
			
		||||
  --color-secondary-hover: var(--color-secondary-light-1);
 | 
			
		||||
  --color-secondary-active: var(--color-secondary-light-2);
 | 
			
		||||
  --color-secondary-button: var(--color-secondary-dark-4);
 | 
			
		||||
  --color-secondary-hover: var(--color-secondary-dark-3);
 | 
			
		||||
  --color-secondary-active: var(--color-secondary-dark-2);
 | 
			
		||||
  /* console colors - used for actions console and console files */
 | 
			
		||||
  --color-console-fg: #eeeff2;
 | 
			
		||||
  --color-console-fg-subtle: #959cab;
 | 
			
		||||
@@ -163,37 +164,37 @@
 | 
			
		||||
  --color-orange-badge-hover-bg: #f2711c4d;
 | 
			
		||||
  --color-git: #f05133;
 | 
			
		||||
  /* target-based colors */
 | 
			
		||||
  --color-body: #373b47;
 | 
			
		||||
  --color-box-header: #404652;
 | 
			
		||||
  --color-box-body: #2a2e3a;
 | 
			
		||||
  --color-box-body-highlight: #353945;
 | 
			
		||||
  --color-body: #2e323e;
 | 
			
		||||
  --color-box-header: #333743;
 | 
			
		||||
  --color-box-body: #252a36;
 | 
			
		||||
  --color-box-body-highlight: #303440;
 | 
			
		||||
  --color-text-dark: #dbe0ea;
 | 
			
		||||
  --color-text: #cbd0da;
 | 
			
		||||
  --color-text-light: #bbbfca;
 | 
			
		||||
  --color-text-light-1: #aaafb9;
 | 
			
		||||
  --color-text-light-2: #9a9ea9;
 | 
			
		||||
  --color-text-light-3: #8a8e99;
 | 
			
		||||
  --color-footer: #2e323e;
 | 
			
		||||
  --color-footer: #262b36;
 | 
			
		||||
  --color-timeline: #4c525e;
 | 
			
		||||
  --color-input-text: #dfe3ec;
 | 
			
		||||
  --color-input-background: #232933;
 | 
			
		||||
  --color-input-background: #262b36;
 | 
			
		||||
  --color-input-toggle-background: #454a57;
 | 
			
		||||
  --color-input-border: #454a57;
 | 
			
		||||
  --color-input-border-hover: #505667;
 | 
			
		||||
  --color-header-wrapper: #2a2e3a;
 | 
			
		||||
  --color-header-wrapper-transparent: #2a2e3a00;
 | 
			
		||||
  --color-input-border: var(--color-secondary);
 | 
			
		||||
  --color-input-border-hover: var(--color-secondary-dark-1);
 | 
			
		||||
  --color-header-wrapper: #212531;
 | 
			
		||||
  --color-header-wrapper-transparent: #21253100;
 | 
			
		||||
  --color-light: #00000028;
 | 
			
		||||
  --color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
 | 
			
		||||
  --color-light-border: #ffffff28;
 | 
			
		||||
  --color-hover: #ffffff19;
 | 
			
		||||
  --color-active: #ffffff24;
 | 
			
		||||
  --color-menu: #2e323e;
 | 
			
		||||
  --color-card: #2e323e;
 | 
			
		||||
  --color-menu: #262b36;
 | 
			
		||||
  --color-card: #262b36;
 | 
			
		||||
  --color-markup-table-row: #ffffff06;
 | 
			
		||||
  --color-markup-code-block: #ffffff16;
 | 
			
		||||
  --color-button: #353846;
 | 
			
		||||
  --color-code-bg: #2a2e3a;
 | 
			
		||||
  --color-code-sidebar-bg: #2e323e;
 | 
			
		||||
  --color-button: #262b36;
 | 
			
		||||
  --color-code-bg: #222733;
 | 
			
		||||
  --color-code-sidebar-bg: #252a36;
 | 
			
		||||
  --color-shadow: #00000060;
 | 
			
		||||
  --color-secondary-bg: #2a2e3a;
 | 
			
		||||
  --color-text-focus: #fff;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user