Skip to content

Commit 13e59a0

Browse files
fix(Styles): Fix Backgrounds and Colors For Support Dark Mode
1 parent 3fb3c1c commit 13e59a0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/components/data-table/VTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="border border-2 rounded-2 overflow-hidden position-relative bg-white">
2+
<div class="border border-2 rounded-2 overflow-hidden position-relative bg-body">
33
<table class="table mb-0">
44
<VTableHeader :columns="columns"/>
55
<VTableBody
@@ -16,7 +16,7 @@
1616
:total="items.length"
1717
/>
1818

19-
<div v-if="isLoading" class="position-absolute top-0 start-0 h-100 w-100 bg-white bg-opacity-50 d-flex">
19+
<div v-if="isLoading" class="position-absolute top-0 start-0 h-100 w-100 bg-body bg-opacity-50 d-flex">
2020
<div v-if="items.length !== 0" class="spinner-border text-secondary m-auto" role="status">
2121
<span class="visually-hidden">{{ $t('Loading') }}...</span>
2222
</div>

src/components/data-table/VTableServer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="border border-2 rounded-2 overflow-hidden position-relative bg-white">
2+
<div class="border border-2 rounded-2 overflow-hidden position-relative bg-body">
33
<table class="table mb-0">
44
<VTableHeader :columns="columns"/>
55
<VTableBody
@@ -18,7 +18,7 @@
1818
:total="itemsLength"
1919
/>
2020

21-
<div v-if="isLoading" class="position-absolute top-0 start-0 h-100 w-100 bg-white bg-opacity-50 d-flex">
21+
<div v-if="isLoading" class="position-absolute top-0 start-0 h-100 w-100 bg-body bg-opacity-50 d-flex">
2222
<div v-if="items.length !== 0" class="spinner-border text-secondary m-auto" role="status">
2323
<span class="visually-hidden">{{ $t('Loading') }}...</span>
2424
</div>

src/components/layout/VHeader.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<header class="header d-flex align-items-center bg-primary text-white px-2">
2+
<header class="header d-flex align-items-center bg-primary px-2">
33
<button
44
type="submit"
55
class="btn btn-sm text-white"
@@ -9,15 +9,15 @@
99

1010
<div class="px-2">
1111
<slot name="start">
12-
<div class="h5 mb-0">Eghamat24</div>
12+
<div class="h5 text-white mb-0">Eghamat24</div>
1313
</slot>
1414
</div>
1515

1616
<div class="ms-auto">
1717
<slot name="end"></slot>
1818

1919
<button
20-
type="submit"
20+
type="button"
2121
class="btn btn-sm text-white"
2222
@click="logout"
2323
>

src/components/layout/VLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<VSideMenu />
99
</slot>
1010

11-
<div class="col bg-light p-4">
11+
<div class="col bg-body-tertiary p-4">
1212
<slot>Content</slot>
1313
</div>
1414
</main>

0 commit comments

Comments
 (0)