naofireblade / clear-theme Goto Github PK
View Code? Open in Web Editor NEWClear Theme for Home Assistant
License: MIT License
Clear Theme for Home Assistant
License: MIT License
Hi this is a very nice theme however, after installation I get this error in my HA-log:
2019-12-30 23:10:20 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.DataError) (1406, "Data too long for column 'event_data' at row 1") [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (%s, %s, %s, %s, %s, %s, %s)] [parameters: ('themes_updated', '{"themes": {"clear-dark": {"lovelace-background": "center / cover no-repeat url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QBmRXhpZgAATU0AKg ... (154944 characters truncated) ... lor)", "hacs-status-pending-restart": "var(--text-dark-color)", "hacs-status-pending-update": "var(--accent-color)"}}, "default_theme": "clear-dark"}', 'LOCAL', datetime.datetime(2019, 12, 30, 22, 10, 7, 375578, tzinfo=<UTC>), datetime.datetime(2019, 12, 30, 22, 10, 20, 878159), '5e4a3fe3ef5e4e6e90092e748cb04a5c', None)] (Background on this error at: http://sqlalche.me/e/9h9h) 2019-12-30 23:10:20 ERROR (Recorder) [homeassistant.components.recorder] Error saving event: <Event themes_updated[L]: themes=clear-dark=lovelace-background=center / cover no-repeat url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QBmRXhpZgAATU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAAExAAIAAAAQAAAATgAAAAAAAABgAAAAAQAAAGAAAAABcGFpbnQubmV0IDQuMS41AP/
For some reason the recorder wants to insert the whole theme. Do you know how to exclude themes from the recorder?
I am using a custom background that uses custom images. I would like an option to add transparency to cards, while keeping the rest of the colour set of this theme.
I use to fudge it by changing the variable for background-card-color: 'rgba(255,255,255,1)' # Grey background
By changing that last 1 to say 0.7 or 0.8 use to give just enough transparency. This still works with the Clear-Dark theme, that I use after sunset, but on the "Clear" theme, that transparency value is now totally ignored.
Any chance of checking this, or adding an official way to set transparency?
Edit: I guess this is partly a "bug" and partly a feature request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.