optimize style.

This commit is contained in:
unknown 2024-01-13 09:29:19 +08:00
parent 5167e0c084
commit 90594e7f21
2 changed files with 9 additions and 9 deletions

View File

@ -15,7 +15,7 @@ const themeList: Array<Theme> = [
secondFontColor: "#BBBBBBFF",
mainBackgroundColor: "#2B2B2BFF",
secondBackgroundColor: "#3C3F41FF",
borderColor: "#3C3F41FF",
borderColor: "#373737FF",
},
{
name: "#508CC8",
@ -23,7 +23,7 @@ const themeList: Array<Theme> = [
secondFontColor: "#FFFFFFFF",
mainBackgroundColor: "#508CC8FF",
secondBackgroundColor: "#6FA0D2FF",
borderColor: "#6FA0D2FF",
borderColor: "#5A94CDFF",
},
{
name: "#024351",
@ -31,7 +31,7 @@ const themeList: Array<Theme> = [
secondFontColor: "#FFFFFFFF",
mainBackgroundColor: "#024351FF",
secondBackgroundColor: "#025A6CFF",
borderColor: "#025A6CFF",
borderColor: "#064D5CFF",
},
{
name: "#516FA3",
@ -39,7 +39,7 @@ const themeList: Array<Theme> = [
secondFontColor: "#FFFFFFFF",
mainBackgroundColor: "#516FA3FF",
secondBackgroundColor: "#91A8D0FF",
borderColor: "#91A8D0FF",
borderColor: "#5D78A7FF",
},
{
name: "#45326E",
@ -47,7 +47,7 @@ const themeList: Array<Theme> = [
secondFontColor: "#FFFFFFFF",
mainBackgroundColor: "#45326EFF",
secondBackgroundColor: "#5F4B8BFF",
borderColor: "#5F4B8BFF",
borderColor: "#4C3A73FF",
},
{
name: "#693030",
@ -55,7 +55,7 @@ const themeList: Array<Theme> = [
secondFontColor: "#FFFFFFFF",
mainBackgroundColor: "#693030FF",
secondBackgroundColor: "#955151FF",
borderColor: "#803A3AFF",
borderColor: "#733535FF",
},
{
name: "#9F2F4A",

View File

@ -1220,7 +1220,7 @@
:style="{
backgroundColor: hexToRGBA(
setting.appearance.theme.secondBackgroundColor,
0.8
0.7
),
color: setting.appearance.theme.secondFontColor,
}"
@ -1263,7 +1263,7 @@
searchSourceId === item.id
? hexToRGBA(
setting.appearance.theme.secondBackgroundColor,
0.8
0.7
)
: undefined,
color:
@ -1280,7 +1280,7 @@
'background-color',
hexToRGBA(
setting.appearance.theme.secondBackgroundColor,
0.8
0.7
),
],
['color', setting.appearance.theme.secondFontColor],