diff --git a/frontend/src/components/CustomStatistic.css b/frontend/src/components/CustomStatistic.css index 71bbcb23..9cb3e065 100644 --- a/frontend/src/components/CustomStatistic.css +++ b/frontend/src/components/CustomStatistic.css @@ -31,14 +31,22 @@ margin-bottom: 6px !important; letter-spacing: 0.6px; text-transform: uppercase; - opacity: 0.55; + color: rgba(0, 0, 0, 0.55); font-weight: 500; } body.dark .ant-statistic-content { - color: var(--dark-color-text-primary); + color: rgba(255, 255, 255, 0.92); } body.dark .ant-statistic-title { - color: rgba(255, 255, 255, 0.55); + color: rgba(255, 255, 255, 0.72); +} + +html[data-theme='ultra-dark'] .ant-statistic-content { + color: rgba(255, 255, 255, 0.95); +} + +html[data-theme='ultra-dark'] .ant-statistic-title { + color: rgba(255, 255, 255, 0.70); } diff --git a/frontend/src/pages/index/IndexPage.css b/frontend/src/pages/index/IndexPage.css index f8bf60eb..889ed959 100644 --- a/frontend/src/pages/index/IndexPage.css +++ b/frontend/src/pages/index/IndexPage.css @@ -163,7 +163,29 @@ html[data-theme='ultra-dark'] .index-page .ant-card .ant-card-actions > li { max-width: 100%; padding: 0 8px; flex-wrap: nowrap; - transition: opacity 0.15s ease, transform 0.15s ease; + color: rgba(0, 0, 0, 0.78); + font-weight: 500; + transition: opacity 0.15s ease, transform 0.15s ease, color 0.2s ease; +} + +.index-page .action .anticon { + color: rgba(0, 0, 0, 0.72); +} + +body.dark .index-page .action { + color: rgba(255, 255, 255, 0.82); +} + +body.dark .index-page .action .anticon { + color: rgba(255, 255, 255, 0.75); +} + +html[data-theme='ultra-dark'] .index-page .action { + color: rgba(255, 255, 255, 0.86); +} + +html[data-theme='ultra-dark'] .index-page .action .anticon { + color: rgba(255, 255, 255, 0.78); } .index-page .action > span:not(.anticon):not(.tg-icon) { diff --git a/frontend/src/pages/index/IndexPage.tsx b/frontend/src/pages/index/IndexPage.tsx index 0fafb9f7..9d1ef77e 100644 --- a/frontend/src/pages/index/IndexPage.tsx +++ b/frontend/src/pages/index/IndexPage.tsx @@ -11,6 +11,7 @@ import { Row, Space, Spin, + Tag, Tooltip, } from 'antd'; import { @@ -210,7 +211,18 @@ export default function IndexPage() {