Skip to content

Commit

Permalink
chore(blocks): bump theme (#8849)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Dec 4, 2024
1 parent 2b7a0ea commit 8adb323
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion packages/affine/block-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@floating-ui/dom": "^1.6.10",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"lit": "^3.2.0",
"minimatch": "^10.0.1",
"zod": "^3.23.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/affine/block-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@floating-ui/dom": "^1.6.10",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"@types/mdast": "^4.0.4",
"lit": "^3.2.0",
"minimatch": "^10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/affine/block-paragraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@floating-ui/dom": "^1.6.10",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"@types/mdast": "^4.0.4",
"lit": "^3.2.0",
"minimatch": "^10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/affine/block-surface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@blocksuite/store": "workspace:*",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"fractional-indexing": "^3.2.0",
"lit": "^3.2.0",
"lodash.chunk": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/affine/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@lit/context": "^1.1.2",
"@lottiefiles/dotlottie-wc": "^0.2.16",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"date-fns": "^4.0.0",
"katex": "^0.16.11",
"lit": "^3.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/affine/components/src/context-menu/button.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import type { ReadonlySignal } from '@preact/signals-core';
import type { ClassInfo } from 'lit-html/directives/class-map.js';

import { unsafeCSSVarV2 } from '@blocksuite/affine-shared/theme';
import { IS_MOBILE } from '@blocksuite/global/env';
import {
CheckBoxCkeckSolidIcon,
CheckBoxUnIcon,
DoneIcon,
} from '@blocksuite/icons/lit';
import { css, html, type TemplateResult } from 'lit';
import { cssVarV2 } from '@toeverything/theme/v2';
import { css, html, type TemplateResult, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { keyed } from 'lit/directives/keyed.js';
Expand Down Expand Up @@ -52,7 +52,7 @@ export class MenuButton extends MenuFocusable {
}
.affine-menu-button.focused {
outline: 1px solid ${unsafeCSSVarV2('layer/insideBorder/primaryBorder')};
outline: 1px solid ${unsafeCSS(cssVarV2.layer.insideBorder.primaryBorder)};
}
.affine-menu-button.delete-item:hover {
Expand Down
2 changes: 1 addition & 1 deletion packages/affine/data-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@floating-ui/dom": "^1.6.10",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"date-fns": "^4.0.0",
"lit": "^3.2.0",
"zod": "^3.23.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/affine/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@floating-ui/dom": "^1.6.10",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"@types/mdast": "^4.0.4",
"lit": "^3.2.0",
"lodash.clonedeep": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/affine/widget-scroll-anchoring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@blocksuite/block-std": "workspace:*",
"@blocksuite/global": "workspace:*",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"lit": "^3.2.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@floating-ui/dom": "^1.6.10",
"@lit/context": "^1.1.2",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"collapse-white-space": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/presets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@floating-ui/dom": "^1.6.10",
"@lottiefiles/dotlottie-wc": "^0.2.16",
"@preact/signals-core": "^1.8.0",
"@toeverything/theme": "^1.0.19",
"@toeverything/theme": "^1.1.1",
"lit": "^3.2.0",
"zod": "^3.23.8"
},
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ __metadata:
"@floating-ui/dom": "npm:^1.6.10"
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
lit: "npm:^3.2.0"
minimatch: "npm:^10.0.1"
zod: "npm:^3.23.8"
Expand All @@ -1509,7 +1509,7 @@ __metadata:
"@floating-ui/dom": "npm:^1.6.10"
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
"@types/mdast": "npm:^4.0.4"
lit: "npm:^3.2.0"
minimatch: "npm:^10.0.1"
Expand All @@ -1531,7 +1531,7 @@ __metadata:
"@floating-ui/dom": "npm:^1.6.10"
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
"@types/mdast": "npm:^4.0.4"
lit: "npm:^3.2.0"
minimatch: "npm:^10.0.1"
Expand All @@ -1552,7 +1552,7 @@ __metadata:
"@blocksuite/store": "workspace:*"
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
"@types/dompurify": "npm:^3.0.5"
"@types/lodash.chunk": "npm:^4.2.9"
fractional-indexing: "npm:^3.2.0"
Expand All @@ -1578,7 +1578,7 @@ __metadata:
"@lit/context": "npm:^1.1.2"
"@lottiefiles/dotlottie-wc": "npm:^0.2.16"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
"@types/katex": "npm:^0.16.7"
"@types/lodash.clonedeep": "npm:^4.5.9"
date-fns: "npm:^4.0.0"
Expand Down Expand Up @@ -1616,7 +1616,7 @@ __metadata:
"@floating-ui/dom": "npm:^1.6.10"
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
"@types/lodash.clonedeep": "npm:^4.5.9"
"@types/lodash.mergewith": "npm:^4"
"@types/mdast": "npm:^4.0.4"
Expand All @@ -1637,7 +1637,7 @@ __metadata:
"@blocksuite/block-std": "workspace:*"
"@blocksuite/global": "workspace:*"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
lit: "npm:^3.2.0"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -1697,7 +1697,7 @@ __metadata:
"@floating-ui/dom": "npm:^1.6.10"
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
"@types/dompurify": "npm:^3.0.5"
"@types/hast": "npm:^3.0.4"
"@types/katex": "npm:^0.16.7"
Expand Down Expand Up @@ -1750,7 +1750,7 @@ __metadata:
"@floating-ui/dom": "npm:^1.6.10"
"@lit/context": "npm:^1.1.2"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
date-fns: "npm:^4.0.0"
lit: "npm:^3.2.0"
zod: "npm:^3.23.8"
Expand Down Expand Up @@ -1879,7 +1879,7 @@ __metadata:
"@floating-ui/dom": "npm:^1.6.10"
"@lottiefiles/dotlottie-wc": "npm:^0.2.16"
"@preact/signals-core": "npm:^1.8.0"
"@toeverything/theme": "npm:^1.0.19"
"@toeverything/theme": "npm:^1.1.1"
lit: "npm:^3.2.0"
zod: "npm:^3.23.8"
languageName: unknown
Expand Down Expand Up @@ -4529,10 +4529,10 @@ __metadata:
languageName: node
linkType: hard

"@toeverything/theme@npm:^1.0.19":
version: 1.0.19
resolution: "@toeverything/theme@npm:1.0.19"
checksum: 10/3f7f1a084394f34beb2f065cc6a79a08be3f7197c365daf089a01a8ca152f3ec84533601019dfefb60dc0e0743a98979e719e9f984dcd58b32998e0e58c8fb92
"@toeverything/theme@npm:^1.1.1":
version: 1.1.1
resolution: "@toeverything/theme@npm:1.1.1"
checksum: 10/a4df493ec8c43312d2b0caa5ec0fa296732042e169ffaef57e115c44f82ca13cb75679c95cf3ba12fc25c73a9dda8a6331196d145acb27445e08e0eafd7fc78a
languageName: node
linkType: hard

Expand Down

0 comments on commit 8adb323

Please sign in to comment.