feat: Dark Mode (#7471)

This commit is contained in:
Sivin Varghese
2023-07-21 22:10:25 +05:30
committed by GitHub
parent 480f34803b
commit 40ec0d109a
264 changed files with 2935 additions and 6817 deletions

View File

@@ -82,37 +82,22 @@ export default {
<style scoped>
input[type='file'] {
display: none;
@apply hidden;
}
.input-wrapper {
display: flex;
height: 39px;
background-color: var(--white);
border-radius: var(--border-radius-small);
border: 1px dashed var(--w-100);
padding: var(--space-smaller) var(--space-small);
align-items: center;
font-size: var(--font-size-mini);
cursor: pointer;
@apply flex h-9 bg-white dark:bg-slate-900 py-1 px-2 items-center text-xs cursor-pointer rounded-sm border border-dashed border-woot-100 dark:border-woot-500;
}
.success-icon {
margin-right: var(--space-small);
color: var(--g-500);
@apply text-green-500 dark:text-green-600 mr-2;
}
.error-icon {
margin-right: var(--space-small);
color: var(--r-500);
@apply text-red-500 dark:text-red-600 mr-2;
}
.processing {
cursor: not-allowed;
opacity: 0.9;
@apply cursor-not-allowed opacity-90;
}
.file-button {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
margin-bottom: 0;
@apply whitespace-nowrap overflow-hidden text-ellipsis w-full mb-0;
}
</style>