Wendelin
3058fcad46
Use ha-font-size typography css tokens ( #25361 )
2025-05-09 13:47:25 +02:00
Wendelin
ba4ec960c8
Use ha-font-weight typography css tokens ( #25374 )
...
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com >
2025-05-08 15:11:53 +00:00
Wendelin
e703750136
Add and fix stylistic eslint rules ( #23735 )
...
* Fix stylistic eslint rules
* Fix eslint issues
2025-01-14 21:00:14 +01:00
Wendelin
830d8d2410
Add type import check to eslint ( #22488 )
...
* Add type import check to eslint
* Add type imports with eslint --fix
2024-10-30 11:12:30 +00:00
Simon Lamon
e16e851952
Fix invalid var references ( #22482 )
...
* var-fixes
* Prettier
2024-10-23 09:58:32 +02:00
Adam Kapos
bf176ac314
Make it possible for themes to blur backgrounds ( #20447 )
...
* Make it possible for themes to blur card backgrounds
* Make it possible for themes to blur dialog backgrounds
* Add ha prefix
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
* Rename dialog-backdrop-filter to ha-dialog-scrim-backdrop-filter
With backwards compatibility
* Run prettier
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
2024-04-10 11:37:35 +02:00
Steve Repsher
9ce4563dd4
Prefer nothing over empty templates ( #15633 )
2023-02-28 11:02:47 +01:00
Paul Bottein
57291183ca
update border radius to 12px ( #14201 )
2022-10-26 16:54:05 +00:00
Paul Bottein
7e6a9f1653
Remove box shadow for ha-card ( #14063 )
...
* Remove box shadow for ha-card
* add raised style in case of raised card needed
* add box-sizing: border-box
* Allow box-shadow theming
* Restore box-shadow theme in date range picker
* Restore hui unused entities card box shadow none
* Apply suggestions from code review
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
2022-10-17 10:20:11 +02:00
Bram Kragten
bc92c0b052
Upgrade to Lit 2 ( #9199 )
2021-05-18 07:37:53 -07:00
Bram Kragten
9f032a61a9
Add compatibility for Lit 2.0 ( #8878 )
2021-05-07 13:16:14 -07:00
Philip Allgaier
7e769d0e14
Make <ha-card> use <h1> for header ( #7373 )
...
Co-authored-by: Zack Barett <zackbarett@hey.com >
2020-10-17 23:22:56 +02:00
Kendell R
458ab9b1e0
Add --ha-card-border-width ( #7021 )
2020-09-28 13:08:57 +02:00
Bram Kragten
4ca13c409b
Introduce dark mode and primary color picker ( #6430 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2020-08-03 02:07:12 +02:00
Bram Kragten
41370be2b8
Rewrite gauge ( #6407 )
2020-07-16 08:42:14 -07:00
Bram Kragten
98656b0044
Little clean up ( #6377 )
2020-07-14 09:20:15 -07:00
Bram Kragten
61fdab294a
Fix ha-card outline box shadow in firefox ( #6174 )
...
* Fix ha-card outline box shadow in firefox
* Add fallback for markdown code background
2020-06-16 13:29:38 -07:00
Bram Kragten
26a87e9280
Changes ha-card to new material design rules ( #6137 )
2020-06-10 12:01:37 +02:00
Bram Kragten
82f80db558
Update typescript, prettier, tslint -> eslint ( #5536 )
...
* Update typescript, prettier, tslint -> eslint
* Organize imports
* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Paulus Schoutsen
814fcf63a8
Fix cardHeight ( #5102 )
...
* Fix cardHeight
* Opacity instead of changing DOM
* Better fix
* Remove guard we don't need
2020-03-08 09:42:59 -07:00
Thomas Lovén
1223766523
ha-card migration. Step #0 : improvements to ha-card. ( #3144 )
...
* Improvements to ha-card. Better paper-card compatibility
* Remove named slots
* Tweak distance between header and contents
* Further css tweaking
2019-05-07 09:24:39 -07:00
Thomas Lovén
d8f21d99af
Use named slots to have advanced ha-card headers ( #3127 )
...
* Use named slots to have advanced ha-card headers
* Fix header text color
2019-04-29 11:31:27 -07:00
Thomas Lovén
bed257a4eb
Add ha-card-box-shadow css variable for themeing ( #2855 )
2019-02-27 11:30:03 -08:00
Thomas Lovén
3ca842187a
Convert ha-card to LitElement and TypeScript ( #2701 )
...
* Convert ha-card to LitElement and TypeScript
* CSS away the header instead
* Travis fixes
* Remove duplicate styles
2019-02-13 11:16:01 -08:00