mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Replace blue button and label classes with primary (#19763)
* make blue really blue * replace blue button and label classes with primary * add --color-blue-dark * add light color variants, tweak a few colors * fix colors * add comment Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		@@ -16,7 +16,7 @@ export function initCompReactionSelector(parent) {
 | 
			
		||||
    if ($(this).hasClass('disabled')) return;
 | 
			
		||||
 | 
			
		||||
    const actionURL = $(this).hasClass('item') ? $(this).closest('.select-reaction').data('action-url') : $(this).data('action-url');
 | 
			
		||||
    const url = `${actionURL}/${$(this).hasClass('blue') ? 'unreact' : 'react'}`;
 | 
			
		||||
    const url = `${actionURL}/${$(this).hasClass('primary') ? 'unreact' : 'react'}`;
 | 
			
		||||
    $.ajax({
 | 
			
		||||
      type: 'POST',
 | 
			
		||||
      url,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user