mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
@@ -47,7 +47,7 @@
|
||||
"@radix-ui/react-toolbar": "^1.0.4",
|
||||
"@radix-ui/react-tooltip": "^1.0.7",
|
||||
"@radix-ui/react-visually-hidden": "^1.1.0",
|
||||
"@toeverything/theme": "^0.7.35",
|
||||
"@toeverything/theme": "^1.0.0",
|
||||
"@vanilla-extract/dynamic": "^2.1.0",
|
||||
"bytes": "^3.1.2",
|
||||
"check-password-strength": "^2.0.10",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@import './fonts.css';
|
||||
@import '@toeverything/theme/style.css';
|
||||
|
||||
* {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
@@ -1,20 +1,12 @@
|
||||
import {
|
||||
cssVar,
|
||||
darkCssVariables,
|
||||
lightCssVariables,
|
||||
} from '@toeverything/theme';
|
||||
import { cssVar } from '@toeverything/theme';
|
||||
import { globalStyle } from '@vanilla-extract/css';
|
||||
|
||||
globalStyle('body', {
|
||||
color: cssVar('textPrimaryColor'),
|
||||
fontFamily: cssVar('fontFamily'),
|
||||
fontSize: cssVar('fontBase'),
|
||||
});
|
||||
globalStyle('html', {
|
||||
vars: lightCssVariables,
|
||||
});
|
||||
globalStyle('html[data-theme="dark"]', {
|
||||
vars: darkCssVariables,
|
||||
});
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
globalStyle('.undefined', {
|
||||
border: '5px solid red !important',
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"@sentry/integrations": "^7.109.0",
|
||||
"@sentry/react": "^8.0.0",
|
||||
"@sgtpooki/file-type": "^1.0.1",
|
||||
"@toeverything/theme": "^0.7.35",
|
||||
"@toeverything/theme": "^1.0.0",
|
||||
"@vanilla-extract/dynamic": "^2.1.0",
|
||||
"animejs": "^3.2.2",
|
||||
"async-call-rpc": "^6.4.2",
|
||||
|
||||
Reference in New Issue
Block a user