Skip to content

Commit

Permalink
Published style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Mar 12, 2024
1 parent 4599d4c commit a151869
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 356 deletions.
14 changes: 9 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@
<meta name="twitter:domain" content="tylergordonhill.com" />

<!-- Link Tags -->
<link rel="icon" href="password-generator/tabicon.png" />
<link href="https://tylergordonhill.com/global.css" rel="stylesheet" type="text/css" />
<link href="password-generator/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="/password-generator/tabicon.png" />
<link href="/style-guide/style.css" rel="stylesheet" type="text/css" />
<link href="/style-guide/header/style.css" rel="stylesheet" type="text/css" />
<link href="/style-guide/inputs/style.css" rel="stylesheet" type="text/css" />
<link href="/style-guide/inputs/featured/style.css" rel="stylesheet" type="text/css" />
<link href="/style-guide/footer/style.css" rel="stylesheet" type="text/css" />
<link href="/password-generator/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
Expand Down Expand Up @@ -91,7 +95,7 @@ <h2 id="title">Password Generator</h2>

<script src="https://www.gstatic.com/firebasejs/10.1.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.1.0/firebase-analytics-compat.js"></script>
<script src="https://tylergordonhill.com/global.js"></script>
<script src="password-generator/script.js"></script>
<script src="/style-guide/script.js"></script>
<script src="/password-generator/script.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Tab Icon */

if (window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches) {
document.querySelector('link[rel="icon"]').href = 'password-generator/tabicon-light.png';
document.querySelector('link[rel="icon"]').href = '/password-generator/tabicon-light.png';
}

/* Constants */
Expand Down
Loading

0 comments on commit a151869

Please sign in to comment.