💄 移除冗余样式

This commit is contained in:
BTMuli
2025-12-20 16:47:30 +08:00
parent e167953fea
commit 00239c26d2
2 changed files with 6 additions and 16 deletions

View File

@@ -4,13 +4,13 @@
*/
@use "sass:map";
/** 根据传入星级返回颜色 */
@function get-od-star-color($star:0) {
@function get-od-star-color($star: 0) {
$star-color-map: (
1:#abb2bfff,
2:#98c379ff,
3:#61afefff,
4:#c678ddff,
5:#d19a66ff
1: #abb2bfff,
2: #98c379ff,
3: #61afefff,
4: #c678ddff,
5: #d19a66ff,
);
@if map.has-key($star-color-map, $star) {
@return map.get($star-color-map, $star);

View File

@@ -197,16 +197,6 @@ function searchMaterial(): void {
}
.twm-item {
position: relative;
display: flex;
height: 45px;
align-items: center;
justify-content: flex-start;
padding-right: 5px;
border: 1px solid var(--common-shadow-1);
border-radius: 5px;
background: var(--box-bg-1);
column-gap: 5px;
cursor: pointer;
}