-
Notifications
You must be signed in to change notification settings - Fork 19
/
nm-01-gonsboro.yaml
439 lines (374 loc) · 18.6 KB
/
nm-01-gonsboro.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
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
#
# Theme : nm-01-gonsboro.yaml
# Project : Home Assistant
# Repository: https://github.com/AmoebeLabs/l
#
# Author : Mars @ AmoebeLabs.com
#
# License : CC BY-SA, https://creativecommons.org/licenses/by/4.0/
#
# -----
# Description:
# Neumorphic theme with gonsboro as the main background color (light grey)
#
# Refs:
# - https://neumorphism.io/#efeeee
#
###############################################################################
#
#Neumorphic - Gonsboro
NM - Gonsboro:
#
# Theming the box-shadow for a card using Neumorphic guidelines.
# --------------------------------------------------------------
ha-card-box-shadow: '3px 3px 6px var(--cs-theme-shadow-darker), -3px -3px 6px var(--cs-theme-shadow-lighter)'
# Make it an inset shadow. Looks very nice combined with the neumorphic design!!!!
theme-card-box-shadow: 'var(--shadow-elevation-2dp_-_box-shadow)'
#
# Theming the default gradient.
# -----------------------------
#
# A theme has a default gradient, which can be used to color the mini-graph-card for instance (colorstops)
# This gives a nice look and feel if you're after such a color scheme
#
# Use this to generate the gradient: http://www.perbang.dk/rgbgradient/
#
# Gradient is from the primary color (orange) to the secondary text color (blue)
#
# Color set via http://mcg.mbitson.com/#!?mcgpalette0=%23ffb414
theme-graph-default-graph-color: '#ffb414'
theme-gradient-color-02-1pct: 'rgba(255, 218, 138, 0.01)'
theme-gradient-color-02-5pct: 'rgba(255, 218, 138, 0.05)'
theme-gradient-color-02-10pct: 'rgba(255, 218, 138, 0.1)'
theme-gradient-color-02-20pct: 'rgba(255, 218, 138, 0.2)'
theme-gradient-color-02-50pct: 'rgba(255, 218, 138, 0.5)'
theme-gradient-color-02-80pct: 'rgba(255, 218, 138, 0.8)'
theme-gradient-color-05-20pct: 'rgba(255, 203, 91, 0.2)'
theme-gradient-color-05-50pct: 'rgba(255, 203, 91, 0.5)'
theme-gradient-color-05-80pct: 'rgba(255, 203, 91, 0.8)'
theme-gradient-color-01: '#FFF6E3'
theme-gradient-color-02: '#FFE9B9'
theme-gradient-color-03: '#FFDA8A'
theme-gradient-color-04: '#FFCB5B'
theme-gradient-color-05: '#FFBF37'
theme-gradient-color-06: '#ffb414'
theme-gradient-color-07: '#FFAD12'
theme-gradient-color-08: '#FFA40E'
theme-gradient-color-09: '#FF9C0B'
theme-gradient-color-10: '#FF8C06'
theme-gradient-color-11: '#FF8305'
# http://mcg.mbitson.com/#!?mcgpalette0=%23efeeee
cs-theme-default-lighten-50: '#FDFDFD'
cs-theme-default-lighten-40: '#FAFAFA'
cs-theme-default-lighten-30: '#F7F7F7'
cs-theme-default-lighten-20: '#F4F3F3'
cs-theme-default-lighten-10: '#F1F1F1'
cs-theme-default-base: '#efeeee'
cs-theme-default-darken-10: '#EDECEC'
cs-theme-default-darken-20: '#EBE9E9'
cs-theme-default-darken-30: '#E8E7E7'
cs-theme-default-darken-40: '#E4E2E2'
cs-theme-default-accent-10: '#FFFFFF'
cs-theme-default-accent-20: '#FFFFFF'
cs-theme-default-accent-40: '#FFFFFF'
cs-theme-default-accent-70: '#FFFFFF'
# cs-theme-default-darken-15: '#e3e1e1'
cs-theme-default-darken-15: '#d6d4d4'
cs-theme-default-lighten-05: '#FEFEFE'
cs-orange-lighten-50: '#FFF3E0'
cs-orange-lighten-40: '#FFE0B2'
cs-orange-lighten-30: '#FFCC80'
cs-orange-lighten-20: '#FFB74D'
cs-orange-lighten-10: '#FFA726'
cs-orange-base: '#FF9800'
cs-orange-darken-10: '#FB8C00'
cs-orange-darken-20: '#F57C00'
cs-orange-darken-30: '#EF6C00'
cs-orange-darken-40: '#E65100'
cs-orange-accent-10: '#FFD180'
cs-orange-accent-20: '#FFAB40'
cs-orange-accent-30: '#FF9100'
cs-orange-accent-40: '#FF6D00'
cs-theme-shadow-darker: '#bfbebe'
cs-theme-shadow-lighter: '#ffffff'
cs-theme-default-primary: 'var(--cs-orange-base)'
cs-theme-default-accent: 'var(--cs-orange-accent-40)'
cs-theme-default-primary-light: 'var(--cs-orange-lighten-40)'
cs-theme-default-primary-dark: 'var(--cs-orange-darken-40)'
# cs-theme-default-font-primary: '#222222'
cs-theme-default-font-primary: '#555555'
cs-theme-default-font-secondary: 'var(--cs-orange-darken-30)'
cs-theme-default-background-primary: 'var(--cs-theme-default-base)'
cs-theme-default-background-secondary: '#bfbebe'
cs-theme-default-icon-primary: 'var(--cs-grey-base)'
adc-wheat: '#e5d7b9'
adc-whitesmoke: '#edf4f6'
md-grey-0: '#FFFFFFF'
md-grey-30: '#FCFCFC'
# cs-grey-lighten-50: '#FAFAFA'
# cs-grey-lighten-40: '#F5F5F5'
# cs-grey-lighten-38: '#F3F3F3'
# cs-grey-lighten-35: '#F0F0F0'
# cs-grey-lighten-30: '#EEEEEE'
# cs-grey-lighten-20: '#E0E0E0'
# cs-grey-lighten-10: '#BDBDBD'
# cs-grey-base: '#9E9E9E'
# cs-grey-darken-10: '#757575'
# cs-grey-darken-20: '#616161'
# cs-grey-darken-30: '#424242'
# cs-grey-darken-35: '#303030'
# cs-grey-darken-40: '#212121'
# cs-grey-darken-45: '#111111'
cs-grey-lighten-50: '#edf4f6'
cs-grey-lighten-40: '#edf4f6'
cs-grey-lighten-38: '#edf4f6'
cs-grey-lighten-35: '#edf4f6'
cs-grey-lighten-30: '#edf4f6'
cs-grey-lighten-20: '#edf4f6'
cs-grey-lighten-10: '#edf4f6'
cs-grey-base: '#A2A9AB'
cs-grey-darken-10: '#e5d7b9'
cs-grey-darken-20: '#e5d7b9'
cs-grey-darken-30: '#e5d7b9'
cs-grey-darken-35: '#e5d7b9'
cs-grey-darken-40: '#212121'
cs-grey-darken-45: '#e5d7b9'
cs-black: '#222222'
cs-white: '#FFFFFF'
##
# Card colors per state. Used by buttons, lights and mini graph cards for instance
#
# In this way, we can 'theme' all the states and use a generic template (button for instance) for the states.
#
# Card with state Not Applicable, ie no state!
# - background is opaque white with 20% transparancy, so blends well with choosen dark background
# By using a transparent color instead of an opaque setting, the text remains readable!
#
theme-button-card-color-state-na: 'var(--paper-card-background-color)'
theme-button-icon-color-state-na: 'var(--secondary-text-color)'
theme-button-text-color-state-na: 'var(--primary-text-color)'
theme-button-area-color-state-na: 'var(--primary-text-color)'
theme-button-label-color-state-na: 'var(--primary-text-color)'
theme-button-lock-color-state-na: 'var(--primary-text-color)'
theme-button-name-color-state-na: 'var(--primary-text-color)'
theme-button-state-color-state-na: 'var(--primary-text-color)'
# Card with state = 'on'
theme-button-card-color-state-on: 'var(--paper-card-background-color)'
theme-button-area-color-state-on: 'var(--primary-text-color)'
# As per the button documentation, the button will set the color of the icon according to the light value
# Does not work always strange enough when set from the light template?!?
theme-button-icon-color-state-on: 'var(--paper-item-icon-active-color)'
theme-button-label-color-state-on: 'var(--primary-color)'
theme-button-lock-color-state-on: 'var(--primary-text-color)'
theme-button-name-color-state-on: 'var(--primary-text-color)'
theme-button-state-color-state-on: 'var(--primary-color)'
#'var(--cs-orange-darken-40)'
# Card with state = 'off'
theme-button-card-color-state-off: 'var(--paper-card-background-color)'
theme-button-area-color-state-off: 'var(--cs-grey-base)'
theme-button-icon-color-state-off: 'var(--cs-grey-base)'
theme-button-label-color-state-off: 'var(--cs-grey-base)'
theme-button-lock-color-state-off: 'var(--cs-grey-base)'
theme-button-name-color-state-off: 'var(--cs-grey-base)'
theme-button-state-color-state-off: 'var(--cs-grey-base)'
# Card with fake state 'menu'. This is injected using a fake entity, input_select: ismenu, with an initial state of 'menu'
#theme-button-card-color-state-menu: 'rgba(255, 255, 255, 0.11)'
theme-button-card-color-state-menu: 'rgba(255, 255, 255, 0.0)'
theme-button-area-color-state-menu: 'var(--cs-grey-lighten-50)'
theme-button-icon-color-state-menu: 'var(--adc-wheat)'
#'var(--secondary-text-color)'
theme-button-label-color-state-menu: 'var(--primary-text-color)'
theme-button-lock-color-state-menu: 'var(--primary-text-color)'
theme-button-name-color-state-menu: 'var(--primary-text-color)'
theme-button-state-color-state-menu: 'var(--primary-text-color)'
theme-button-card-color-state-undefined: 'var(--paper-card-background-color)'
theme-button-area-color-state-undefined: 'var(--cs-grey-base)'
theme-button-icon-color-state-undefined: 'var(--cs-grey-base)'
theme-button-label-color-state-undefined: 'var(--cs-grey-base)'
theme-button-lock-color-state-undefined: 'var(--cs-grey-base)'
theme-button-name-color-state-undefined: 'var(--cs-grey-base)'
theme-button-state-color-state-undefined: 'var(--cs-grey-base)'
theme-button-card-color-state-unavailable: 'var(--paper-card-background-color)'
theme-button-area-color-state-unavailable: 'var(--cs-grey-base)'
theme-button-icon-color-state-unavailable: 'var(--cs-grey-base)'
theme-button-label-color-state-unavailable: 'var(--cs-grey-base)'
theme-button-lock-color-state-unavailable: 'var(--cs-grey-base)'
theme-button-name-color-state-unavailable: 'var(--cs-grey-base)'
theme-button-state-color-state-unavailable: 'var(--cs-grey-base)'
theme-button-card-color-state-idle: 'rgba(255, 251, 239, 0.7)'
theme-button-area-color-state-idle: 'var(--cs-grey-lighten-50)'
theme-button-icon-color-state-idle: 'var(--cs-grey-lighten-50)'
theme-button-label-color-state-idle: 'var(--cs-grey-lighten-50)'
theme-button-lock-color-state-idle: 'var(--cs-grey-lighten-50)'
theme-button-name-color-state-idle: 'var(--cs-grey-lighten-50)'
theme-button-state-color-state-idle: 'var(--cs-grey-lighten-50)'
# Card with alarm state 'pending'
theme-button-card-color-state-pending: 'rgba(255, 251, 239, 1.0)'
theme-button-area-color-state-pending: 'var(--cs-black)'
theme-button-icon-color-state-pending: 'red'
theme-button-icon-animation-state-pending: 'blink 1s ease infinite'
theme-button-label-color-state-pending: 'var(--cs-orange-darken-40)'
theme-button-lock-color-state-pending: 'var(--cs-black)'
theme-button-name-color-state-pending: 'var(--cs-black)'
theme-button-state-color-state-pending: 'var(--cs-orange-darken-40)'
# Card with alarm state 'disarmed'
#theme-button-card-color-state-disarmed: 'rgba(255, 251, 239, .2)'
theme-button-card-color-state-disarmed: 'var(--paper-card-background-color)'
theme-button-area-color-state-disarmed: 'var(--cs-grey-base)'
theme-button-icon-color-state-disarmed: 'green'
theme-button-label-color-state-disarmed: 'var(--cs-grey-base)'
theme-button-lock-color-state-disarmed: 'var(--cs-grey-base)'
theme-button-name-color-state-disarmed: 'var(--cs-grey-base)'
theme-button-state-color-state-disarmed: 'var(--cs-grey-base)'
# Card with alarm state 'armed_home'
theme-button-card-color-state-armed_home: 'rgba(255, 251, 239, 1.0)'
theme-button-area-color-state-armed_home: 'var(--cs-black)'
theme-button-icon-color-state-armed_home: 'red'
theme-button-icon-animation-state-armed_home: 'blink 2s ease infinite'
theme-button-label-color-state-armed_home: 'var(--cs-orange-darken-40)'
theme-button-lock-color-state-armed_home: 'var(--cs-black)'
theme-button-name-color-state-armed_home: 'var(--cs-black)'
theme-button-state-color-state-armed_home: 'var(--cs-orange-darken-40)'
# Card with alarm state 'armed_away'
theme-button-card-color-state-armed_away: 'rgba(255, 251, 239, 1.0)'
theme-button-area-color-state-armed_away: 'var(--cs-black)'
theme-button-icon-color-state-armed_away: 'red'
theme-button-icon-animation-state-armed_away: 'blink 2s ease infinite'
theme-button-label-color-state-armed_away: 'var(--cs-orange-darken-40)'
theme-button-lock-color-state-armed_away: 'var(--cs-black)'
theme-button-name-color-state-armed_away: 'var(--cs-black)'
theme-button-state-color-state-armed_away: 'var(--cs-orange-darken-40)'
#
# Theming for the custom:mini-graph-card
#
theme-graph-card-color: 'var(--paper-card-background-color)'
theme-graph-icon-color: 'var(--secondary-text-color)'
theme-graph-text-color: 'var(--cs-grey-lighten-50)'
## custom:thermostat-card settings
#
theme-thermostat-text-color: 'var(--primary-text-color)'
theme-thermostat-off-fill: 'var(--primary-background-color)'
theme-thermostat-cool-fill: '#007AF1'
theme-thermostat-heat-fill: '#E36304'
theme-thermostat-path-color: 'var(--adc-wheat)'
#'rgba(255,255,255, 0.3)'
theme-thermostat-path-active-color: 'rgba(255,255,255, 0.8)'
theme-thermostat-path-active-color-large: 'rgba(255,255,255, 1.0)'
theme-thermostat-path-heat-color: 'rgba(255,255,255,0.4)'
## Use rgba instead of rgb with opacity to have text still visible, instead of opaque!!
# Below color is #FFFBEF, a very light gradient of some orange stuff.
# See also here: https://convertingcolors.com/rgb-color-255_251_239.html
#
# Theming for custom:simple-weather-card
theme-weather-day-color: 'var(--paper-card-background-color)'
theme-weather-night-color: 'var(--paper-card-background-color)'
theme-weather-text-color: 'var(--cs-grey-lighten-50)'
upcoming-color: black
##
# Main colors of Home Assistant
# Base colors...
primary-color: 'var(--cs-theme-default-primary)'
accent-color: 'var(--cs-theme-default-accent)'
dark-primary-color: 'var(--cs-theme-default-primary-dark)'
light-primary-color: 'var(--cs-theme-default-primary-light)'
# Text colors
primary-text-color: 'var(--cs-theme-default-font-primary)'
text-primary-color: 'var(--cs-theme-default-font-primary)'
secondary-text-color: 'var(--cs-theme-default-font-secondary)'
# 2020.09.25 Set disabled text color to some slate color, not grey!
# disabled-text-color: 'var(--cs-grey-darken-10)'
disabled-text-color: 'var(--cs-theme-default-darken-10)'
label-badge-border-color: 'var(--cs-theme-default-lighten-50)'
# Sidebar
sidebar-icon-color: 'var(--cs-grey-lighten-1)'
# Background colors
# Primary is background, secondary is for menu
primary-background-color: 'var(--cs-theme-default-background-primary)'
secondary-background-color: 'var(--cs-theme-default-background-secondary)'
divider-color: 'rgba(229, 215, 185, .25)'
table-row-background-color: 'rgba(22, 25, 26, .11)'
table-row-alternative-background-color: 'rgba(22, 25, 26, .05)'
# Nav Menu
# Nav Menu background is listbox-background-color. A bit lighter than the primary background
paper-listbox-color: 'var(--primary-text-color)'
paper-listbox-background-color: 'var(--cs-theme-default-background-primary)'
paper-grey-50: 'var(--primary-text-color)'
paper-grey-200: 'var(--cs-theme-default-background-secondary)'
# Paper card
# Colors for the ha-cards
# Paper card background color is on primary-background-color
paper-card-header-color: 'var(--light-primary-color)'
# 2020.09.23
# The latest versions of hass us this color also for popup and overlay windows.
# This means you can't use rgba colors, as the background is visible
# Using a color picker with the rgba color, results in rgb(82,95,98).
#paper-card-background-color: 'rgba(255, 255, 255, 0.07)'
paper-card-background-color: 'var(--cs-theme-default-background-primary)'
# Used to be fixed:
# paper-dialog-background-color: 'rgba(255, 255, 255, 0.09)'
paper-dialog-background-color: 'var(--cs-theme-default-background-primary)'
# paper-item-icon-color: 'var(--primary-text-color)'
paper-item-icon-color: '#555555'
paper-item-icon-active-color: 'var(--primary-color)'
paper-item-icon_-_color: 'var(--secondary-text-color)'
paper-item-selected_-_background-color: 'var(--cs-theme-default-darken-20)'
paper-tabs-selection-bar-color: 'var(--secondary-text-color)'
# Labels
label-badge-red: 'var(--primary-color)'
label-badge-text-color: 'var(--primary-text-color)'
# Find name of text on label. It is not the previous one label-badge-text-color... That is the value of the badge.
ha-label-badge-label-color: 'var(--cs-grey-darken-40)'
#label-badge-background-color: 'var(--cs-grey-darken-40)'
# Switches
paper-toggle-button-checked-button-color: 'var(--light-primary-color)'
paper-toggle-button-checked-bar-color: 'var(--light-primary-color)'
paper-toggle-button-checked-ink-color: 'var(--light-primary-color)'
paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)'
paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)'
paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)'
# Sliders
paper-slider-knob-color: 'var(--light-primary-color)'
paper-slider-knob-start-color: 'var(--light-primary-color)'
paper-slider-pin-color: 'var(--light-primary-color)'
paper-slider-active-color: 'var(--light-primary-color)'
paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat'
paper-slider-secondary-color: 'var(--secondary-background-color)'
paper-slider-disabled-active-color: 'var(--disabled-text-color)'
paper-slider-disabled-secondary-color: 'var(--disabled-text-color)'
# Google colors
google-red-500: 'var(--dark-primary-color)'
google-green-500: 'var(--light-primary-color)'
#Changes to fix history/logbook menus
lumo-primary-text-color: 'var(--light-primary-color)'
lumo-secondary-text-color: 'var(--light-primary-color)'
lumo-primary-color: 'var(--light-primary-color)'
#Calendar day numbers
lumo-body-text-color: 'var(--light-primary-color)'
#Calendar/Date-Picker Background
lumo-base-color: 'var(--primary-background-color)'
#Month/Year header
lumo-header-text-color: 'var(--lumo-body-text-color)'
#DayOfWeek Header
lumo-tertiary-text-color: 'var(--lumo-body-text-color)'
lumo-shade: 'var(--cs-theme-default-darken-10)'
lumo-shade-90pct: 'rgba(31, 41, 43, .9)'
lumo-shade-80pct: 'rgba(31, 41, 43, .8)'
lumo-shade-70pct: 'rgba(31, 41, 43, .7)'
lumo-shade-60pct: 'rgba(31, 41, 43, .6)'
lumo-shade-50pct: 'rgba(31, 41, 43, .5)'
lumo-shade-40pct: 'rgba(31, 41, 43, .4)'
lumo-shade-30pct: 'rgba(31, 41, 43, .3)'
lumo-shade-20pct: 'rgba(31, 41, 43, .2)'
lumo-shade-10pct: 'rgba(31, 41, 43, .1)'
lumo-shade-5pct: 'rgba(31, 41, 43, .05)'
lumo-tint-5pct: 'var(--cs-theme-default-darken-10)'
# fix for device configuration screen
card-background-color: "var(--paper-card-background-color)"
# Fix for Person Device Chooser - thanks to vajonam!
material-background-color: "var(--paper-listbox-background-color)"
material-secondary-background-color: 'var(--secondary-background-color)' #'#222222'
material-body-text-color: '#FFFFFF'
# simple-thermostat buttons
st-mode-background: 'var(--primary-background-color)'
# fix white on white markdown code sections (eg. the addons infos)
markdown-code-background-color: 'var(--secondary-background-color)'