forked from matt8707/hass-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
themes.yaml
343 lines (308 loc) · 12 KB
/
themes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
themes:
tablet:
#enable mode
modes: {dark: {.: .}}
#edited default dark mode
ha-card-box-shadow: none
ha-card-background: none
grid-card-gap: 5%
masonry-view-card-margin: 0px
state-icon-color: '#9da0a2'
state-icon-active-color: '#3182b7'
switch-checked-color: '#7a7d7f'
switch-unchecked-button-color: '#3b4041'
switch-unchecked-track-color: '#0c0d0d'
paper-slider-knob-color: '#a4abb1'
paper-slider-knob-start-color: '#a4abb1'
paper-slider-pin-color: '#626a6f'
paper-slider-active-color: '#626a6f'
paper-slider-container-color: '#202020'
paper-toast-color: var(--primary-text-color)
paper-toast-background-color: '#1b1b1bf2'
vertical-stack-card-margin: 0
#temporarily revert 2022.12 icon colors
rgb-state-default-color: 49, 130, 183
rgb-state-alarm-armed-color: var(--rgb-state-default-color)
rgb-state-alarm-arming-color: var(--rgb-state-default-color)
rgb-state-alarm-pending-color: var(--rgb-state-default-color)
rgb-state-alarm-triggered-color: var(--rgb-state-default-color)
rgb-state-alert-color: var(--rgb-state-default-color)
rgb-state-automation-color: var(--rgb-state-default-color)
rgb-state-binary-sensor-alerting-color: var(--rgb-state-default-color)
rgb-state-binary-sensor-color: var(--rgb-state-default-color)
rgb-state-calendar-color: var(--rgb-state-default-color)
rgb-state-camera-color: var(--rgb-state-default-color)
rgb-state-climate-auto-color: var(--rgb-state-default-color)
rgb-state-climate-cool-color: var(--rgb-state-default-color)
rgb-state-climate-dry-color: var(--rgb-state-default-color)
rgb-state-climate-fan-only-color: var(--rgb-state-default-color)
rgb-state-climate-heat-color: var(--rgb-state-default-color)
rgb-state-climate-heat-cool-color: var(--rgb-state-default-color)
rgb-state-climate-idle-color: var(--rgb-state-default-color)
rgb-state-cover-color: var(--rgb-state-default-color)
rgb-state-fan-color: var(--rgb-state-default-color)
rgb-state-group-color: var(--rgb-state-default-color)
rgb-state-humidifier-color: var(--rgb-state-default-color)
rgb-state-input-boolean-color: var(--rgb-state-default-color)
rgb-state-light-color: var(--rgb-state-default-color)
rgb-state-lock-jammed-color: var(--rgb-state-default-color)
rgb-state-lock-locked-color: var(--rgb-state-default-color)
rgb-state-lock-pending-color: var(--rgb-state-default-color)
rgb-state-media-player-color: var(--rgb-state-default-color)
rgb-state-person-home-color: var(--rgb-state-default-color)
rgb-state-person-zone-color: var(--rgb-state-default-color)
rgb-state-remote-color: var(--rgb-state-default-color)
rgb-state-script-color: var(--rgb-state-default-color)
rgb-state-sensor-battery-high-color: var(--rgb-state-default-color)
rgb-state-sensor-battery-low-color: var(--rgb-state-default-color)
rgb-state-sensor-battery-medium-color: var(--rgb-state-default-color)
rgb-state-sensor-battery-unknown-color: var(--rgb-state-default-color)
rgb-state-siren-color: var(--rgb-state-default-color)
rgb-state-sun-day-color: var(--rgb-state-default-color)
rgb-state-sun-night-color: var(--rgb-state-default-color)
rgb-state-switch-color: var(--rgb-state-default-color)
rgb-state-timer-color: var(--rgb-state-default-color)
rgb-state-update-color: var(--rgb-state-default-color)
rgb-state-update-installing-color: var(--rgb-state-default-color)
rgb-state-vacuum-color: var(--rgb-state-default-color)
#font
primary-font-family: SF Pro Text, Roboto, system-ui
paper-font-common-base_-_font-family: var(--primary-font-family)
paper-font-common-code_-_font-family: var(--primary-font-family)
paper-font-body1_-_font-family: var(--primary-font-family)
paper-font-subhead_-_font-family: var(--primary-font-family)
paper-font-headline_-_font-family: var(--primary-font-family)
paper-font-caption_-_font-family: var(--primary-font-family)
paper-font-title_-_font-family: var(--primary-font-family)
ha-card-header-font-family: var(--primary-font-family)
mdc-typography-body1-font-family: var(--primary-font-family)
mdc-typography-font-family: var(--primary-font-family)
#custom variables
ha-card-background-color: rgba(34,38,39,0.9)
ha-card-header-background-color: rgba(48,52,52,0.8)
custom-layout-card-padding: 3.3vw
sidebar-time-font-size: 5.2vw
sidebar-time-line-height: 4.3vw
sidebar-font-size: 1.42vw
sidebar-line-height: 2vw
bar-card-color: '#303435'
#button_card_templates
button-card-font-size: 1.35vw
z-axis-adjustment: 0.05vw #tilt compensation
button-card-font-weight: 500
button-card-letter-spacing: -0.02vw
button-card-border-radius: 10%
footer-card-font-size: 1.22vw
footer-card-icon-size: 1.5vw
footer-card-padding-v: 0.7vw
footer-card-padding-h: 1.1vw
footer-card-border-radius: 0.65vw
footer-notify-font-size: 0.9vw
footer-notify-box-size: 1.8vw
footer-notify-top: -0.9vw
footer-notify-right: -1vw
button-card-light-color-temp: hsl(204, 58%, 38%)
#browser_mod.popup
dialog-backdrop-filter: blur(2em) brightness(0.75)
popup-background-color: rgba(34,38,39,0.9)
popup-border-width: 1px
popup-border-radius: 1em
tablet-popup-header-color: rgba(200, 218, 222, 0.05)
tablet-popup-content-padding: 1.4em 2.2em 1.6em 1.5em
tablet-popup-button-padding: 0.1em 2em 1.8em 2em
tablet-popup-border-style: 1.5px solid rgba(0,0,0,0.2)
####################################################
# #
# CARD-MOD #
# #
####################################################
card-mod-theme: tablet
card-mod-root: |
ha-app-layout {
background: url('/local/background.png');
background-size: cover;
}
card-mod-view-yaml: |
.: |
hui-view {
background: none !important;
min-height: 100vh;
}
#################################################
# #
# GRID CARD HEADINGS #
# #
#################################################
grid-layout$:
hui-grid-card:
.: |
hui-grid-card {
padding-bottom: 1vw;
}
$: |
/* default */
h1 {
font-size: 2.5vw !important;
line-height: 0 !important;
font-weight: 600 !important;
color: rgba(255, 255, 255, 0.8) !important;
padding: 0.2vw 0 2vw 0 !important;
letter-spacing: normal !important;
width: 100%;
}
/* portrait */
@media screen and (max-width: 1200px) {
h1 {
font-size: 3.3vw !important;
line-height: 1.1vw !important;
}
}
/* phone */
@media screen and (max-width: 800px) {
h1 {
font-size: 5.5vw !important;
line-height: 6vw !important;
margin: 2vw 0 0 0 !important;
}
}
#################################################
# #
# SWIPE CARD MARGIN #
# #
#################################################
$swipe-card$:
.: |
div {
height: 100%;
}
.swiper-container {
margin: -1.5vw !important;
padding: 1.5vw !important;
}
hui-horizontal-stack-card$:
.: |
hui-conditional-card {
margin: 0 0.15vh 0 0 !important;
}
#################################################
# #
# SIDEBAR VERTICAL-STACK #
# #
#################################################
grid-layout$hui-vertical-stack-card$: |
#root {
background-color: rgba(0, 0, 0, 0.06);
border-radius: 0;
border-right: 0.1vw solid rgba(58, 69, 73, 0.2);
min-height: 100vh;
}
/* phone */
@media screen and (max-width: 800px) {
#root {
background-color: rgba(0,0,0,0);
border-right: none;
min-height: 100%;
margin-left: -0.8%;
margin-bottom: -6%;
}
}
#################################################
# #
# SIDEBAR LAUNDRY TIMER #
# #
#################################################
grid-layout$hui-vertical-stack-card$hui-conditional-card:
.: |
hui-conditional-card {
display: flex;
justify-content: center;
}
/* phone */
@media screen and (max-width: 800px) {
hui-conditional-card > button-card {
zoom: 250%;
width: 100%;
filter: contrast(85%);
}
}
#################################################
# #
# FOOTER #
# #
#################################################
grid-layout$hui-horizontal-stack-card:
$: |
#root {
flex-wrap: wrap;
justify-content: center;
overflow: visible;
margin-top: -1.95vw !important;
padding-bottom: 2.5em;
}
@media screen and (min-width: 1200px) {
#root {
flex-wrap: nowrap;
justify-content: space-between;
margin-top: -1.6vh;
padding-bottom: 0;
}
}
/* phone */
@media screen and (max-width: 800px) {
#root {
padding-top: 4vw !important;
}
}
card-mod-card: |
.header .card-header {
letter-spacing: 0.005em;
font-size: 1.6em;
font-weight: 500;
padding: 1em 0 0 1.38em;
line-height: initial;
cursor: default;
}
.content .card-content {
padding: var(--tablet-popup-content-padding);
}
/* * * * * * * * * * * * * * * * * *
* *
* CUSTOM BAR CARD *
* *
* * * * * * * * * * * * * * * * * */
.type-custom-bar-card bar-card-name {
padding-left: 0.25em;
letter-spacing: normal;
}
.type-custom-bar-card bar-card-iconbar {
padding-left: 0.23em;
}
.type-custom-bar-card bar-card-value {
font-size: 0.9em;
font-weight: 400;
color: #e0e1e1;
letter-spacing: 0.01em;
text-shadow: none;
margin-right: auto;
}
.type-custom-bar-card bar-card-backgroundbar {
background: none;
}
.type-custom-bar-card bar-card-background {
background: radial-gradient(circle, rgba(52, 57, 58, 0.1) 0%, rgba(17, 18, 18, 0.2) 75%);
box-shadow: inset 0 0 25px #00000045;
border-radius: 0.3em;
overflow: hidden;
}
card-mod-more-info-yaml: |
.: |
:host {
--ha-card-border-width: 0;
}
ha-header-bar$: |
header {
background: var(--tablet-popup-header-color) !important;
border-bottom: var(--tablet-popup-border-style);
}