From d6e516111444d162a228bc72b322d76866468480 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Mon, 19 Feb 2024 01:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.vue | 14 ++--- .../src/components/markdown/tui-editor.vue | 56 +++++++++---------- frontend/vite.config.ts | 2 +- 3 files changed, 33 insertions(+), 39 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 42e78bb..8896216 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -135,7 +135,7 @@ body { justify-content: space-between; height: 50px; padding: 0 10px; - background-color: rgba(171, 126, 220, 0.9); + background-color: rgba(0, 152, 255, 0.9); .nav { a { @@ -145,7 +145,7 @@ body { line-height: 30px; padding: 0 5px; margin-right: 8px; - background-color: #ab7edc; + background-color: #0098ff; border-radius: 2px; text-align: center; text-decoration: none; @@ -155,7 +155,7 @@ body { &:hover, &.router-link-exact-active { - background-color: #d7a8d8; + background-color: #00acff; color: #ffffff; } } @@ -187,12 +187,12 @@ body { font-size: 14px; &:hover { - background-color: #ff050542; + background-color: #00ccff; cursor: pointer; } &.active { - background-color: #ff050542; + background-color: #00ccff; color: #ffffff; cursor: not-allowed; } @@ -214,7 +214,7 @@ body { line-height: 30px; padding: 0 5px; margin-left: 8px; - background-color: #ab7edc; + background-color: #00ccff; border-radius: 2px; text-align: center; text-decoration: none; @@ -222,7 +222,7 @@ body { font-size: 14px; &:hover { - background-color: #d7a8d8; + background-color: #00bfff; color: #ffffff; cursor: pointer; } diff --git a/frontend/src/components/markdown/tui-editor.vue b/frontend/src/components/markdown/tui-editor.vue index 4b9e619..7afaa16 100644 --- a/frontend/src/components/markdown/tui-editor.vue +++ b/frontend/src/components/markdown/tui-editor.vue @@ -1,17 +1,28 @@