Не подтверждена Коммит 352bb548 создал по автору Peng Xiao's avatar Peng Xiao
Просмотр файлов

fix(core): update noise image (#5219)

seems https://github.com/toeverything/AFFiNE/pull/4946 not in latest canary.
владелец 761c3c25
......@@ -23,7 +23,7 @@ export const appStyle = style({
inset: 0,
opacity: 'var(--affine-noise-opacity, 0)',
backgroundRepeat: 'repeat',
backgroundSize: '2.5%',
backgroundSize: '3%',
// todo: figure out how to use vanilla-extract webpack plugin to inject img url
backgroundImage: `var(--noise-background)`,
},
......@@ -32,13 +32,13 @@ export const appStyle = style({
globalStyle(`html[data-theme="light"] ${appStyle}`, {
vars: {
'--affine-noise-opacity': '0.25',
'--affine-noise-opacity': '0.35',
},
});
globalStyle(`html[data-theme="dark"] ${appStyle}`, {
vars: {
'--affine-noise-opacity': '0.1',
'--affine-noise-opacity': '1',
},
'@media': {
......
......@@ -9,7 +9,7 @@
}
:root {
--noise-background: url(./noise.png);
--noise-background: url(./noise.avif);
}
html,
......
Файл подавлен записью .gitattributes или кодировка файла не поддерживается
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать