diff options
author | silverwind <me@silverwind.io> | 2022-05-20 00:08:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 00:08:08 +0200 |
commit | 9da3d78e74d6c8f363799dc2157540ea005ea102 (patch) | |
tree | 2512ad31657613614e8a1a41295de9fe0e0690bf /web_src/js/features/comp | |
parent | ce52514762b914a5467a48c89fe67535ecc1a801 (diff) | |
download | gitea-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.js | 2 |
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, |