Skip to content

Commit

Permalink
feat: use unminified script
Browse files Browse the repository at this point in the history
  • Loading branch information
agrmohit committed Sep 5, 2024
1 parent be47f7f commit e86d4e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# agrmohit.com

This website is hosted on <https://agrmohit.com> using GitHub Pages
1 change: 0 additions & 1 deletion assets/js/css-global-variables.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion assets/js/script-theme.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// import "./css-global-variables.min.js";
// Commented since it is currently imported in html globally
const cssVar = CSSGlobalVariables();
const cssVar = new CSSGlobalVariables();

// Theme 'undefined' is 'auto'
const themeList = ["auto", "light", "dark"];
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</style>
<link rel="stylesheet" href="/assets/css/style.css" />

<script defer type="module" src="/assets/js/css-global-variables.min.js"></script>
<script defer type="module" src="/assets/js/css-global-variables.js"></script>
<script defer type="module" src="/assets/js/script-theme.js"></script>
<script defer type="module" src="/assets/js/script-stars.js"></script>

Expand Down

0 comments on commit e86d4e8

Please sign in to comment.