Skip to content

Commit b1af93b

Browse files
committed
fix(docs): fix theme flash script and remove unused public/index.html
- Fix data-theme -> data-tiny-theme in the flash-prevention script - Delete public/index.html (leftover from CRA, unused by Vite)
1 parent c491e61 commit b1af93b

2 files changed

Lines changed: 1 addition & 27 deletions

File tree

apps/docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
(function() {
1717
var theme = localStorage.getItem('ty-theme');
1818
if (theme === 'dark' || theme === 'light') {
19-
document.documentElement.setAttribute('data-theme', theme);
19+
document.documentElement.setAttribute('data-tiny-theme', theme);
2020
}
2121
})();
2222
</script>

apps/docs/public/index.html

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)