Comments (9)
@sotima @totalitarian you should be able to change icon size with mushroom 1.8.1.
For example:
Mushroom:
mush-chip-icon-size: 0.6em
mush-chip-font-size: 0.4em
mush-icon-size: 54px
modes:
light: {}
dark: {}
from lovelace-mushroom-themes.
There is a PR (work in progress) for that : piitaya/lovelace-mushroom#423
But for now, you can define --icon-size
using card_mod :
type: custom:mushroom-entity-card
entity: light.kitchen_light
card_mod:
style: |
ha-card {
--icon-size: 54px;
}
from lovelace-mushroom-themes.
Will try this as soon as possible! Thanks a lot!
from lovelace-mushroom-themes.
I'd love this too
from lovelace-mushroom-themes.
Works as described. Many thanks!
Is it possible to only apply this to certain cards though? I only want to change the icon size for 2 out of 5 cards on a view...
from lovelace-mushroom-themes.
Superstar! One last question if I may... How to remove the blue circle but keep the icon?
from lovelace-mushroom-themes.
We can't but you're not the first to ask it. Maybe we can add an icon-shape-opacity
variable to allow user to hide the circle by setting icon-shape-opacity: 0
😅
from lovelace-mushroom-themes.
We can't but you're not the first to ask it. Maybe we can add an
icon-shape-opacity
variable to allow user to hide the circle by settingicon-shape-opacity: 0
😅
That would be great!
from lovelace-mushroom-themes.
There is a PR (work in progress) for that : piitaya/lovelace-mushroom#423
But for now, you can define
--icon-size
using card_mod :type: custom:mushroom-entity-card entity: light.kitchen_light card_mod: style: | ha-card { --icon-size: 54px; }
I tried this but I get this error.
Visual editor is not supported for this configuration:
At path: card_mod -- Expected a value of type never
, but received: [object Object]
type: custom:mushroom-entity-card
entity: switch.mae_fan
card_mod:
style: |
ha-card {
--icon-size: 54px;
}
You can still edit your config in YAML.
from lovelace-mushroom-themes.
Related Issues (20)
- [Bug]: 0.0.5 dont apply on hass 2022.10.5 HOT 3
- Unable to install
- Attempting to install/download however it issues an error stating that it requires 2022.11? Selecting "download" goes into endless wait.
- 0.0.6 requires pre release version of home assistant HOT 2
- can't install because is asking for 2022.11.0b0 to be installed HOT 1
- Sudden appearance of chip border after update 2.2.0 HOT 2
- Ability to keep changes after update HOT 2
- New Theme (Mix of themes) Square theme with round Icons HOT 1
- HA 10.11 Borders HOT 1
- Chip Outline HOT 3
- 2022.12.0 - Climate Card HOT 1
- dashboard header color
- Mushroom Entity Card: Default color differs HOT 4
- Latest update crashed all cards on Samsung Fridge HOT 1
- Climate Card Increment Area Font Size Question
- Add markdown support to Title card HOT 1
- Map background to dark HOT 4
- Change background color for number card HOT 1
- custom element doesn't exist: mushroom-chip-card HOT 1
- Shape Icon Colors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-mushroom-themes.