|
@@ -191,7 +191,8 @@ struct PlaylistDialogContent {
|
|
|
Button('取消',{ type: ButtonType.Capsule, stateEffect: true })
|
|
Button('取消',{ type: ButtonType.Capsule, stateEffect: true })
|
|
|
.width('45%')
|
|
.width('45%')
|
|
|
.height(40)
|
|
.height(40)
|
|
|
- .backgroundColor($r('app.color.cancel_button_background'))
|
|
|
|
|
|
|
+ .backgroundColor(this.isDarkMode ? themeColorWithAlpha(this.themeColor, 0.8, this.isDarkMode)
|
|
|
|
|
+ :$r('app.color.cancel_button_background') )
|
|
|
.borderRadius(8)
|
|
.borderRadius(8)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor($r('app.color.cancel_button_text'))
|
|
.fontColor($r('app.color.cancel_button_text'))
|
|
@@ -204,7 +205,7 @@ struct PlaylistDialogContent {
|
|
|
Button(this.isEditMode ? '保存' : '创建',{ type: ButtonType.Capsule, stateEffect: true })
|
|
Button(this.isEditMode ? '保存' : '创建',{ type: ButtonType.Capsule, stateEffect: true })
|
|
|
.width('45%')
|
|
.width('45%')
|
|
|
.height(40)
|
|
.height(40)
|
|
|
- .backgroundColor(this.isDarkMode ? themeColorWithAlpha(this.themeColor, 0.8, this.isDarkMode) : this.themeColor)
|
|
|
|
|
|
|
+ .backgroundColor(this.isDarkMode ? $r('app.color.silvery'):this.themeColor)
|
|
|
.borderRadius(8)
|
|
.borderRadius(8)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|