Commit Graph

87 Commits (84b2005844bc95757464cb15248c702a1d92e8c9)

Author SHA1 Message Date
Joakim Sørensen 47e9531972
Use media query for darkmode on login and onboarding (#6625)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-08-24 18:29:16 +02:00
Joakim Sørensen 271eb614cd
Use primary-background-color when it exists (#6594) 2020-08-11 13:22:46 +02:00
Joakim Sørensen 49683326e6
Reorder to not break jinja templates (#6564) 2020-08-07 15:59:22 +02:00
Joakim Sørensen 16b8b6698c
Fixes display issues with the new darkmode (#6532)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-08-06 17:51:14 +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 ca4f573be0
Add support for safe area insets (#6473) 2020-07-30 18:27:27 +02:00
Paulus Schoutsen 454ddf366a
Use dynamic import for cast/demo to show latest build (#6202) 2020-06-22 10:24:54 -07:00
Paulus Schoutsen 8c0c0592e2
Move Jinja directives to own script block (#6166) 2020-06-15 16:18:58 +02:00
Paulus Schoutsen d6c85719c9
Fix preload Roboto on older devices (#6165) 2020-06-14 21:08:10 -07:00
Paulus Schoutsen 67ac3b4ba3
Drop Custom Elements ES5 adapter (#6107) 2020-06-05 11:04:19 +02:00
Paulus Schoutsen 6c8aedfb8b
Fix feature detection for module browsers that do not support dynamic… (#6069) 2020-05-28 12:28:58 -07:00
Paulus Schoutsen aa9a354746
Preload (#6062) 2020-05-27 12:54:52 -07:00
Paulus Schoutsen 050cdf3783
Integrate compatibility into other entrypoints (#6029) 2020-05-25 19:36:22 +02:00
Paulus Schoutsen 7e281f66c2
Rollup (#5995) 2020-05-22 23:05:47 -07:00
Bram Kragten 0a92c28bac
Split up mdi icons (#4379) 2020-05-05 16:40:11 +02:00
Bram Kragten 8f2a7c95b3
Fix more info header color and page background color (#5716) 2020-05-02 19:51:10 +02:00
Bram Kragten 4f70ec7dc2
Set correct lang attribute (#5479)
* Set correct lang attribute

* Update lit-localize-lite-mixin.ts

* Update translations-mixin.ts

* Remove lang=""

* Move logic out of mixin
2020-04-08 12:36:06 +02:00
Paulus Schoutsen 6abbe72e4d
Lovelace cleanups (#3427)
* Improvements

* Add types CAF

* Fix demo switching

* Do not set background color in hui-view
2019-07-26 11:06:16 -07:00
Paulus Schoutsen a59f0086b5
Fix proper script closing tag (#3405) 2019-07-21 12:20:37 -07:00
Paulus Schoutsen f32eb971a4 Properly close script tag 2019-07-21 11:30:57 -07:00
Paulus Schoutsen cdd007cc54
Ensure load order (#3346) 2019-07-10 09:27:25 -07:00
Paulus Schoutsen 2929db5ba4
Fix fonts precaching (#3338)
* Fix font urls

* Don't zopfli nonexisting fonts
2019-07-10 08:18:04 -07:00
Thomas Lovén cbdb222f72 Import extra_html_url using js instead of deprecated link tags (#3288)
* import extra_html_url using js instead of deprecated link tags

* Import modules instead

* Address comment

* Rename variables for es5 scripts

* Address comments
2019-06-21 20:55:53 -07:00
Paulus Schoutsen 98c419ff03
Switch to woff2 fonts (#3296) 2019-06-21 12:48:20 -07:00
Tor Arne Vestbø a396a4e666 Pass credentials (cookies e.g.) when loading JavaScript assets (#3259)
The behavior of 'crossorigin' without a value is the same as
anonymous, which means user credentials such as cookies,
client-side SSL certificates or HTTP authentication will
not be passed on.

We want the preload links to work even when they are behind
a proxy that requires an authentication cookie, such as
Cloudflare Access (CF_Authorization), so we need to explicitly
send credentials with the "use-credentials" value.

ES modules are always fetched with CORS, with anonymous being
the default. Some browsers (Chromium) will realize that the
request is to the same origin, and send credentials anyways,
while others (Safari) will not, so we need to explicitly send
credentials to make sure they load in all cases.

See https://jakearchibald.com/2017/es-modules-in-browsers/
2019-06-10 13:41:59 -07:00
Paulus Schoutsen 82e8ca2754
Alow setting up integrations during onboarding (#3163)
* Allow setting up integrations during onboarding

* Fix compress static

* Don't compress static files in CI

* Remove unused file

* Fix static compress disabled in CI build

* Work with new integration step

* Import fix

* Lint

* Upgrade HAWS to 4.1.1
2019-05-07 22:27:10 -07:00
Paulus Schoutsen 6c41c7b1ab
Gulpify build pipeline (#3145)
* Gulpify build pipeline

* Update build frontend script

* Fixes

* Limit service worker to latest build

* Use shorthand

* Fix hassio build
2019-05-02 11:35:46 -07:00
Robbie Trencheny eaa2ce1462 Ask users if they want to install iOS app (#3100) 2019-04-18 20:54:52 -07:00
Paulus Schoutsen 0c406335f5
Upgrade deps (#3038)
* Upgrade deps

* Revert workbox back to 3

* Fix var name
2019-04-02 12:14:10 -07:00
Paulus Schoutsen 23ca1b972d
Fix router (#2943)
* Fix router

* Fix demo

* Extract update routes

* Lint
2019-03-15 23:15:16 -07:00
Paulus Schoutsen 28d3f445f6 Align theme color 2019-01-23 15:51:56 -08:00
Paulus Schoutsen 22eb6c6a8d Remove special char 2018-11-30 16:24:13 +01:00
Paulus Schoutsen f443942e03
Authorize onboarding (#1603)
* Tweak onboarding + authorize

* Authorize/Onboarding pimp

* More tweaks

* Comments
2018-08-27 22:10:15 +02:00
Paulus Schoutsen 13ff59ec89 Fix hass icons 2018-08-24 21:59:53 +02:00
Paulus Schoutsen a960084438
Include ES5 version of hass-icons (#1574) 2018-08-16 13:39:43 +02:00
Paulus Schoutsen a9f29a3151
Fix custom panel include (#1539) 2018-08-04 15:15:44 +02:00
Paulus Schoutsen 6cbca6d88a
Use webpack plugin to generate HTML (#1521)
* Use webpack plugin to generate HTML

* Generate index.html

* Remove unused packages
2018-07-26 09:30:03 +02:00