-
Hi, I'm really enjoying learning floorplan and have come a long way considering that I have 0 coding experience and have never touched CSS before. The examples and help i've received have been really useful. I'm nearly at a point where I am happy with my floorplan but i'm missing one final feature - matching the light of my rgbw smart bulbs to the floorplan as in the 'lights' example on the wiki. I've copied over the code and the solid colour matches the state of the bulb. However, the gradient does not change: I figure it must be something wrong with the SVG but i'm struggling to understand what I'm missing. I've uploaded a slightly edited version of my SVG (just to remove some personal details) and the relevant yaml section to the repository linked below: https://github.com/RossP4ge/floorplan_help The lights in question are the ones with a blue circle with a red gradient, the other ones are not of the same type. Oh and also if someone has a method of altering the light 'off' colour and opacity that would be super useful too! I'd really appreciate some help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
So the mistake I was making was not naming the gradient 'stop values' in inkscape using the XML editor. |
Beta Was this translation helpful? Give feedback.
So the mistake I was making was not naming the gradient 'stop values' in inkscape using the XML editor.