forked from MicrosoftEdge/Demos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding dark/light mode and fixing hintrc
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"extends": ["development"], | ||
"browserslist": "defaults, not IE 11" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>TODO app</title> | ||
<link rel="stylesheet" href="styles/light-theme.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"> | ||
<link rel="stylesheet" href="styles/light-theme.css" | ||
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"> | ||
<link rel="stylesheet" href="styles/dark-theme.css" media="(prefers-color-scheme: dark)"> | ||
<link rel="stylesheet" href="styles/base.css"> | ||
<link rel="stylesheet" href="styles/to-do-styles.css"> | ||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📋</text></svg>"> | ||
<link rel="icon" | ||
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📋</text></svg>"> | ||
</head> | ||
<output></output> | ||
|
||
<body> | ||
<form> | ||
<img src="" alt=""> | ||
<div class="searchbar"> | ||
<label for="task">Tasks:</label> | ||
<input id="task" autocomplete="off" type="text" placeholder="What do you want to do" pattern="[a-z|A-Z|0-9| ]+"> | ||
<input type="submit" value="send"> | ||
</div> | ||
<ul id="tasks"></ul> | ||
</form> | ||
<output></output> | ||
|
||
<script src="to-do.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters