diff --git a/src/assets/themes/dark.css b/src/assets/themes/dark.css index 04e5cdd1..da72c8b8 100644 --- a/src/assets/themes/dark.css +++ b/src/assets/themes/dark.css @@ -16,8 +16,12 @@ html.dark { /* box bg */ --common-bg-1: #3d424b; /* 一级背景色 */ --common-bgt-1: #faf7e8; /* 一级背景色对应的文本色 */ - --common-bg-2: #3b3d3b; /* button 背景色 */ - --common-bgt-2: #fec90b; /* button 背景色对应的文本色 */ + + /* button */ + --common-btn-bg-1: #282c34; /* button 背景色 */ + --common-btn-bgt-1: #fec90b; /* button 背景色对应的文本色 */ + --common-btn-bg-2: #2a3442; /* button 背景色 */ + --common-btn-bgt-2: #ece5d8; /* button 背景色对应的文本色 */ /* text */ --common-text-title: var(--common-color-white); /* title */ diff --git a/src/assets/themes/default.css b/src/assets/themes/default.css index 0fef919b..59c84507 100644 --- a/src/assets/themes/default.css +++ b/src/assets/themes/default.css @@ -16,8 +16,12 @@ html.default { /* box bg */ --common-bg-1: #faf7e8; /* 一级背景色 */ --common-bgt-1: #3d424b; /* 一级背景色对应的文本色 */ - --common-bg-2: #fec90b; /* button 背景色 */ - --common-bgt-2: #5b738f; /* button 背景色对应的文本色 */ + + /* button */ + --common-btn-bg-1: #fec90b; /* button 背景色 */ + --common-btn-bgt-1: #5b738f; /* button 背景色对应的文本色 */ + --common-btn-bg-2: #e1d8c6; /* button 背景色 */ + --common-btn-bgt-2: #495366; /* button 背景色对应的文本色 */ --common-text-title: #393b40; /* title */ --common-text-content: var(--common-color-blue-2); /* text */ diff --git a/src/components/main/t-calendar.vue b/src/components/main/t-calendar.vue index 756819f8..a0354d86 100644 --- a/src/components/main/t-calendar.vue +++ b/src/components/main/t-calendar.vue @@ -187,8 +187,8 @@ function getContents(day: number): void { .calendar-btn-selected { border-radius: 5px; - background: var(--common-bg-2); - color: var(--common-bgt-2); + background: var(--common-btn-bg-1); + color: var(--common-btn-bgt-1); } .calendar-grid { diff --git a/src/pages/Announcements.vue b/src/pages/Announcements.vue index 43837756..6967941c 100644 --- a/src/pages/Announcements.vue +++ b/src/pages/Announcements.vue @@ -1,10 +1,10 @@