File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 value =" ${dita.plugin.org.dita-bootstrap.html.dir}/css/"
2222 />
2323
24+ <!-- Add DITA colors with bootswatch overrides as necessary -->
25+
26+ <condition
27+ property =" dita-bootstrap.bootswatch.css.file"
28+ value =" ${dita-bootstrap.css.dir}/bootswatch-static.css"
29+ >
30+ <or >
31+ <equals arg1 =" ${bootstrap.theme}" arg2 =" cyborg" />
32+ <equals arg1 =" ${bootstrap.theme}" arg2 =" darkly" />
33+ <equals arg1 =" ${bootstrap.theme}" arg2 =" slate" />
34+ <equals arg1 =" ${bootstrap.theme}" arg2 =" solar" />
35+ <equals arg1 =" ${bootstrap.theme}" arg2 =" vapor" />
36+ </or >
37+ </condition >
38+ <property
39+ name =" dita-bootstrap.bootswatch.css.file"
40+ value =" ${dita-bootstrap.css.dir}/bootswatch-colors.css"
41+ />
42+
43+ <loadfile
44+ property =" dita-bootstrap.bootswatch.css"
45+ srcFile =" ${dita-bootstrap.bootswatch.css.file}"
46+ />
47+ <echo
48+ append =" true"
49+ message =" ${line.separator}${dita-bootstrap.bootswatch.css}"
50+ if : set =" dita-bootstrap.css.add"
51+ file =" ${extend.css.file}"
52+ />
53+
54+
2455 <!-- Add Common CSS where Bootstrap variables override DITA-OT defaults -->
2556 <loadfile
2657 property =" dita-bootstrap.css"
Original file line number Diff line number Diff line change 1+ /*!
2+ * This file is part of the DITA Bootstrap plug-in for DITA Open Toolkit.
3+ * See the accompanying LICENSE file for applicable licenses.
4+ */
5+
6+ : root {
7+ --dita-prussian-blue : var (--bs-primary-text-emphasis );
8+ --dita-maroon : var (--bs-danger-text-emphasis );
9+ --dita-violet : var (--bs-purple );
10+ }
Original file line number Diff line number Diff line change 1+ /*!
2+ * This file is part of the DITA Bootstrap plug-in for DITA Open Toolkit.
3+ * See the accompanying LICENSE file for applicable licenses.
4+ */
5+
6+ : root {
7+ --dita-prussian-blue : # 6a91cf ;
8+ --dita-violet : # cc99cd ;
9+ --dita-maroon : # ff7676 ;
10+ }
Original file line number Diff line number Diff line change 33 * See the accompanying LICENSE file for applicable licenses.
44 */
55
6- : root {
7- --dita-prussian-blue : var (--bs-primary-text-emphasis );
8- --dita-maroon : var (--bs-danger-text-emphasis );
9- --dita-violet : var (--bs-purple );
10- }
11-
126.list-group-item .active ,
137.nav-link .active ,
148[data-bs-theme = 'dark' ] {
You can’t perform that action at this time.
0 commit comments