mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09: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:
1 parent
ce52514762
commit
9da3d78e74
61 files changed
+132
-123
No files matched your search
@@ -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,
|
||||
|
||||
@@ -84,8 +84,6 @@ export function initRepoTopicBar() {
|
||||
transition: 'horizontal flip',
|
||||
duration: 200,
|
||||
variation: false,
|
||||
blue: true,
|
||||
basic: true,
|
||||
},
|
||||
className: {
|
||||
label: 'ui small label'
|
||||
|
||||
Reference in new issue
Block a user