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:
parent
ce52514762
commit
9da3d78e74
61 changed files with 132 additions and 123 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue