Skip to content

Commit 92c2fbc

Browse files
committed
add bootstrap 5 and bootswatch 5 with theme selector feature
1 parent 11ba396 commit 92c2fbc

33 files changed

+2943
-484
lines changed

angular.json

+252-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,132 @@
3131
"src/assets"
3232
],
3333
"styles": [
34-
"src/styles.scss"
34+
"src/styles/styles.scss",
35+
{
36+
"input": "src/styles/bootswatch/theme-cerulean.scss",
37+
"bundleName": "theme-cerulean",
38+
"inject": false
39+
},
40+
{
41+
"input": "src/styles/bootswatch/theme-cosmo.scss",
42+
"bundleName": "theme-cosmo",
43+
"inject": false
44+
},
45+
{
46+
"input": "src/styles/bootswatch/theme-cyborg.scss",
47+
"bundleName": "theme-cyborg",
48+
"inject": false
49+
},
50+
{
51+
"input": "src/styles/bootswatch/theme-darkly.scss",
52+
"bundleName": "theme-darkly",
53+
"inject": false
54+
},
55+
{
56+
"input": "src/styles/bootswatch/theme-flatly.scss",
57+
"bundleName": "theme-flatly",
58+
"inject": false
59+
},
60+
{
61+
"input": "src/styles/bootswatch/theme-journal.scss",
62+
"bundleName": "theme-journal",
63+
"inject": false
64+
},
65+
{
66+
"input": "src/styles/bootswatch/theme-litera.scss",
67+
"bundleName": "theme-litera",
68+
"inject": false
69+
},
70+
{
71+
"input": "src/styles/bootswatch/theme-lumen.scss",
72+
"bundleName": "theme-lumen",
73+
"inject": false
74+
},
75+
{
76+
"input": "src/styles/bootswatch/theme-lux.scss",
77+
"bundleName": "theme-lux",
78+
"inject": false
79+
},
80+
{
81+
"input": "src/styles/bootswatch/theme-materia.scss",
82+
"bundleName": "theme-materia",
83+
"inject": false
84+
},
85+
{
86+
"input": "src/styles/bootswatch/theme-minty.scss",
87+
"bundleName": "theme-minty",
88+
"inject": false
89+
},
90+
{
91+
"input": "src/styles/bootswatch/theme-morph.scss",
92+
"bundleName": "theme-morph",
93+
"inject": false
94+
},
95+
{
96+
"input": "src/styles/bootswatch/theme-pulse.scss",
97+
"bundleName": "theme-pulse",
98+
"inject": false
99+
},
100+
{
101+
"input": "src/styles/bootswatch/theme-quartz.scss",
102+
"bundleName": "theme-quartz",
103+
"inject": false
104+
},
105+
{
106+
"input": "src/styles/bootswatch/theme-sandstone.scss",
107+
"bundleName": "theme-sandstone",
108+
"inject": false
109+
},
110+
{
111+
"input": "src/styles/bootswatch/theme-simplex.scss",
112+
"bundleName": "theme-simplex",
113+
"inject": false
114+
},
115+
{
116+
"input": "src/styles/bootswatch/theme-sketchy.scss",
117+
"bundleName": "theme-sketchy",
118+
"inject": false
119+
},
120+
{
121+
"input": "src/styles/bootswatch/theme-slate.scss",
122+
"bundleName": "theme-slate",
123+
"inject": false
124+
},
125+
{
126+
"input": "src/styles/bootswatch/theme-solar.scss",
127+
"bundleName": "theme-solar",
128+
"inject": false
129+
},
130+
{
131+
"input": "src/styles/bootswatch/theme-spacelab.scss",
132+
"bundleName": "theme-spacelab",
133+
"inject": false
134+
},
135+
{
136+
"input": "src/styles/bootswatch/theme-superhero.scss",
137+
"bundleName": "theme-superhero",
138+
"inject": false
139+
},
140+
{
141+
"input": "src/styles/bootswatch/theme-united.scss",
142+
"bundleName": "theme-united",
143+
"inject": false
144+
},
145+
{
146+
"input": "src/styles/bootswatch/theme-vapor.scss",
147+
"bundleName": "theme-vapor",
148+
"inject": false
149+
},
150+
{
151+
"input": "src/styles/bootswatch/theme-yeti.scss",
152+
"bundleName": "theme-yeti",
153+
"inject": false
154+
},
155+
{
156+
"input": "src/styles/bootswatch/theme-zephyr.scss",
157+
"bundleName": "theme-zephyr",
158+
"inject": false
159+
}
35160
],
36161
"scripts": []
37162
},
@@ -99,7 +224,132 @@
99224
"src/assets"
100225
],
101226
"styles": [
102-
"src/styles.scss"
227+
"src/styles/styles.scss",
228+
{
229+
"input": "src/styles/bootswatch/theme-cerulean.scss",
230+
"bundleName": "theme-cerulean",
231+
"inject": false
232+
},
233+
{
234+
"input": "src/styles/bootswatch/theme-cosmo.scss",
235+
"bundleName": "theme-cosmo",
236+
"inject": false
237+
},
238+
{
239+
"input": "src/styles/bootswatch/theme-cyborg.scss",
240+
"bundleName": "theme-cyborg",
241+
"inject": false
242+
},
243+
{
244+
"input": "src/styles/bootswatch/theme-darkly.scss",
245+
"bundleName": "theme-darkly",
246+
"inject": false
247+
},
248+
{
249+
"input": "src/styles/bootswatch/theme-flatly.scss",
250+
"bundleName": "theme-flatly",
251+
"inject": false
252+
},
253+
{
254+
"input": "src/styles/bootswatch/theme-journal.scss",
255+
"bundleName": "theme-journal",
256+
"inject": false
257+
},
258+
{
259+
"input": "src/styles/bootswatch/theme-litera.scss",
260+
"bundleName": "theme-litera",
261+
"inject": false
262+
},
263+
{
264+
"input": "src/styles/bootswatch/theme-lumen.scss",
265+
"bundleName": "theme-lumen",
266+
"inject": false
267+
},
268+
{
269+
"input": "src/styles/bootswatch/theme-lux.scss",
270+
"bundleName": "theme-lux",
271+
"inject": false
272+
},
273+
{
274+
"input": "src/styles/bootswatch/theme-materia.scss",
275+
"bundleName": "theme-materia",
276+
"inject": false
277+
},
278+
{
279+
"input": "src/styles/bootswatch/theme-minty.scss",
280+
"bundleName": "theme-minty",
281+
"inject": false
282+
},
283+
{
284+
"input": "src/styles/bootswatch/theme-morph.scss",
285+
"bundleName": "theme-morph",
286+
"inject": false
287+
},
288+
{
289+
"input": "src/styles/bootswatch/theme-pulse.scss",
290+
"bundleName": "theme-pulse",
291+
"inject": false
292+
},
293+
{
294+
"input": "src/styles/bootswatch/theme-quartz.scss",
295+
"bundleName": "theme-quartz",
296+
"inject": false
297+
},
298+
{
299+
"input": "src/styles/bootswatch/theme-sandstone.scss",
300+
"bundleName": "theme-sandstone",
301+
"inject": false
302+
},
303+
{
304+
"input": "src/styles/bootswatch/theme-simplex.scss",
305+
"bundleName": "theme-simplex",
306+
"inject": false
307+
},
308+
{
309+
"input": "src/styles/bootswatch/theme-sketchy.scss",
310+
"bundleName": "theme-sketchy",
311+
"inject": false
312+
},
313+
{
314+
"input": "src/styles/bootswatch/theme-slate.scss",
315+
"bundleName": "theme-slate",
316+
"inject": false
317+
},
318+
{
319+
"input": "src/styles/bootswatch/theme-solar.scss",
320+
"bundleName": "theme-solar",
321+
"inject": false
322+
},
323+
{
324+
"input": "src/styles/bootswatch/theme-spacelab.scss",
325+
"bundleName": "theme-spacelab",
326+
"inject": false
327+
},
328+
{
329+
"input": "src/styles/bootswatch/theme-superhero.scss",
330+
"bundleName": "theme-superhero",
331+
"inject": false
332+
},
333+
{
334+
"input": "src/styles/bootswatch/theme-united.scss",
335+
"bundleName": "theme-united",
336+
"inject": false
337+
},
338+
{
339+
"input": "src/styles/bootswatch/theme-vapor.scss",
340+
"bundleName": "theme-vapor",
341+
"inject": false
342+
},
343+
{
344+
"input": "src/styles/bootswatch/theme-yeti.scss",
345+
"bundleName": "theme-yeti",
346+
"inject": false
347+
},
348+
{
349+
"input": "src/styles/bootswatch/theme-zephyr.scss",
350+
"bundleName": "theme-zephyr",
351+
"inject": false
352+
}
103353
],
104354
"scripts": []
105355
}

package-lock.json

+46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"@angular/platform-browser": "~12.2.0",
1919
"@angular/platform-browser-dynamic": "~12.2.0",
2020
"@angular/router": "~12.2.0",
21+
"bootstrap": "^5.1.0",
22+
"bootswatch": "^5.1.0",
2123
"rxjs": "~6.6.0",
2224
"tslib": "^2.3.0",
2325
"zone.js": "~0.11.4"

0 commit comments

Comments
 (0)