Skip to content

Commit

Permalink
Modification pour le changement du mode en fonction des couleurs defi…
Browse files Browse the repository at this point in the history
…nies dans le systeme
  • Loading branch information
SirNavar1 committed Jul 27, 2022
1 parent fdf3db2 commit 33f7b38
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 10 deletions.
11 changes: 11 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,17 @@ const template = [
},
]
}
/*{
label: "Mode",
submenu: [
{
label: "Sombre",
click: () => {
window.darkMode.toggle()
}
}
]
} */
];
const menu = Menu.buildFromTemplate(template);
Menu.setApplicationMenu(menu);
1 change: 0 additions & 1 deletion corona/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ html, body {
height: 100%;
overflow-x: hidden;
overflow-y: hidden;
background-color: #2b2b2b;
}

.icon {
Expand Down
1 change: 1 addition & 0 deletions corona/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="index.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<script src="index.js"></script>
<meta name="color-scheme" content="dark light">
</head>

<body id="t" class="offline">
Expand Down
1 change: 1 addition & 0 deletions hellokugou/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
<title i18n-content="title">Kugou runner</title>
<link rel="stylesheet" href="main.css">
<meta name="color-scheme" content="dark light">
</head>
<body id="t" class="offline">
<div id="main-frame-error" class="interstitial-wrapper">
Expand Down
2 changes: 0 additions & 2 deletions hellokugou/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ html,body{
margin: 0;
width: 100%;
height: 100%;
background-color: #2b2b2b;
}

.icon {
-webkit-user-select: none;
display: inline-block;
}

Expand Down
1 change: 1 addition & 0 deletions kumamon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
<title i18n-content="title">Kumamon runner</title>
<link rel="stylesheet" href="main.css">
<meta name="color-scheme" content="dark light">
</head>
<body id="t" class="offline">
<div id="main-frame-error" class="interstitial-wrapper">
Expand Down
2 changes: 0 additions & 2 deletions kumamon/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ html,body{
margin: 0;
width: 100%;
height: 100%;
background-color: #2b2b2b;
}

.icon {
-webkit-user-select: none;
display: inline-block;
}

Expand Down
1 change: 1 addition & 0 deletions ninja/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
<title i18n-content="title">Ninja runner</title>
<link rel="stylesheet" href="main.css">
<meta name="color-scheme" content="dark light">
</head>
<body id="t" class="offline">
<div id="main-frame-error" class="interstitial-wrapper">
Expand Down
2 changes: 0 additions & 2 deletions ninja/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ html,body{
margin: 0;
width: 100%;
height: 100%;
background-color: #2b2b2b;
}

.icon {
-webkit-user-select: none;
display: inline-block;
}

Expand Down
1 change: 0 additions & 1 deletion t-rex/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ html, body {
margin: 0;
width: 100%;
height: 100%;
background-color: #2b2b2b;
}

.icon {
Expand Down
3 changes: 1 addition & 2 deletions t-rex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="index.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<script src="index.js"></script>
<meta name="color-scheme" content="dark light">
</head>
<body id="t" class="offline">
<div id="messageBox" class="sendmessage">
Expand All @@ -28,7 +29,6 @@ <h1 style="text-align: center;font-family: 'Open Sans', sans-serif; color: white
</div>
</div>
</body>

<script>
document.onkeydown = function(evt) {
evt = evt || window.event;
Expand All @@ -38,5 +38,4 @@ <h1 style="text-align: center;font-family: 'Open Sans', sans-serif; color: white
}
};
</script>

</html>

0 comments on commit 33f7b38

Please sign in to comment.