mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
UI improvements
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 100px;
|
||||
padding: 10px;
|
||||
|
||||
font-family: system-ui;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
/* Dark Mode styles go here. */
|
||||
}
|
@@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="popup.css">
|
||||
<script type="module" src="popup.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<strong>Hello World!</strong>
|
||||
</body>
|
||||
</html>
|
@@ -1 +0,0 @@
|
||||
console.log("Hello World!", browser);
|
@@ -17,7 +17,7 @@ function redirect() {
|
||||
}
|
||||
|
||||
function replaceContentWithLink() {
|
||||
document.querySelector('body').innerHTML = yatteeLink();
|
||||
document.querySelector('body').innerHTML = '<h1>' + yatteeLink() + '</h1>';
|
||||
}
|
||||
|
||||
function redirectAndReplaceContentWithLink(){
|
||||
|
Reference in New Issue
Block a user