aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/comp
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-05-20 00:08:08 +0200
committerGitHub <noreply@github.com>2022-05-20 00:08:08 +0200
commit9da3d78e74d6c8f363799dc2157540ea005ea102 (patch)
tree2512ad31657613614e8a1a41295de9fe0e0690bf /web_src/js/features/comp
parentce52514762b914a5467a48c89fe67535ecc1a801 (diff)
downloadgitea-9da3d78e74d6c8f363799dc2157540ea005ea102.tar.gz
gitea-9da3d78e74d6c8f363799dc2157540ea005ea102.zip
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>
Diffstat (limited to 'web_src/js/features/comp')
-rw-r--r--web_src/js/features/comp/ReactionSelector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/comp/ReactionSelector.js b/web_src/js/features/comp/ReactionSelector.js
index f3b7a7668e..272ea45cdd 100644
--- a/web_src/js/features/comp/ReactionSelector.js
+++ b/web_src/js/features/comp/ReactionSelector.js
@@ -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,