watch sprites to all have color_text

This commit is contained in:
galister 2026-07-02 04:13:07 +09:00
parent 6a24399a9c
commit 5014cda64a
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<template name="Device"> <template name="Device">
<rectangle macro="decorative_rect" padding_top="4" padding_bottom="4" align_items="center" gap="8"> <rectangle macro="decorative_rect" padding_top="4" padding_bottom="4" align_items="center" gap="8">
<sprite width="32" height="32" src_builtin="${src}" /> <sprite width="32" height="32" src_builtin="${src}" color="~color_text" />
<label _source="battery" _device="${idx}" size="24" weight="bold" /> <label _source="battery" _device="${idx}" size="24" weight="bold" />
</rectangle> </rectangle>
</template> </template>
@ -128,7 +128,7 @@
<div flex_direction="column" gap="8"> <div flex_direction="column" gap="8">
<div gap="8"> <div gap="8">
<Button id="btn_keyboard" macro="button_style" _press="::OverlayToggle kbd" tooltip="EDIT_MODE.KEYBOARD" tooltip_side="left"> <Button id="btn_keyboard" macro="button_style" _press="::OverlayToggle kbd" tooltip="EDIT_MODE.KEYBOARD" tooltip_side="left">
<sprite src_builtin="watch/keyboard.svg" width="40" height="40" /> <sprite src_builtin="watch/keyboard.svg" color="~color_text" width="40" height="40" />
</Button> </Button>
<Button id="btn_edit_mode" macro="button_style" _press="::EditToggle" tooltip="WATCH.EDIT_MODE" tooltip_side="left"> <Button id="btn_edit_mode" macro="button_style" _press="::EditToggle" tooltip="WATCH.EDIT_MODE" tooltip_side="left">
<sprite color="~color_text" width="40" height="40" src="watch/edit.svg" /> <sprite color="~color_text" width="40" height="40" src="watch/edit.svg" />