mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 19:50:28 +03:00
* add hide activity toggle * stop sending/receiving typing status * send private read receipt when setting toggle is activated * prevent showing read-receipt when feature toggle in on
39 lines
849 B
TypeScript
39 lines
849 B
TypeScript
import { style } from '@vanilla-extract/css';
|
|
import { recipe } from '@vanilla-extract/recipes';
|
|
import { DefaultReset, color, config, toRem } from 'folds';
|
|
|
|
export const RoomViewFollowingPlaceholder = style([
|
|
DefaultReset,
|
|
{
|
|
height: toRem(28),
|
|
},
|
|
]);
|
|
|
|
export const RoomViewFollowing = recipe({
|
|
base: [
|
|
DefaultReset,
|
|
{
|
|
minHeight: toRem(28),
|
|
padding: `0 ${config.space.S400}`,
|
|
width: '100%',
|
|
backgroundColor: color.Surface.Container,
|
|
color: color.Surface.OnContainer,
|
|
outline: 'none',
|
|
},
|
|
],
|
|
variants: {
|
|
clickable: {
|
|
true: {
|
|
cursor: 'pointer',
|
|
selectors: {
|
|
'&:hover, &:focus-visible': {
|
|
color: color.Primary.Main,
|
|
},
|
|
'&:active': {
|
|
color: color.Primary.Main,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|