fix some xml inconsistencies

This commit is contained in:
galister 2026-07-14 14:33:58 +09:00
parent b1e09910a2
commit 7c7e7edbfb
10 changed files with 18 additions and 18 deletions

View File

@ -17,7 +17,7 @@
tooltip="${tooltip}"
tooltip_side="${tooltip_side}"
>
<sprite src_builtin="${src_builtin}" width="~side_sprite_size" height="~side_sprite_size" color="on_background_contrast" />
<sprite src_builtin="${src_builtin}" width="~side_sprite_size" height="~side_sprite_size" />
</Button>
</template>

View File

@ -15,9 +15,9 @@
</div>
<div gap="2">
<div padding_top="4" padding_bottom="4">
<rectangle width="2" height="100%" color="#FFFFFF1A" />
<rectangle width="2" height="100%" color="outline" />
</div>
<sprite margin_left="-4" width="30" height="30" color="on_background_variant" src_builtin="dashboard/down.svg" />
<sprite margin_left="-4" width="30" height="30" src_builtin="dashboard/down.svg" />
</div>
</Button>
</template>

View File

@ -11,8 +11,8 @@
align_items="center"
justify_content="center"
flex_direction="column">
<sprite src_builtin="${icon}" width="32" height="32" color="on_background"/>
<label weight="bold" size="18" text="${text}" translation="${translation}" color="on_background" />
<sprite src_builtin="${icon}" width="32" height="32" />
<label weight="bold" size="18" text="${text}" translation="${translation}" />
</div>
</Button>
</template>

View File

@ -41,7 +41,7 @@
-->
<rectangle macro="group_box">
<div align_items="center" gap="8">
<sprite src_builtin="dashboard/heart_plus.svg" min_width="24" min_height="24"/>
<sprite src_builtin="dashboard/heart_plus.svg" color="primary" min_width="24" min_height="24"/>
<label translation="PINNED_APPS"/>
</div>
<div id="pinned_apps_parent" flex_direction="row" flex_wrap="wrap" gap="4">

View File

@ -21,15 +21,15 @@
<div gap="8">
<Button id="btn_welcome_screen" macro="home_button" tooltip="APP_SETTINGS.SHOW_WELCOME_SCREEN">
<sprite src_builtin="dashboard/welcome.svg" width="32" height="32" margin="16" color="on_background"/>
<sprite src_builtin="dashboard/welcome.svg" width="32" height="32" margin="16" />
</Button>
<Button id="btn_website" macro="home_button" tooltip_str="wayvr.org">
<sprite src_builtin="dashboard/globe.svg" width="32" height="32" margin="16" color="on_background"/>
<sprite src_builtin="dashboard/globe.svg" width="32" height="32" margin="16" />
</Button>
<Button id="btn_donate" macro="home_button" tooltip="DONATE.SUPPORT_US">
<sprite src_builtin="dashboard/opencollective.svg" width="32" height="32" margin="16" color="on_background"/>
<sprite src_builtin="dashboard/opencollective.svg" width="32" height="32" margin="16" />
</Button>
</div>
</div>

View File

@ -33,15 +33,15 @@
<template name="ButtonText">
<Button id="${id}" height="32" tooltip="${translation}_HELP" padding="4" gap="8">
<sprite src_builtin="${icon}" height="24" width="24" color="on_background" />
<label align="left" translation="${translation}" weight="bold" min_width="200" color="on_background" />
<sprite src_builtin="${icon}" height="24" width="24" />
<label align="left" translation="${translation}" weight="bold" min_width="200" />
</Button>
</template>
<template name="DangerButton">
<Button id="${id}" color="danger" border_color="danger(rgb-mult-0.5)" height="32" tooltip="${translation}_HELP" padding="4" gap="8">
<sprite src_builtin="${icon}" height="24" width="24" color="on_danger" />
<label align="left" translation="${translation}" weight="bold" min_width="200" color="on_danger" />
<sprite src_builtin="${icon}" height="24" width="24" />
<label align="left" translation="${translation}" weight="bold" min_width="200" />
</Button>
</template>

View File

@ -12,7 +12,7 @@
<label size="16" wrap="1" translation="WELCOME.BASICS"/>
<label size="16" wrap="1" translation="WELCOME.FEATURES_DOCUMENTATION"/>
<Button id="btn_wayvr_org" align_self="baseline" min_height="32">
<sprite src_builtin="dashboard/globe.svg" width="24" height="24" color="primary" margin="8"/>
<sprite src_builtin="dashboard/globe.svg" width="24" height="24" margin="8"/>
<label size="18" weight="bold" text="wayvr.org" margin_right="8" />
</Button>

View File

@ -9,9 +9,9 @@
<label weight="bold" id="label_author" text="Unknown" />
</div>
<label id="label_description" wrap="1" text="No description available" />
<Button id="btn_launch" align_self="baseline" color="#44ce22ff" border_color="#44ce22ff" padding_top="4" padding_bottom="4" round="8" padding_right="12" min_width="200" min_height="40">
<Button id="btn_launch" align_self="baseline" color="primary" border_color="primary(rgb-mult-0.5)" padding_top="4" padding_bottom="4" round="8" padding_right="12" min_width="200" min_height="40">
<sprite src_builtin="dashboard/play.svg" width="32" height="32" />
<label text="Launch" weight="bold" size="17" color="#FFFFFF" shadow="#00000099" />
<label text="Launch" weight="bold" size="17" />
</Button>
</div>
</div>

View File

@ -2,7 +2,7 @@
<!-- id, text -->
<template name="InputProfileButton">
<Button id="${id}" width="350" gap="8" justify_content="start" >
<sprite margin_left="8" src_builtin="dashboard/controller.svg" min_width="24" min_height="24" color="on_background"/>
<sprite margin_left="8" src_builtin="dashboard/controller.svg" min_width="24" min_height="24" />
<label text="${text}" weight="bold"/>
</Button>
</template>

View File

@ -23,7 +23,7 @@
<div gap="16" align_items="center">
<!-- Back button -->
<Button id="but_back" width="48" height="48" color="on_background_contrast(transparent)" border_color="on_background_contrast(transparent)">
<sprite src_builtin="dashboard/back.svg" color="on_background_contrast" width="24" height="24" />
<sprite src_builtin="dashboard/back.svg" width="24" height="24" />
</Button>
<!-- Title -->