Skip to content

Commit 6a427b1

Browse files
committed
Fix: Update card_mod declarations and indentation
1 parent b9a4058 commit 6a427b1

File tree

6 files changed

+42
-39
lines changed

6 files changed

+42
-39
lines changed

custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/2-line_cards/card_graph.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ card_graph:
8383
points_per_hour: "[[[ return variables.ulm_card_graph_points; ]]]"
8484
group_by: "[[[ return variables.ulm_card_graph_group_by; ]]]"
8585
line_width: "[[[ return variables.ulm_card_graph_line_width; ]]]"
86-
style: |
87-
ha-card {
88-
box-shadow: none;
89-
border-radius: var(--border-radius);
90-
}
86+
card_mod:
87+
style: |
88+
ha-card {
89+
box-shadow: none;
90+
border-radius: var(--border-radius);
91+
}

custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_cover.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -623,11 +623,11 @@ card_cover:
623623
thumbVerticalPadding: "0px"
624624
thumbWidth: "0px"
625625
card_mod:
626-
style: |
627-
ha-card {
628-
border-radius: 14px;
629-
box-shadow: none;
630-
}
626+
style: |
627+
ha-card {
628+
border-radius: 14px;
629+
box-shadow: none;
630+
}
631631
item4:
632632
card:
633633
type: "custom:button-card"

custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_fan.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@ card_fan:
250250
thumbVerticalPadding: "0px"
251251
thumbWidth: "0px"
252252
card_mod:
253-
style: |
254-
ha-card {
255-
border-radius: 14px;
256-
box-shadow: none;
257-
}
253+
style: |
254+
ha-card {
255+
border-radius: 14px;
256+
box-shadow: none;
257+
}
258258
button:
259259
card:
260260
type: "custom:button-card"

custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_light.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ card_light:
272272
thumbVerticalPadding: "0px"
273273
thumbWidth: "12px"
274274
card_mod:
275-
style: |
276-
ha-card {
277-
border-radius: 14px;
278-
box-shadow: none;
279-
}
275+
style: |
276+
ha-card {
277+
border-radius: 14px;
278+
box-shadow: none;
279+
}
280280
item3:
281281
card:
282282
type: "custom:button-card"

custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_weather.yaml

+15-14
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,18 @@ card_weather:
3232
secondary_info: "[[[ return variables.ulm_card_weather_secondary_info ]]]"
3333
backdrop: "[[[ return variables.ulm_card_weather_backdrop ]]]"
3434
custom: "[[[ return variables?.ulm_card_weather_custom ]]]"
35-
style: |
36-
ha-card {
37-
border-radius: 14px;
38-
box-shadow: none;
39-
}
40-
ha-card.type-custom-simple-weather-card {
41-
padding: 24px;
42-
}
43-
ha-card[bg].type-custom-simple-weather-card{
44-
color: white;
45-
}
46-
ha-card.type-custom-simple-weather-card .weather__info {
47-
text-align: left
48-
}
35+
card_mod:
36+
style: |
37+
ha-card {
38+
border-radius: 14px;
39+
box-shadow: none;
40+
}
41+
ha-card.type-custom-simple-weather-card {
42+
padding: 24px;
43+
}
44+
ha-card[bg].type-custom-simple-weather-card{
45+
color: white;
46+
}
47+
ha-card.type-custom-simple-weather-card .weather__info {
48+
text-align: left
49+
}

custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/internal_templates/extended_card.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ extended_card:
8080
item2:
8181
card:
8282
type: "custom:button-card"
83-
style: |
84-
ha-card {
85-
box-shadow: none;
86-
border-radius: var(--border-radius);
87-
}
83+
card_mod:
84+
style: |
85+
ha-card {
86+
box-shadow: none;
87+
border-radius: var(--border-radius);
88+
}

0 commit comments

Comments
 (0)