Skip to content

Commit

Permalink
feat: color
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepark327 committed Jul 18, 2024
1 parent 3f30db8 commit 3b261af
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 208 deletions.
36 changes: 12 additions & 24 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,7 @@ export default {
</script>

<template>
<div class="gradient-bg">
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="goo">
<feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur" />
<feColorMatrix
in="blur"
mode="matrix"
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8"
result="goo"
/>
<feBlend in="SourceGraphic" in2="goo" />
</filter>
</defs>
</svg>
<div class="gradients-container">
<div class="g1"></div>
<div class="g2"></div>
<div class="g3"></div>
<div class="g4"></div>
<div class="g5"></div>
<!-- <div class="interative"></div> -->
</div>
</div>
<div class="black-bg"></div>
<div class="container">
<ChatBox id="chatbox" />
</div>
Expand All @@ -46,4 +23,15 @@ export default {
#chatbox {
height: calc(100vh);
}
.black-bg {
width: 100vw;
height: 100vh;
position: absolute;
overflow: hidden;
background: rgb(0, 0, 0);
top: 0;
left: 0;
z-index: -2;
}
</style>
177 changes: 0 additions & 177 deletions src/assets/aurora.css

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import './aurora.css';
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

html {
Expand Down
5 changes: 1 addition & 4 deletions src/components/ChatBalloon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default {
.user {
color: #ffffffee;
background-color: #6944b1;
background-color: #FF481E;
border-radius: 15px 15px 0px 15px;
right: calc(-100% + 30px);
transform: translate(-100%, 0%);
Expand All @@ -99,9 +99,6 @@ export default {
left: -50px;
bottom: -20px;
}
.demo {
color: red;
}
.ellipsis {
width: 5px;
height: 5px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ChatBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default {
setTimeout(() => {
this.chatArray[index - 1].data.content += words[i];
resolve();
}, 30);
}, 20);
});
this.scrollToBottom(false);
}
Expand Down Expand Up @@ -421,7 +421,7 @@ input:focus {
.connect-button.connected {
border: 1px solid #ffffff99;
color: rgb(32, 6, 71); /* Blank text */
color: rgb(0, 0, 0); /* Blank text */
padding: 10px 20px;
text-align: center;
text-decoration: none;
Expand Down

0 comments on commit 3b261af

Please sign in to comment.