25 lines
565 B
TypeScript
25 lines
565 B
TypeScript
|
|
import { keyframes, style } from '@vanilla-extract/css';
|
||
|
|
import { DefaultReset, color, config } from 'folds';
|
||
|
|
|
||
|
|
const SlideUpAnime = keyframes({
|
||
|
|
from: {
|
||
|
|
transform: 'translateY(100%)',
|
||
|
|
},
|
||
|
|
to: {
|
||
|
|
transform: 'translateY(0)',
|
||
|
|
},
|
||
|
|
});
|
||
|
|
|
||
|
|
export const RoomViewTyping = style([
|
||
|
|
DefaultReset,
|
||
|
|
{
|
||
|
|
padding: `${config.space.S100} ${config.space.S500}`,
|
||
|
|
width: '100%',
|
||
|
|
backgroundColor: color.Surface.Container,
|
||
|
|
color: color.Surface.OnContainer,
|
||
|
|
position: 'absolute',
|
||
|
|
bottom: 0,
|
||
|
|
animation: `${SlideUpAnime} 100ms ease-in-out`,
|
||
|
|
},
|
||
|
|
]);
|