mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 01:32:15 +00:00
dark mode improvements
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
<!--Label for input-->
|
||||
<div class="leading-5">
|
||||
<label class="text-sm font-bold text-gray-700 mb-1.5 block">
|
||||
<label class="text-sm font-bold dark:text-gray-400 text-gray-700 mb-1.5 block">
|
||||
{{ title }}:
|
||||
</label>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div :class="{'mb-7': !isLast}">
|
||||
|
||||
<!--Label for input-->
|
||||
<label v-if="title" class="text-sm font-bold text-gray-700 mb-1.5 block">
|
||||
<label v-if="title" class="text-sm font-bold dark:text-gray-400 text-gray-700 mb-1.5 block">
|
||||
{{ title }}:
|
||||
</label>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<slot></slot>
|
||||
|
||||
<!--Input Description-->
|
||||
<small v-if="description" class="text-xs text-gray-500 leading-4 block" v-html="description"></small>
|
||||
<small v-if="description" class="text-xs text-gray-500 pt-2 leading-4 block" v-html="description"></small>
|
||||
|
||||
<!--Input Description-->
|
||||
<span v-if="error" class="text-red-700 pt-2 text-xs">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="whitespace-nowrap overflow-x-auto">
|
||||
<router-link
|
||||
class="inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme"
|
||||
:class="{'text-theme': routeName === page.route, 'text-gray-600': routeName !== page.route}"
|
||||
:class="{'text-theme': routeName === page.route, 'dark:text-gray-400 text-gray-600': routeName !== page.route}"
|
||||
v-for="(page, i) in pages"
|
||||
:to="{name: page.route}"
|
||||
:key="i"
|
||||
|
||||
@@ -115,4 +115,32 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.dark {
|
||||
|
||||
.chart {
|
||||
background: #282A2F !important;
|
||||
}
|
||||
|
||||
.chart-wrapper {
|
||||
|
||||
&:nth-child(1) {
|
||||
.chart-progress {
|
||||
border-color: #151515 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.chart-progress {
|
||||
border-color: #151515 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.chart-progress {
|
||||
&.secondary {
|
||||
background: #282A2F !important;
|
||||
box-shadow: 0 3px 10px rgba(#282A2F, 0.5) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user