This repository has been archived by the owner on May 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
bootstrap-nightshade.scss
93 lines (90 loc) · 3.76 KB
/
bootstrap-nightshade.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*!
* Bootstrap v4.6.0 (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors
* Copyright 2011-2021 Twitter, Inc.
* Licensed under MIT (https:/twbs/bootstrap/blob/main/LICENSE)
*
* Bootstrap-Nightshade (https://vinorodrigues.github.io/bootstrap-dark/)
* Copyright 2020 Vino Rodrigues
* This version is a dual color theme, with the default light mode and the dark
* elements optioned in by a `.dark` class in `<html>` tag.
* Why `<html>`? See https://css-tricks.com/html-vs-body-in-css/#quirky-background-color
*/
@import "../node_modules/bootstrap/scss/functions";
@import "./dark/functions";
@import "../node_modules/bootstrap/scss/variables"; // original _variables file
@import "./variables-alt"; // only the dark colors mapped as `-alt`
@import "../node_modules/bootstrap/scss/mixins";
@import "./dark/mixins";
// @import "../node_modules/bootstrap/scss/root"; // leave this out, doesn't work with this methodology
@import "../node_modules/bootstrap/scss/reboot";
@import "../node_modules/bootstrap/scss/type";
@import "../node_modules/bootstrap/scss/images";
@import "../node_modules/bootstrap/scss/code";
@import "../node_modules/bootstrap/scss/grid";
@import "../node_modules/bootstrap/scss/tables";
@import "../node_modules/bootstrap/scss/forms";
@import "../node_modules/bootstrap/scss/buttons";
@import "../node_modules/bootstrap/scss/transitions";
@import "../node_modules/bootstrap/scss/dropdown";
@import "../node_modules/bootstrap/scss/button-group";
@import "../node_modules/bootstrap/scss/input-group";
@import "../node_modules/bootstrap/scss/custom-forms";
@import "../node_modules/bootstrap/scss/nav";
@import "../node_modules/bootstrap/scss/navbar";
@import "../node_modules/bootstrap/scss/card";
@import "../node_modules/bootstrap/scss/breadcrumb";
@import "../node_modules/bootstrap/scss/pagination";
@import "../node_modules/bootstrap/scss/badge";
@import "../node_modules/bootstrap/scss/jumbotron";
@import "../node_modules/bootstrap/scss/alert";
@import "../node_modules/bootstrap/scss/progress";
@import "../node_modules/bootstrap/scss/media";
@import "../node_modules/bootstrap/scss/list-group";
@import "../node_modules/bootstrap/scss/close";
@import "../node_modules/bootstrap/scss/toasts";
@import "../node_modules/bootstrap/scss/modal";
@import "../node_modules/bootstrap/scss/tooltip";
@import "../node_modules/bootstrap/scss/popover";
@import "../node_modules/bootstrap/scss/carousel";
@import "../node_modules/bootstrap/scss/spinners";
@import "../node_modules/bootstrap/scss/utilities";
@import "../node_modules/bootstrap/scss/print";
html.dark {
// @import "./dark/root"; // leave this out, doesn't work with this methodology
@import "./dark/reboot";
// need this because `body.dark body {}` (in reboot) doesn't really do anything
color: $body-color-alt;
background-color: $body-bg-alt;
@import "./dark/type";
@import "./dark/images";
@import "./dark/code";
@import "./dark/tables";
@import "./dark/forms";
@import "./dark/buttons";
// _transitions not used
@import "./dark/dropdown";
@import "./dark/button-group";
@import "./dark/input-group";
@import "./dark/custom-forms";
@import "./dark/nav";
@import "./dark/navbar";
@import "./dark/card";
@import "./dark/breadcrumb";
@import "./dark/pagination";
@import "./dark/badge";
@import "./dark/jumbotron";
@import "./dark/alert";
@import "./dark/progress";
// _media not used
@import "./dark/list-group";
@import "./dark/close";
@import "./dark/toasts";
@import "./dark/modal";
@import "./dark/tooltip";
@import "./dark/popover";
@import "./dark/carousel";
// _spinners not used
@import "./dark/utilities";
@import "./dark/dark";
}