fix(component): correct notification action hover style (#8303)

This commit is contained in:
Cats Juice
2024-09-19 15:18:19 +08:00
committed by GitHub
parent a38f291a01
commit a6c2f5dcd5
3 changed files with 1 additions and 21 deletions

View File

@@ -1,4 +1,3 @@
import { darkCssVariables, lightCssVariables } from '@toeverything/theme';
import { globalStyle } from '@vanilla-extract/css';
globalStyle('*', {
@@ -14,14 +13,6 @@ globalStyle('body', {
backgroundColor: 'var(--affine-background-primary-color)',
});
globalStyle('html', {
vars: lightCssVariables,
});
globalStyle('html[data-theme="dark"]', {
vars: darkCssVariables,
});
globalStyle('.docs-story', {
backgroundColor: 'var(--affine-background-primary-color)',
});

View File

@@ -1,5 +1,5 @@
import './polyfill';
import '../src/theme/global.css';
import '../src/theme';
import './preview.css';
import { ThemeProvider } from 'next-themes';
import type { ComponentType } from 'react';