From 6621696e03dae86fef486632d855966df720f244 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 14 Sep 2023 12:33:51 -0400 Subject: [PATCH] Use media query based dark mode from bootstrap 5.3 --- src/custom-bootstrap.scss | 3 +++ src/index.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/custom-bootstrap.scss diff --git a/src/custom-bootstrap.scss b/src/custom-bootstrap.scss new file mode 100644 index 0000000..072b4fd --- /dev/null +++ b/src/custom-bootstrap.scss @@ -0,0 +1,3 @@ +$color-mode-type: media-query; + +@import "bootstrap/scss/bootstrap"; diff --git a/src/index.ts b/src/index.ts index fbc69b7..a7b4035 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import * as Vue from 'vue'; -import 'bootstrap/dist/css/bootstrap.min.css'; +import './custom-bootstrap.scss'; import 'bootstrap'; import App from './App.vue';