Skip to content

Instantly share code, notes, and snippets.

@ShariqAnsari88
Last active July 16, 2023 07:01
Show Gist options
  • Save ShariqAnsari88/e6aa6b5d2dd69f7c690d7a5941c6a032 to your computer and use it in GitHub Desktop.
Save ShariqAnsari88/e6aa6b5d2dd69f7c690d7a5941c6a032 to your computer and use it in GitHub Desktop.
firebase-chat-app
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
font-family: "Lexend", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
color: white;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.glass-effect {
background: rgba(0, 0, 0, 0.35);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border-radius: 10px;
}
.scrollbar {
scrollbar-color: #2e343d transparent;
scrollbar-width: thin;
}
.scrollbar::-webkit-scrollbar {
width: 8px;
height: 6px;
}
.scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.scrollbar::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: 10px;
opacity: 0;
}
.scrollbar:hover::-webkit-scrollbar-thumb {
background-color: #2e343d;
opacity: 1;
}
#ReactSimpleImageViewer {
z-index: 99;
}
#ReactSimpleImageViewer .react-simple-image-viewer__close {
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
background-color: #2e343d;
font-size: 34px;
font-weight: 400;
line-height: 36px;
text-align: center;
padding-bottom: 10px;
}
export const wrapEmojisInHtmlTag = (messageText) => {
const regexEmoji = /(\p{Emoji_Presentation}|\p{Emoji}\uFE0F)/gu; // regex to match all Unicode emojis
return messageText.replace(regexEmoji, (match) => {
return `<span style="font-size:1.5em;margin:0 2px;position:relative;top:2px">${match}</span>`;
});
};
export const profileColors = [
"#E95F56",
"#C490D1",
"#897E95",
"#A6AB95",
"#E46000",
"#1090D8",
"#E86D8A",
"#1F7551",
"#9DC2B7",
"#FFE177",
"#A9D2FD",
"#FFCDA5",
"#4AAC67",
"#FFE5A5",
"#CD413C",
];
colors: {
c0: "#101010",
c1: "#131313",
c2: "#202329",
c3: "#8B8D93",
c4: "#6b8afd",
c5: "#2E343D",
}
@madan-sain
Copy link

your video part 1 i am not found please give me part 1 video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment