mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
chore: bump icons with new design source (#9529)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { menu } from '@blocksuite/affine-components/context-menu';
|
||||
import { unsafeCSSVarV2 } from '@blocksuite/affine-shared/theme';
|
||||
import { CheckBoxCkeckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { CheckBoxCheckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { html } from 'lit';
|
||||
|
||||
import { t } from '../../logical/type-presets.js';
|
||||
@@ -87,7 +87,7 @@ export const allLiteralConfig: LiteralItemsConfig[] = [
|
||||
type.element.data?.map(tag => {
|
||||
const selected = set.has(tag.id);
|
||||
const prefix = selected
|
||||
? CheckBoxCkeckSolidIcon({ style: `color:#1E96EB` })
|
||||
? CheckBoxCheckSolidIcon({ style: `color:#1E96EB` })
|
||||
: CheckBoxUnIcon();
|
||||
return menu.action({
|
||||
name: tag.value,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CheckBoxCkeckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { CheckBoxCheckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { css, html } from 'lit';
|
||||
|
||||
import { BaseGroup } from './base.js';
|
||||
@@ -18,7 +18,7 @@ export class BooleanGroupView extends BaseGroup<NonNullable<unknown>, boolean> {
|
||||
protected override render(): unknown {
|
||||
return html` <div class="data-view-group-title-boolean-view">
|
||||
${this.value
|
||||
? CheckBoxCkeckSolidIcon({ style: `color:#1E96EB` })
|
||||
? CheckBoxCheckSolidIcon({ style: `color:#1E96EB` })
|
||||
: CheckBoxUnIcon()}
|
||||
</div>`;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { unsafeCSSVarV2 } from '@blocksuite/affine-shared/theme';
|
||||
import { CheckBoxCkeckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { CheckBoxCheckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { css, html } from 'lit';
|
||||
import { query } from 'lit/decorators.js';
|
||||
|
||||
@@ -97,7 +97,7 @@ export class CheckboxCell extends BaseCellRenderer<boolean> {
|
||||
override render() {
|
||||
const checked = this.value ?? false;
|
||||
const icon = checked
|
||||
? CheckBoxCkeckSolidIcon({ style: `color:#1E96EB` })
|
||||
? CheckBoxCheckSolidIcon({ style: `color:#1E96EB` })
|
||||
: CheckBoxUnIcon();
|
||||
return html` <div class="affine-database-checkbox-container">
|
||||
<div
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ShadowlessElement } from '@blocksuite/block-std';
|
||||
import { SignalWatcher, WithDisposable } from '@blocksuite/global/utils';
|
||||
import { CheckBoxCkeckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { CheckBoxCheckSolidIcon, CheckBoxUnIcon } from '@blocksuite/icons/lit';
|
||||
import { computed, type ReadonlySignal } from '@preact/signals-core';
|
||||
import { css, html } from 'lit';
|
||||
import { property } from 'lit/decorators.js';
|
||||
@@ -74,7 +74,7 @@ export class RowSelectCheckbox extends SignalWatcher(
|
||||
return html`
|
||||
<div class="${classString}">
|
||||
${this.isSelected$.value
|
||||
? CheckBoxCkeckSolidIcon({ style: `color:#1E96EB` })
|
||||
? CheckBoxCheckSolidIcon({ style: `color:#1E96EB` })
|
||||
: CheckBoxUnIcon()}
|
||||
</div>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user