Skip to content

Commit 6b4bd99

Browse files
committed
dark mode fixes
1 parent 1f79ef0 commit 6b4bd99

File tree

2 files changed

+9
-16
lines changed

2 files changed

+9
-16
lines changed

demos/browser/css/style.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,9 @@ div.iconSvg.refresh {
172172
}
173173

174174
.tabHtmlToPpt thead th {
175-
background: var(--light);
176-
color: white;
177175
font-weight: normal;
178176
}
179177

180-
.tabHtmlToPpt tbody td {
181-
background: var(--light);
182-
color: var(--dark);
183-
}
184-
185178
.tabHtmlToPpt th,
186179
.tabHtmlToPpt td {
187180
border: 1px solid var(--light);

demos/browser/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ <h3 class="text-primary">Please Wait</h3>
107107
</li>
108108
</ul>
109109
<form class="form-inline my-2 my-lg-0">
110-
<button type="button" class="btn btn-outline-secondary mx-2 my-2 my-sm-0" onClick="window.open('https://github.com/gitbrent/PptxGenJS/releases')">
110+
<button type="button" class="btn btn-outline-primary mx-2 my-2 my-sm-0" onClick="window.open('https://github.com/gitbrent/PptxGenJS/releases')">
111111
Download
112112
</button>
113-
<button type="button" class="btn btn-outline-secondary mx-2 my-2 my-sm-0" onClick="window.open('https://github.com/gitbrent/PptxGenJS')">
113+
<button type="button" class="btn btn-outline-primary mx-2 my-2 my-sm-0" onClick="window.open('https://github.com/gitbrent/PptxGenJS')">
114114
GitHub Project
115115
</button>
116-
<button type="button" class="btn btn-outline-secondary mx-2 my-2 my-sm-0" onClick="window.open('https://gitbrent.github.io/PptxGenJS/docs/installation.html')">
116+
<button type="button" class="btn btn-outline-primary mx-2 my-2 my-sm-0" onClick="window.open('https://gitbrent.github.io/PptxGenJS/docs/installation.html')">
117117
API Documentation
118118
</button>
119119
</form>
@@ -360,7 +360,7 @@ <h6 class="card-header">Plain/Unstyled Table</h6>
360360
<h6 class="card-header">CSS via <code>&lt;style&gt;</code></h6>
361361
<div class="card-body">
362362
<table id="tabInheritStyle" class="tabHtmlToPpt w-100">
363-
<thead>
363+
<thead class="table-light">
364364
<tr>
365365
<th>Company</th>
366366
<th>Contact</th>
@@ -402,7 +402,7 @@ <h5 class="mt-4 text-primary bde-arrow-cont" onclick="$(this).next('div').toggle
402402
<h6 class="card-header">Colspan</h6>
403403
<div class="card-body">
404404
<table id="tabColspan" class="tabHtmlToPpt w-100">
405-
<thead>
405+
<thead class="table-light">
406406
<tr>
407407
<th class="tg-header">First Name</th>
408408
<th class="tg-header">Last Name</th>
@@ -439,7 +439,7 @@ <h6 class="card-header">Colspan</h6>
439439
<h6 class="card-header">Rowspan</h6>
440440
<div class="card-body">
441441
<table id="tabRowspan" class="tabHtmlToPpt w-100">
442-
<thead>
442+
<thead class="table-light">
443443
<tr>
444444
<th class="tg-header">Last Name</th>
445445
<th class="tg-header">First Name</th>
@@ -471,7 +471,7 @@ <h6 class="card-header">Rowspan</h6>
471471
<h6 class="card-header">Rowspan and Colspan</h6>
472472
<div class="card-body">
473473
<table id="tabRowColspan" class="tabHtmlToPpt w-100">
474-
<thead>
474+
<thead class="table-light">
475475
<tr>
476476
<th class="tg-header" colspan="2">Name</th>
477477
<th class="tg-header" rowspan="2">Count</th>
@@ -510,7 +510,7 @@ <h5 class="mt-4 text-primary bde-arrow-cont" onclick="$(this).next('div').toggle
510510
<h6 class="card-header">Example: Lots of Single-Line Rows</h6>
511511
<div class="card-body">
512512
<table id="tabLotsOfLines" class="tabHtmlToPpt w-100">
513-
<thead>
513+
<thead class="table-light">
514514
<tr>
515515
<th class="tg-header">A</th>
516516
<th class="tg-header">B</th>
@@ -529,7 +529,7 @@ <h6 class="card-header">Example: Lots of Single-Line Rows</h6>
529529
<h6 class="card-header">Example: Paging needed due to cell with large amount of text</h6>
530530
<div class="card-body">
531531
<table id="tabLargeCellText" class="tabHtmlToPpt">
532-
<thead>
532+
<thead class="table-light">
533533
<tr>
534534
<th class="tg-header">Executive Status</th>
535535
</tr>

0 commit comments

Comments
 (0)