Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
font change
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyhuang07 committed Dec 8, 2022
1 parent 3634bfa commit 5f66a30
Show file tree
Hide file tree
Showing 16 changed files with 197 additions and 103 deletions.
Binary file modified assets/favicons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/favicons/browserconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/assets/img/favicons/mstile-150x150.png"/>
<TileColor>#ff0000</TileColor>
<square150x150logo src="/assets/favicons/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file modified assets/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicons/favicon.ico
Binary file not shown.
Binary file modified assets/favicons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
245 changes: 169 additions & 76 deletions assets/favicons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/favicons/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"short_name": "",
"icons": [
{
"src": "/assets/img/favicons/android-chrome-192x192.png",
"src": "/assets/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/assets/img/favicons/android-chrome-512x512.png",
"src": "/assets/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Aldrich&family=JetBrains+Mono&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<link rel="manifest" href="/assets/favicons/site.webmanifest">
<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
<link href="https://fonts.cdnfonts.com/css/whitney-2" rel="stylesheet">
<meta name="apple-mobile-web-app-title" content="Discord Message Formatter">
<meta name="application-name" content="Discord Message Formatter">
<meta name="msapplication-TileColor" content="#ff7700">
Expand All @@ -31,7 +31,7 @@
<h1><span class="date">Discord</span> Formatter!</h1>
</div>
<article>
<select id="dropdown" onchange="dropdown()">
<select id="dropdown" onchange="dropdown()" style="font-size: 1em;">
<option value="text">Regular Text</option>
<option value="color">Colored Text</option>
<option value="time">Timestamp</option>
Expand Down Expand Up @@ -68,8 +68,8 @@ <h2>Options</h2>
<button type="button" id="blue" onclick="blueFn(textArea.value)" style="color: #287AB5;">Blue</button>
<button type="button" id="gray" onclick="grayFn(textArea.value)" style="color: #576D74;">Gray</button>
</div>
<div id="timediv" style="display: none;">
<div style="display: flex; align-items: center;">
<div id="timediv" style="display: none; width: 75%;">
<div style="display: flex; align-items: center; justify-content: space-evenly;">
<div>
<h3>Short Time (t):</h3>
<code id="datet">HH:MM (AM/PM)</code>
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function resetFn() {
textArea.style.fontStyle = "";
textArea.style.textDecoration = "none";
textArea.style.color = "white";
textArea.style.fontFamily = "JetBrains Mono";
textArea.style.fontFamily = "Whitney Book";
boldOn = italOn = underOn = strikeOn = spoilOn = quoteOn = lineOn = blockOn = slashOn = false;
redBtn.style.display = orangeBtn.style.display = yellowBtn.style.display = greenBtn.style.display = turqBtn.style.display = blueBtn.style.display = grayBtn.style.display = "inline-block";
}
Expand All @@ -66,7 +66,7 @@ function rmFn() {
textArea.style.fontStyle = "";
textArea.style.textDecoration = "none";
textArea.style.color = "white";
textArea.style.fontFamily = "JetBrains Mono";
textArea.style.fontFamily = "Whitney Book";
boldOn = italOn = underOn = strikeOn = spoilOn = quoteOn = lineOn = blockOn = slashOn = false;
redBtn.style.color = '#D5322F';
orangeBtn.style.color = '#B7471B';
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function resetFn(): void{
textArea.style.fontStyle = ""
textArea.style.textDecoration = "none"
textArea.style.color = "white"
textArea.style.fontFamily = "JetBrains Mono"
textArea.style.fontFamily = "Whitney Book"
boldOn = italOn = underOn = strikeOn = spoilOn = quoteOn = lineOn = blockOn = slashOn = false
redBtn.style.display = orangeBtn.style.display = yellowBtn.style.display = greenBtn.style.display = turqBtn.style.display = blueBtn.style.display = grayBtn.style.display = "inline-block"

Expand All @@ -72,7 +72,7 @@ function rmFn(): void{
textArea.style.fontStyle = ""
textArea.style.textDecoration = "none"
textArea.style.color = "white"
textArea.style.fontFamily = "JetBrains Mono"
textArea.style.fontFamily = "Whitney Book"
boldOn = italOn = underOn = strikeOn = spoilOn = quoteOn = lineOn = blockOn = slashOn = false
redBtn.style.color = '#D5322F';
orangeBtn.style.color = '#B7471B';
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function lineFn(text) {
else if (lineOn === true) {
text = text.replace(/`/g, "");
lineBtn.style.color = 'white';
textArea.style.fontFamily = "JetBrains Mono";
textArea.style.fontFamily = "Whitney Book";
textArea.value = text;
lineOn = false;
}
Expand All @@ -131,9 +131,9 @@ function blockFn(text) {
else if (blockOn === true) {
text = text.replace(/```/g, "");
blockBtn.style.color = 'white';
textArea.style.fontFamily = "JetBrains Mono";
textArea.value = text;
blockOn = false;
textArea.style.fontFamily = "Whitney Book";
}
}
function slashFn(text) {
Expand Down
Loading

0 comments on commit 5f66a30

Please sign in to comment.