Skip to content

Commit 248869d

Browse files
feat: add theme aware btn-outline class
1 parent b98e126 commit 248869d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

_sass/styles.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,3 +357,15 @@ table tr:nth-child(2n) {
357357
.text-muted {
358358
color: var(--footer-text-col) !important;
359359
}
360+
361+
/* Theme-aware outline button: dark border/text in light mode, light in dark mode */
362+
.btn-outline-theme {
363+
--bs-btn-color: var(--text-col);
364+
--bs-btn-border-color: var(--text-col);
365+
--bs-btn-hover-color: var(--page-col);
366+
--bs-btn-hover-bg: var(--text-col);
367+
--bs-btn-hover-border-color: var(--text-col);
368+
--bs-btn-active-color: var(--page-col);
369+
--bs-btn-active-bg: var(--text-col);
370+
--bs-btn-active-border-color: var(--text-col);
371+
}

0 commit comments

Comments
 (0)