feat: init @toeverything/theme (#2136)

This commit is contained in:
Himself65
2023-04-25 18:44:17 -05:00
committed by GitHub
parent 80f4578f76
commit db52c63d25
34 changed files with 147 additions and 76 deletions
+2 -1
View File
@@ -85,10 +85,11 @@ const nextConfig = {
'@affine/debug',
'@affine/env',
'@affine/templates',
'@toeverything/hooks',
'@affine/workspace',
'@affine/jotai',
'@toeverything/hooks',
'@toeverything/y-indexeddb',
'@toeverything/theme',
],
publicRuntimeConfig: {
PROJECT_NAME: process.env.npm_package_name ?? 'AFFiNE',
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@affine/web",
"private": true,
"version": "0.5.4-canary.9",
"version": "0.5.4-canary.10",
"scripts": {
"dev": "next dev",
"build": "next build",
@@ -1,9 +1,4 @@
import {
baseTheme,
MenuItem,
MuiClickAwayListener,
PureMenu,
} from '@affine/component';
import { MenuItem, MuiClickAwayListener, PureMenu } from '@affine/component';
import { useTranslation } from '@affine/i18n';
import {
MoreVerticalIcon,
@@ -12,6 +7,7 @@ import {
PlusIcon,
} from '@blocksuite/icons';
import type { PageMeta } from '@blocksuite/store';
import { baseTheme } from '@toeverything/theme';
import { useMemo, useRef, useState } from 'react';
import { useBlockSuiteMetaHelper } from '../../../../hooks/affine/use-block-suite-meta-helper';
@@ -1,9 +1,5 @@
import {
baseTheme,
displayFlex,
styled,
textEllipsis,
} from '@affine/component';
import { displayFlex, styled, textEllipsis } from '@affine/component';
import { baseTheme } from '@toeverything/theme';
import Link from 'next/link';
const macosElectron = environment.isDesktop && environment.isMacOs;