Show notification when a new project is shared and allow joining it
This commit is contained in:
parent
57930cb88a
commit
debedaf004
6 changed files with 215 additions and 5 deletions
22
styles/src/styleTree/projectSharedNotification.ts
Normal file
22
styles/src/styleTree/projectSharedNotification.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import Theme from "../themes/common/theme";
|
||||
import { text } from "./components";
|
||||
|
||||
export default function projectSharedNotification(theme: Theme): Object {
|
||||
const avatarSize = 12;
|
||||
return {
|
||||
ownerAvatar: {
|
||||
height: avatarSize,
|
||||
width: avatarSize,
|
||||
cornerRadius: 6,
|
||||
},
|
||||
message: {
|
||||
...text(theme, "sans", "primary", { size: "xs" }),
|
||||
},
|
||||
joinButton: {
|
||||
...text(theme, "sans", "primary", { size: "xs" })
|
||||
},
|
||||
dismissButton: {
|
||||
...text(theme, "sans", "primary", { size: "xs" })
|
||||
},
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue