Skip to content

Commit

Permalink
Chatscope chat style overrides
Browse files Browse the repository at this point in the history
Must do all this to over-ride the default styles.
chatscope/chat-ui-kit-styles#5
  • Loading branch information
Kari-C committed Apr 28, 2024
1 parent 2ec355d commit ef4e9df
Show file tree
Hide file tree
Showing 7 changed files with 988 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ export default function Home() {
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
<main >
<div
className="bg-white dark:bg-slate-800 dark:text-white"
style={{ position: "relative", height: "98vh", overflow: "hidden" }}
>
<MainContainer>
Expand Down
3 changes: 2 additions & 1 deletion src/styles/main.scss
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@import 'globals';
@import 'globals';
@import '../themes/default/main.scss';
4 changes: 4 additions & 0 deletions src/themes/default/_chat_overrides.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@import "../../../node_modules/@chatscope/chat-ui-kit-styles/themes/default/variables";

$color-primary-light: #192bd5!default;
$color-primary: rgb(142, 142, 170)!default;
Loading

0 comments on commit ef4e9df

Please sign in to comment.