[v2.3.0-beta.1] Question re Global CSS #795
Unanswered
willliamchan
asked this question in
Questions about config, custom styles and templates
Replies: 3 comments 2 replies
-
Hi, I will probably not add that possibility, just because it would need some more JS code that could potentially slow down the code for a too small use case. But you can create these variables yourself in your custom styles. For example:
Then define this variable in your theme file. This need some manual work but it allows you to change them easily after that. |
Beta Was this translation helpful? Give feedback.
1 reply
-
By any chance you can make a full example? Maybe another YouTube video for that later.
No rush at all of coz I am fully set for my dashboard, just thinking of ways to optimise them when thing change.
…________________________________
From: Cloos ***@***.***>
Sent: Monday, September 16, 2024 12:45 pm
To: Clooos/Bubble-Card ***@***.***>
Cc: willliamchan ***@***.***>; Author ***@***.***>
Subject: Re: [Clooos/Bubble-Card] [v2.3.0-beta.1] Question re Global CSS (Discussion #795)
Hi, I will probably not add that possibility, just because it would need some more JS code that could potentially slow down the code for a too small use case.
But you can create these variables yourself in your custom styles. For example:
.bubble-icon-container {
background: var(--bubble-lock-icon-color) !important;
}
Then define this variable in your theme file.
This need some manual work but it allows you to change them easily after that.
—
Reply to this email directly, view it on GitHub<#795 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANBLBDKOQVRF3K6JMTMI4UDZW3AHDAVCNFSM6AAAAABOITYOZCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRVHA3DEOA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
That would be very helpful!
…________________________________
From: Cloos ***@***.***>
Sent: Monday, September 16, 2024 12:55:45 PM
To: Clooos/Bubble-Card ***@***.***>
Cc: willliamchan ***@***.***>; Author ***@***.***>
Subject: Re: [Clooos/Bubble-Card] [v2.3.0-beta.1] Question re Global CSS (Discussion #795)
My next video will be about custom styles, I will try to add this example in it 🙂
—
Reply to this email directly, view it on GitHub<#795 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANBLBDJDHLC2T2H3BZSE6KTZW3BMDAVCNFSM6AAAAABOITYOZCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRVHA3TMOI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Clooos
Before we move forward, can I check if there is any plan to make Global CSS support per domain (entity type)?
I am dreaming that I can define CSS per type at some point like one set of CSS for lock, another set of CSS for blind... etc.
Cheers
W
Beta Was this translation helpful? Give feedback.
All reactions