Skip to content

Commit 9440e38

Browse files
committed
revert dependabot - re-add colour changes
1 parent f2a9e19 commit 9440e38

File tree

11 files changed

+30
-30
lines changed

11 files changed

+30
-30
lines changed

frontend/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ export default {
3131

3232
<style>
3333
html {
34-
@apply bg-slate-900;
34+
@apply bg-neutral-900;
3535
}
3636
</style>

frontend/src/components/FilterCategory.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Categories
66
</button>
77
<div class="origin-top-left absolute left-0 mt-2 z-10" :class="{hidden: !dropdownOpened}">
8-
<div class="py-2 px-2 w-48 flex flex-col bg-slate-800 text-sm rounded-md shadow-lg">
8+
<div class="py-2 px-2 w-48 flex flex-col bg-neutral-800 text-sm rounded-md shadow-lg">
99
<ul v-if="$route.name === 'Browse Torrents'" id="category-filters" class="">
1010
<li v-for="category in categories"
1111
@click="selectFilter(category.name)"

frontend/src/components/PageSize.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Page Size
66
</button>
77
<div class="origin-top-left absolute left-0 mt-2 z-10" :class="{hidden: !dropdownOpened}">
8-
<div class="py-2 px-2 w-48 flex flex-col bg-slate-800 text-sm rounded-md shadow-lg">
8+
<div class="py-2 px-2 w-48 flex flex-col bg-neutral-800 text-sm rounded-md shadow-lg">
99
<ul v-if="$route.name === 'Browse Torrents'" id="category-filters" class="">
1010
<li v-for="size in pageSizes"
1111
@click="updateSize(size)"

frontend/src/components/SelectComponent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div v-click-outside="() => (dropdownOpened = false)">
33
<button
44
type="button"
5-
class="relative py-2 pr-10 pl-3 w-full text-left bg-slate-800/50 text-slate-400 rounded-md border border-slate-700 cursor-pointer focus:outline-none focus:ring-1 focus:border-sky-500 sm:text-sm"
5+
class="relative py-2 pr-10 pl-3 w-full text-left bg-neutral-800/50 text-slate-400 rounded-md border border-slate-700 cursor-pointer focus:outline-none focus:ring-1 focus:border-sky-500 sm:text-sm"
66
@click="dropdownOpened = !dropdownOpened"
77
>
88
<span class="block truncate capitalize">{{ selected || 'Select a category...' }}</span>
@@ -18,7 +18,7 @@
1818
>
1919
<ul
2020
v-if="dropdownOpened"
21-
class="overflow-auto absolute z-10 py-1 mt-1 w-full max-h-60 text-base bg-slate-800 rounded-md ring-1 ring-black ring-opacity-5 shadow-lg focus:outline-none sm:text-sm"
21+
class="overflow-auto absolute z-10 py-1 mt-1 w-full max-h-60 text-base bg-neutral-800 rounded-md ring-1 ring-black ring-opacity-5 shadow-lg focus:outline-none sm:text-sm"
2222
tabindex="-1" role="listbox"
2323
>
2424
<li class="relative py-2 pr-9 pl-3 text-slate-200 cursor-pointer select-none hover:text-sky-400 hover:bg-primary-600"

frontend/src/components/navigation/Profile.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</button>
1616

1717
<div class="origin-top-right absolute right-0 mt-2 z-10" :class="{hidden: !dropdownOpened}">
18-
<div @click.prevent="() => (dropdownOpened = false)" class="py-2 px-2 w-48 flex flex-col bg-slate-800 text-sm rounded-md shadow-lg">
19-
<router-link v-if="$store.getters.isAdministrator" to="/settings" replace class="py-1.5 text-center text-slate-100 border border-transparent rounded-md transition duration-200 hover:bg-slate-700 hover:border-slate-700">
18+
<div @click.prevent="() => (dropdownOpened = false)" class="py-2 px-2 w-48 flex flex-col bg-neutral-800 text-sm rounded-md shadow-lg">
19+
<router-link v-if="$store.getters.isAdministrator" to="/settings" replace class="py-1.5 text-center text-slate-100 border border-transparent rounded-md transition duration-200 hover:bg-neutral-700 hover:border-slate-700">
2020
<span>Settings</span>
2121
</router-link>
2222
<hr class="my-2 border-slate-700" />

frontend/src/components/navigation/Sidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<!-- search bar -->
1111
<div class="sticky top-0 py-4 -ml-0.5 pointer-events-none">
1212
<div class="relative pointer-events-auto">
13-
<div class="w-full flex items-center text-sm text-slate-400 bg-slate-800/50 rounded-md ring-1 ring-slate-900/10 py-1.5 pl-2 pr-3 transition duration-200 hover:ring-sky-400 focus:ring-sky-400">
13+
<div class="w-full flex items-center text-sm text-slate-400 bg-neutral-800/50 rounded-md ring-1 ring-slate-900/10 py-1.5 pl-2 pr-3 transition duration-200 hover:ring-sky-400 focus:ring-sky-400">
1414
<svg @click="submitSearch" width="22" height="22" fill="none" aria-hidden="true" class="mr-2 flex-none cursor-pointer">
1515
<path d="m19 19-3.5-3.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
1616
<circle cx="11" cy="11" r="6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></circle>

frontend/src/components/torrent-upload/CategorySelect.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div v-click-outside="() => (dropdownOpened = false)">
33
<button
44
type="button"
5-
class="relative py-2 pr-10 pl-3 w-full text-left bg-slate-800/50 text-slate-400 rounded-md border border-slate-700 cursor-pointer focus:outline-none focus:ring-1 focus:border-sky-500 sm:text-sm"
5+
class="relative py-2 pr-10 pl-3 w-full text-left bg-neutral-800/50 text-slate-400 rounded-md border border-slate-700 cursor-pointer focus:outline-none focus:ring-1 focus:border-sky-500 sm:text-sm"
66
@click="dropdownOpened = !dropdownOpened"
77
>
88
<span class="block truncate capitalize">{{ selectedCategory || 'Select a category...' }}</span>
@@ -19,7 +19,7 @@
1919
>
2020
<ul
2121
v-if="dropdownOpened"
22-
class="overflow-auto absolute z-10 py-1 mt-1 w-full max-h-60 text-base bg-slate-800 rounded-md ring-1 ring-black ring-opacity-5 shadow-lg focus:outline-none sm:text-sm"
22+
class="overflow-auto absolute z-10 py-1 mt-1 w-full max-h-60 text-base bg-neutral-800 rounded-md ring-1 ring-black ring-opacity-5 shadow-lg focus:outline-none sm:text-sm"
2323
tabindex="-1" role="listbox"
2424
>
2525
<li class="relative py-2 pr-9 pl-3 text-slate-200 cursor-pointer select-none hover:text-sky-400 hover:bg-primary-600"

frontend/src/views/AuthenticationModal.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="flex fixed top-0 left-0 z-30 flex-col justify-center w-full min-h-screen bg-slate-900/90 backdrop-blur"
3+
class="flex fixed top-0 left-0 z-30 flex-col justify-center w-full min-h-screen bg-neutral-900/90 backdrop-blur"
44
:class="{hidden: !authModalOpen}"
55
@click.self="close"
66
>
@@ -9,7 +9,7 @@
99
<h1 class="text-white text-3xl font-bold">{{ $store.state.settings.website.name }}</h1>
1010
</div>
1111
<div
12-
class="px-6 py-6 text-slate-400 bg-slate-800 rounded-md shadow mx-auto max-w-md"
12+
class="px-6 py-6 text-slate-400 bg-neutral-800 rounded-md shadow mx-auto max-w-md"
1313
>
1414
<transition
1515
enter-active-class="transition ease-out duration-100 transform"
@@ -173,7 +173,7 @@ label {
173173
}
174174
175175
.form-style {
176-
@apply mt-1 w-full px-3 py-2 text-white bg-slate-800 border border-slate-700 rounded-md text-sm shadow-sm cursor-pointer placeholder-slate-400 hover:border-sky-500 focus:bg-slate-800
176+
@apply mt-1 w-full px-3 py-2 text-white bg-neutral-800 border border-slate-700 rounded-md text-sm shadow-sm cursor-pointer placeholder-slate-400 hover:border-sky-500 focus:bg-neutral-800
177177
focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500 transition duration-200;
178178
}
179179
</style>

frontend/src/views/Torrent.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<h2 class="font-semibold text-xs lg:text-sm text-slate-400 uppercase">{{ torrent.info_hash }}</h2>
1313

1414
<div class="py-4 flex flex-col flex-col-reverse lg:flex-row">
15-
<div class="px-1 py-1 w-full lg:w-2/3 flex flex-col lg:flex-row flex-row bg-slate-800/50 rounded-md">
15+
<div class="px-1 py-1 w-full lg:w-2/3 flex flex-col lg:flex-row flex-row bg-neutral-800/50 rounded-md">
1616
<div class="px-3 w-full lg:w-1/2 flex flex-col justify-start">
1717
<div class="detail">Total size:<span class="value">{{ fileSize(torrent.file_size) }}</span></div>
1818
<div class="detail">Upload Date:<span class="value">{{ new Date(torrent.upload_date * 1000).toLocaleString() }}</span></div>
@@ -63,7 +63,7 @@
6363

6464
<div>
6565
<div v-if="isAdmin" class="py-3 border-b border-slate-200/5"></div>
66-
<!-- <div class="px-3 py-2 text-2xl text-white bg-slate-800 rounded-md"></div>-->
66+
<!-- <div class="px-3 py-2 text-2xl text-white bg-neutral-800 rounded-md"></div>-->
6767
</div>
6868
<div>
6969
<!-- <div class="py-3 border-b border-slate-200/5"></div>-->
@@ -78,7 +78,7 @@
7878
<div class="py-3 border-t border-slate-200/5"></div>
7979
<textarea v-if="editingDescription" rows="8" v-model="newDescription" class="input"></textarea>
8080
<h2 v-if="editingDescription" class="section">Markdown Preview</h2>
81-
<MarkdownItVue v-if="editingDescription" :content="newDescription" class="px-4 py-4 max-h-64 overflow-auto md-body max-w-none prose-sm prose-blue bg-slate-800/50 rounded-md" />
81+
<MarkdownItVue v-if="editingDescription" :content="newDescription" class="px-4 py-4 max-h-64 overflow-auto md-body max-w-none prose-sm prose-blue bg-neutral-800/50 rounded-md" />
8282
<MarkdownItVue v-if="!editingDescription && torrent.description" :content="torrent.description" class="md-body max-w-none prose-sm prose-blue" />
8383
<span v-if="!editingDescription && !torrent.description" class="text-slate-400 italic">Empty</span>
8484
</div>
@@ -268,7 +268,7 @@ export default {
268268

269269
<style>
270270
.status {
271-
@apply px-2 py-1.5 w-1/2 flex flex-row bg-slate-800/50 text-slate-200 capitalize border border-transparent rounded-md text-sm uppercase;
271+
@apply px-2 py-1.5 w-1/2 flex flex-row bg-neutral-800/50 text-slate-200 capitalize border border-transparent rounded-md text-sm uppercase;
272272
}
273273
274274
.detail {
@@ -284,11 +284,11 @@ h2.section {
284284
}
285285
286286
button.edit {
287-
@apply px-4 py-1.5 rounded-md border border-slate-800 text-sm text-slate-400 flex items-center relative cursor-pointer transition duration-200 hover:text-slate-200 hover:border-slate-200 disabled:bg-slate-700 disabled:border-slate-700 disabled:text-slate-400;
287+
@apply px-4 py-1.5 rounded-md border border-slate-800 text-sm text-slate-400 flex items-center relative cursor-pointer transition duration-200 hover:text-slate-200 hover:border-slate-200 disabled:bg-neutral-700 disabled:border-slate-700 disabled:text-slate-400;
288288
}
289289
290290
textarea.input {
291-
@apply py-2 px-4 bg-slate-800/50 appearance-none w-full text-slate-200 rounded-md leading-tight focus:outline-none;
291+
@apply py-2 px-4 bg-neutral-800/50 appearance-none w-full text-slate-200 rounded-md leading-tight focus:outline-none;
292292
}
293293
294294
.markdown-body {
@@ -304,18 +304,18 @@ textarea.input {
304304
}
305305
306306
.markdown-body hr {
307-
@apply bg-slate-200/50;
307+
@apply bg-neutral-200/50;
308308
}
309309
310310
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
311311
@apply border-slate-200/50;
312312
}
313313
314314
.markdown-body .highlight pre, .markdown-body pre {
315-
@apply bg-slate-800 text-slate-400 rounded-md;
315+
@apply bg-neutral-800 text-slate-400 rounded-md;
316316
}
317317
318318
.markdown-body table tr, .markdown-body table td, .markdown-body table th {
319-
@apply bg-slate-800 border-slate-700;
319+
@apply bg-neutral-800 border-slate-700;
320320
}
321321
</style>

frontend/src/views/TorrentUpload.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div v-if="form.description">
2525
<label>Markdown Preview</label>
26-
<MarkdownItVue :content="form.description" class="mt-1 px-4 py-4 max-h-64 overflow-auto md-body max-w-none prose-sm prose-blue bg-slate-800/50 rounded-md" />
26+
<MarkdownItVue :content="form.description" class="mt-1 px-4 py-4 max-h-64 overflow-auto md-body max-w-none prose-sm prose-blue bg-neutral-800/50 rounded-md" />
2727
</div>
2828

2929
<div>
@@ -128,7 +128,7 @@ label {
128128
}
129129
130130
.input {
131-
@apply py-2 px-4 w-full text-white bg-slate-800 border border-slate-700 rounded-md text-sm shadow-sm cursor-pointer placeholder-slate-400 hover:border-sky-500 focus:bg-slate-800
131+
@apply py-2 px-4 w-full text-white bg-neutral-800 border border-slate-700 rounded-md text-sm shadow-sm cursor-pointer placeholder-slate-400 hover:border-sky-500 focus:bg-neutral-800
132132
focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500 transition duration-200;
133133
}
134134
@@ -145,18 +145,18 @@ label {
145145
}
146146
147147
.markdown-body hr {
148-
@apply bg-slate-200/50;
148+
@apply bg-neutral-200/50;
149149
}
150150
151151
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
152152
@apply border-slate-200/50;
153153
}
154154
155155
.markdown-body .highlight pre, .markdown-body pre {
156-
@apply bg-slate-800 text-slate-400 rounded-md;
156+
@apply bg-neutral-800 text-slate-400 rounded-md;
157157
}
158158
159159
.markdown-body table tr, .markdown-body table td, .markdown-body table th {
160-
@apply bg-slate-800 border-slate-700;
160+
@apply bg-neutral-800 border-slate-700;
161161
}
162162
</style>

0 commit comments

Comments
 (0)