Commit Graph
36 Commits
Author SHA1 Message Date
Kognise d785c31c8b Style changes 2020-10-02 17:35:01 +00:00
Duy K. Bui f89b85b65e feat: Add <dialog> support 2020-10-02 13:08:57 -04:00
Felix f19031a071 Update file size 2020-05-31 19:55:00 -05:00
Felix 95296ac857 Update file sizes 2020-05-29 22:26:32 -05:00
Jonas Kuske 827691d551 fix: allow overriding product hunt theme 2020-05-30 05:16:45 +02:00
Jonas Kuske 4af11172f1 feat: remove misleading note about browser support 2020-05-30 04:46:54 +02:00
Jonas Kuske c938689a7e feat: wire up copy button 2020-05-30 04:27:57 +02:00
Jonas Kuske 24ac400205 feat: add transitions for the code snippets 2020-05-30 03:58:04 +02:00
Jonas Kuske f8c095827b fix: always update product hunt on theme change
If the selected (forced) theme was different from the system preference
and then switches back to auto, need to reset the product hunt theme too
2020-05-30 03:00:15 +02:00
Jonas Kuske aff527a791 docs: correctly document default theme as "light" 2020-05-30 02:46:17 +02:00
Jonas Kuske 3a3762ff9e feat: turn "prefers-color-scheme" into link to MDN 2020-05-30 02:45:37 +02:00
Jonas Kuske 4b75b3aeb6 fix: update code to support IE & Edge Legacy 2020-05-30 02:42:08 +02:00
Jonas Kuske 68834efd73 refactor: remove old versionpicker code 2020-05-30 02:21:34 +02:00
Felix afe8880a0f Update product hunt badge 2020-05-28 14:54:07 -05:00
Felix 7e4251f5c1 Update docs pt.1 2020-05-28 14:40:02 -05:00
Felix 73143be201 Update cdn urls 2020-05-27 18:29:52 -05:00
Felix 332e8cea03 Linting, so much linting
I installed and configured stylelint and eslint, and added an editorconfig as well as a vscode recommended extensions file.

The reason the diff is so large is I ran the linters and fixed all the linting issues.
2020-05-27 13:09:20 -05:00
Jonas Kuske a1be24b96b feat: output styles to docs, so site can use them 2019-06-09 16:17:24 +02:00
Jonas Kuske 78221f471c feat: use ESM version of favicon-mode-switcher 2019-06-09 15:27:36 +02:00
Jonas Kuske 4cf2713004 fix: update css imports to be independent from CDN 2019-06-09 14:27:34 +02:00
Jonas Kuske eca4067fb0 feat: show when theme is overwritten by prefers-color-scheme 2019-06-09 01:56:38 +02:00
Jonas Kuske 491e554784 fix: restore <details> styling in Firefox
only remove startup stylesheet on first JS style load
2019-06-09 00:06:01 +02:00
Jonas Kuske cd15e37177 fix: update regex so only valid themes in URL params are used 2019-06-08 23:14:51 +02:00
Jonas Kuske d0ca9554f0 fix: update icon hrefs for dark mode icons 2019-06-08 22:31:40 +02:00
Jonas Kuske 758cd36841 feat: update so branch base matches current master 2019-06-08 21:35:56 +02:00
Jonas Kuske 2bd0bdd22e feat: remove fallback once dynamic copy is loaded
+ legacy option defaults to true when opened in legacy browsers
2019-06-08 21:21:04 +02:00
Jonas Kuske 2216b32f09 feat: allow version select via URL query params 2019-06-08 21:20:32 +02:00
Jonas Kuske ba843037d0 refactor: add proper typing 2019-06-08 21:19:33 +02:00
Jonas Kuske 75f9280dab fix: replace <br /> with padding-top
+ prevent potential error in getFileSize()
2019-06-08 21:19:33 +02:00
Jonas Kuske 264b958a84 fix: use toFixed() to prevent sizes with many decimals 2019-06-08 21:19:32 +02:00
Jonas Kuske 3ced8a8ded fix: determine correct alternate theme in getFileSnippet 2019-06-08 21:19:32 +02:00
Jonas Kuske 033390881e feat: add build step for docs, minor improvements 2019-06-08 21:19:28 +02:00
Jonas Kuske 234152f181 feat: add new installation guide, move to docs/ 2019-06-08 21:18:43 +02:00
Kognise 901f911ea9 Move demo out of docs folder 2019-04-05 12:47:56 -04:00
Kognise 5ae08050ad Update theme switching code 2019-04-05 09:21:05 -04:00
Kognise aabd59c3ea Add theme switcher 2019-04-05 09:09:13 -04:00