Add dark mode support (#16)

This commit is contained in:
AceDataCloud committed 2024-04-04 18:12:31 +00:00
1 parent ddef4cec2a
commit b8970e1373
46 files changed
+247 -166

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ export default defineComponent({
width: 2px;
height: 16px;
margin-top: 3px;
background-color: var(--el-color-black);
background-color: var(--el-text-color-primary);
animation: blink 1s infinite;
}
</style>
+6 -5
View File
@@ -143,7 +143,7 @@ export default defineComponent({
padding: 15px;
width: 300px;
height: 100%;
border-right: 1px solid #eee;
border-right: 1px solid var(--el-border-color);
overflow-y: scroll;
.conversations {
@@ -158,15 +158,15 @@ export default defineComponent({
flex-direction: row;
padding: 10px;
margin-bottom: 5px;
border: 1px dashed hsl(0, 0%, 93%);
border: 1px dashed var(--el-border-color);
line-height: 30px;
border-radius: 10px;
color: #666;
color: var(--el-text-color-primary);
cursor: pointer;
&.active,
&:hover {
background-color: #eee;
background-color: var(--el-fill-color-extra-light);
}
.icons {
@@ -183,10 +183,11 @@ export default defineComponent({
overflow: hidden;
text-overflow: ellipsis;
padding-right: 8px;
color: #666;
color: var(--el-text-color-primary);
}
.operations {
width: 40px;
color: var(--el-text-color-regular);
.icon {
cursor: pointer;
font-size: 14px;
+1 -1
View File
@@ -88,7 +88,7 @@ export default defineComponent({
height: 50px;
border-radius: 50%;
margin-top: 5px;
background-color: #eee;
background-color: var(--el-bg-color-page);
margin-bottom: 0;
}
+6 -5
View File
@@ -12,7 +12,6 @@
</span>
<el-input
v-model="questionValue"
:rows="3"
:disabled="disabled"
class="input"
type="textarea"
@@ -89,6 +88,8 @@ export default defineComponent({
.input-box {
.input {
textarea {
height: auto;
max-height: 100px;
border: none;
background: none;
box-shadow: none;
@@ -112,7 +113,7 @@ export default defineComponent({
.input-box {
position: relative;
width: 100%;
border: 1px solid #eee;
border: 1px solid var(--el-border-color);
border-radius: 10px;
background: none;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
@@ -132,13 +133,13 @@ export default defineComponent({
right: 15px;
&.disabled {
.icon-send {
color: #eee;
color: var(--el-text-color-disabled);
}
cursor: not-allowed;
}
.icon-send {
font-size: 16px;
color: #666;
color: var(--el-text-color-primary);
}
}
}
@@ -147,7 +148,7 @@ export default defineComponent({
.info {
display: block;
font-size: 12px;
color: #666;
color: var(--el-text-color-regular);
margin-top: 5px;
margin-left: 3px;
margin-bottom: 0;
+1 -1
View File
@@ -140,7 +140,7 @@ export default defineComponent({
align-items: start;
.content {
background-color: var(--el-bg-color-page);
color: var(--el-color-black);
color: var(--el-text-color-primary);
border-bottom-left-radius: 0;
}
}