@@ -1011,8 +1011,8 @@ export class QuickBar extends LitElement {
10111011 --mdc-dialog-max-width : 800px ;
10121012 --mdc-dialog-min-width : 500px ;
10131013 --dialog-surface-position : fixed;
1014- --dialog-surface-top : 40 px ;
1015- --mdc-dialog-max-height : calc (100% - 72 px );
1014+ --dialog-surface-top : var ( --ha-space-10 ) ;
1015+ --mdc-dialog-max-height : calc (100% - var ( --ha-space-18 ) );
10161016 }
10171017 }
10181018
@@ -1055,8 +1055,8 @@ export class QuickBar extends LitElement {
10551055 }
10561056
10571057 span .command-text {
1058- margin-left : 8 px ;
1059- margin-inline-start : 8 px ;
1058+ margin-left : var ( --ha-space-2 ) ;
1059+ margin-inline-start : var ( --ha-space-2 ) ;
10601060 margin-inline-end : initial;
10611061 direction : var (--direction );
10621062 }
@@ -1069,17 +1069,17 @@ export class QuickBar extends LitElement {
10691069 ha-md-list-item .two-line {
10701070 --md-list-item-one-line-container-height : 64px ;
10711071 --md-list-item-two-line-container-height : 64px ;
1072- --md-list-item-top-space : 8 px ;
1073- --md-list-item-bottom-space : 8 px ;
1072+ --md-list-item-top-space : var ( --ha-space-2 ) ;
1073+ --md-list-item-bottom-space : var ( --ha-space-2 ) ;
10741074 }
10751075
10761076 ha-md-list-item .three-line {
10771077 width : 100% ;
10781078 --md-list-item-one-line-container-height : 72px ;
10791079 --md-list-item-two-line-container-height : 72px ;
10801080 --md-list-item-three-line-container-height : 72px ;
1081- --md-list-item-top-space : 8 px ;
1082- --md-list-item-bottom-space : 8 px ;
1081+ --md-list-item-top-space : var ( --ha-space-2 ) ;
1082+ --md-list-item-bottom-space : var ( --ha-space-2 ) ;
10831083 }
10841084
10851085 ha-md-list-item .code {
@@ -1104,11 +1104,11 @@ export class QuickBar extends LitElement {
11041104 }
11051105
11061106 ha-tip {
1107- padding : 20 px ;
1107+ padding : var ( --ha-space-5 ) ;
11081108 }
11091109
11101110 .nothing-found {
1111- padding : 16 px 0 px ;
1111+ padding : var ( --ha-space-4 ) var ( --ha-space-0 ) ;
11121112 text-align : center;
11131113 }
11141114
0 commit comments