diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index 545c7ab..11f79c1 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -1698,7 +1698,7 @@ struct Index { .fontSize(8) .fontColor(cell.dateMs === this.selectedDate ? (cell.hasEvent ? $r('app.color.button_text') : $r('app.color.text_secondary')) - : (cell.hasEvent ? $r('app.color.brand') : $r('app.color.text_hint'))) + : (cell.hasEvent ? $r('app.color.event_mark') : $r('app.color.text_hint'))) .fontWeight(cell.hasEvent ? FontWeight.Medium : FontWeight.Normal) .maxLines(1) } @@ -3265,13 +3265,13 @@ struct Index { .fontSize(8) .fontColor(cell.dateMs === this.selectedDate ? (cell.hasEvent ? $r('app.color.button_text') : $r('app.color.text_secondary')) - : (cell.hasEvent ? $r('app.color.brand') : $r('app.color.text_hint'))) + : (cell.hasEvent ? $r('app.color.event_mark') : $r('app.color.text_hint'))) .fontWeight(cell.hasEvent ? FontWeight.Medium : FontWeight.Normal) .maxLines(1) } else { // 宽屏:农历被省略,用一个小圆点表示(此时格子窄,圆点就在正中,不会有位置问题) Circle({ width: 4, height: 4 }) - .fill(cell.hasEvent ? $r('app.color.brand') : Color.Transparent) + .fill(cell.hasEvent ? $r('app.color.event_mark') : Color.Transparent) .opacity(cell.hasEvent ? 1 : 0) } } diff --git a/entry/src/main/resources/base/element/color.json b/entry/src/main/resources/base/element/color.json index 86defbe..9abde58 100644 --- a/entry/src/main/resources/base/element/color.json +++ b/entry/src/main/resources/base/element/color.json @@ -19,6 +19,7 @@ { "name": "grid_line", "value": "#14000000" }, { "name": "today_bg", "value": "#14007DFF" }, { "name": "selected_bg", "value": "#007DFF" }, - { "name": "chip_off_bg", "value": "#0D000000" } + { "name": "chip_off_bg", "value": "#0D000000" }, + { "name": "event_mark", "value": "#D93025" } ] } \ No newline at end of file diff --git a/entry/src/main/resources/dark/element/color.json b/entry/src/main/resources/dark/element/color.json index a2a7465..1f1292f 100644 --- a/entry/src/main/resources/dark/element/color.json +++ b/entry/src/main/resources/dark/element/color.json @@ -19,6 +19,7 @@ { "name": "grid_line", "value": "#1FFFFFFF" }, { "name": "today_bg", "value": "#330A84FF" }, { "name": "selected_bg", "value": "#0A84FF" }, - { "name": "chip_off_bg", "value": "#1FFFFFFF" } + { "name": "chip_off_bg", "value": "#1FFFFFFF" }, + { "name": "event_mark", "value": "#FF6B60" } ] }