1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Change highlight.js theme

This commit is contained in:
Lukas SP 2020-09-11 18:02:44 +02:00
parent 6b4563c7c9
commit 1731fb8924
2 changed files with 1 additions and 3 deletions

View File

@ -69,8 +69,6 @@ export function setupButtons() {
let address = location.protocol + "//" + location.host + "/" + data.id;
if (data.suggestedSyntaxType) address += "." + data.suggestedSyntaxType;
location.replace(address);
// TODO: Find a solution to display the deletion token
});
});

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pasty</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.1.2/build/styles/default.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/styles/solarized-dark.min.css">
</head>
<body>
<div id="spinner" class="hidden"></div>