From 2f33099a56fda5bdfb52ca5b30b00161413be953 Mon Sep 17 00:00:00 2001 From: HanYaodong Date: Sun, 28 Apr 2024 21:33:25 +0800 Subject: [PATCH] Fix submission menu color --- public/content.css | 6 +++--- src/svg-icons/sb_svg.tsx | 28 +++++++++++----------------- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/public/content.css b/public/content.css index 2cd706d5..1b98a5c6 100644 --- a/public/content.css +++ b/public/content.css @@ -4,7 +4,7 @@ --skip-notice-margin: 5px; --skip-notice-border-horizontal: 5px; --skip-notice-border-vertical: 10px; - --sb-dark-red-outline: rgb(130,0,0,0.9); + --sb-dark-outline: rgba(6, 80, 111, 0.9); } .sbhidden { @@ -542,7 +542,7 @@ input::-webkit-inner-spin-button { .sponsorTimeEditInput { width: 90px; - border: 3px solid var(--sb-dark-red-outline); + border: 3px solid var(--sb-dark-outline); } .sponsorTimeEditInput.sponsorChapterNameInput { @@ -562,7 +562,7 @@ input::-webkit-inner-spin-button { margin-bottom: 5px; background-color: rgba(28, 28, 28, 0.9); - border-color: var(--sb-dark-red-outline); + border-color: var(--sb-dark-outline); color: white; border-width: 3px; padding: 3px; diff --git a/src/svg-icons/sb_svg.tsx b/src/svg-icons/sb_svg.tsx index bb4a2472..c1ff17f4 100644 --- a/src/svg-icons/sb_svg.tsx +++ b/src/svg-icons/sb_svg.tsx @@ -11,43 +11,37 @@ export interface SbIconProps { export default function SbSvg({ id = "", - fill = "#ff0000", + fill = "#00a1d6", className = "", onClick }: SbIconProps): JSX.Element { return ( - onClick?.() } > + onClick={() => onClick?.()} > + id="Layer_2" + data-name="Layer 2"> + style={{ fill }}> + style={{ fill }} />