Fix the ref, upload, keyframes, and implicit-any type errors. [skip build]
Checks / checks (push) Successful in 2m6s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-02 00:51:31 +11:00
parent 45f38f2ac8
commit 1e3d630b1a
30 changed files with 134 additions and 98 deletions
+17 -8
View File
@@ -1,5 +1,6 @@
import { style, keyframes } from '@vanilla-extract/css';
import { color, config } from 'folds';
import { AppRegionStyleRule } from '../../../types/utils';
const wipeIn = keyframes({
'0%': {
@@ -23,7 +24,7 @@ const wipeOut = keyframes({
},
});
export const NewMessagePill = style({
const newMessagePill: AppRegionStyleRule = {
display: 'flex',
alignItems: 'center',
gap: config.space.S100,
@@ -45,7 +46,9 @@ export const NewMessagePill = style({
backgroundColor: '#388E3C',
},
},
});
};
export const NewMessagePill = style(newMessagePill);
export const NewMessagePillExiting = style({
animation: `${wipeOut} 0.2s ease-in forwards`,
@@ -65,7 +68,7 @@ export const TitleBar = style({
WebkitUserSelect: 'none',
});
export const TitleBarDragRegion = style({
const titleBarDragRegion: AppRegionStyleRule = {
display: 'flex',
alignItems: 'center',
height: '100%',
@@ -74,14 +77,18 @@ export const TitleBarDragRegion = style({
cursor: 'default',
WebkitAppRegion: 'drag',
color: color.Surface.OnContainer,
});
};
export const TitleBarBackButton = style({
export const TitleBarDragRegion = style(titleBarDragRegion);
const titleBarBackButton: AppRegionStyleRule = {
WebkitAppRegion: 'no-drag',
flexShrink: 0,
});
};
export const SyncStatusBadge = style({
export const TitleBarBackButton = style(titleBarBackButton);
const syncStatusBadge: AppRegionStyleRule = {
position: 'absolute',
left: '50%',
top: '50%',
@@ -94,7 +101,9 @@ export const SyncStatusBadge = style({
zIndex: 1001,
pointerEvents: 'none',
WebkitAppRegion: 'no-drag',
});
};
export const SyncStatusBadge = style(syncStatusBadge);
export const SyncStatusSuccess = style({
backgroundColor: color.Success.Container,