Skip to content

Commit de4534d

Browse files
authored
Merge pull request #854 from poppastring/align-bootstrap-5.3.3
Align Bootswatch swatches to Bootstrap 5.3.3 and modernize libman.json
2 parents d5e57cd + c3ae2ae commit de4534d

9 files changed

Lines changed: 54 additions & 40 deletions

File tree

source/DasBlog.Web/Themes/darkly/_Layout.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
<open-graph />
2020
<blog-posting-schema />
2121

22-
@* Darkly is a Bootswatch 5.3.8 swatch (https://bootswatch.com/darkly/).
23-
The full Bootstrap + Darkly palette ships from ~/lib/bootswatch/5.3.8/darkly/,
22+
@* Darkly is a Bootswatch 5.3.3 swatch (https://bootswatch.com/darkly/).
23+
The full Bootstrap + Darkly palette ships from ~/lib/bootswatch/5.3.3/darkly/,
2424
and the small DasBlog-specific overrides come from ~/Themes/darkly/custom.css
2525
loaded by _HtmlThemePartial. *@
2626

27-
<link rel="stylesheet" href="~/lib/bootswatch/5.3.8/darkly/bootstrap.min.css" />
27+
<link rel="stylesheet" href="~/lib/bootswatch/5.3.3/darkly/bootstrap.min.css" />
2828
<link rel="stylesheet" href="~/lib/font-awesome/6.7.2/css/all.css" />
2929

3030
<partial name="_HtmlThemePartial" />

source/DasBlog.Web/Themes/darkly/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/* DasBlog darkly theme local overrides — layered on top of Bootswatch 5.3.8 Darkly,
1+
/* DasBlog darkly theme local overrides — layered on top of Bootswatch 5.3.3 Darkly,
22
which is linked separately from _Layout.cshtml as
3-
~/lib/bootswatch/5.3.8/darkly/bootstrap.min.css. */
3+
~/lib/bootswatch/5.3.3/darkly/bootstrap.min.css. */
44
body {
55
/* padding-top: 50px; */
66
padding-bottom: 20px;

source/DasBlog.Web/Themes/flatly/_Layout.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
<open-graph />
2020
<blog-posting-schema />
2121

22-
@* Flatly is a Bootswatch 5.3.8 Flatly swatch (https://bootswatch.com/flatly/).
23-
The full Bootstrap + Flatly palette ships from ~/lib/bootswatch/5.3.8/flatly/,
22+
@* Flatly is a Bootswatch 5.3.3 Flatly swatch (https://bootswatch.com/flatly/).
23+
The full Bootstrap + Flatly palette ships from ~/lib/bootswatch/5.3.3/flatly/,
2424
and the small DasBlog-specific overrides come from ~/Themes/flatly/custom.css
2525
loaded by _HtmlThemePartial. *@
2626

27-
<link rel="stylesheet" href="~/lib/bootswatch/5.3.8/flatly/bootstrap.min.css" />
27+
<link rel="stylesheet" href="~/lib/bootswatch/5.3.3/flatly/bootstrap.min.css" />
2828
<link rel="stylesheet" href="~/lib/font-awesome/6.7.2/css/all.css" />
2929

3030
<partial name="_HtmlThemePartial" />

source/DasBlog.Web/Themes/flatly/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/* DasBlog flatly theme local overrides — layered on top of Bootswatch 5.3.8 Flatly,
1+
/* DasBlog flatly theme local overrides — layered on top of Bootswatch 5.3.3 Flatly,
22
which is linked separately from _Layout.cshtml as
3-
~/lib/bootswatch/5.3.8/flatly/bootstrap.min.css.
3+
~/lib/bootswatch/5.3.3/flatly/bootstrap.min.css.
44
55
Bootswatch Flatly's stock link/accent color is green (#18bc9c). We prefer
66
Flatly's blue palette — navy primary (#2c3e50) for headings and a brighter

source/DasBlog.Web/libman.json

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@
44
"libraries": [
55
{
66
"provider": "cdnjs",
7-
"library": "twitter-bootstrap@3.3.7",
8-
"destination": "wwwroot/lib/bootstrap/dist"
7+
"library": "twitter-bootstrap@5.3.3",
8+
"destination": "wwwroot/lib/bootstrap/5.3.3/"
99
},
1010
{
1111
"provider": "cdnjs",
12-
"library": "jquery@2.2.0",
13-
"destination": "wwwroot/lib/jquery/dist/"
12+
"library": "bootswatch@5.3.3",
13+
"destination": "wwwroot/lib/bootswatch/5.3.3/",
14+
"files": [
15+
"darkly/bootstrap.min.css",
16+
"flatly/bootstrap.min.css"
17+
]
18+
},
19+
{
20+
"provider": "cdnjs",
21+
"library": "jquery@3.5.1",
22+
"destination": "wwwroot/lib/jquery/3.5.1/"
1423
},
1524
{
1625
"provider": "cdnjs",
@@ -19,14 +28,19 @@
1928
},
2029
{
2130
"provider": "cdnjs",
22-
"library": "jquery-validate@1.14.0",
31+
"library": "jquery-validate@1.19.5",
2332
"destination": "wwwroot/lib/jquery-validation/dist/",
2433
"files": [
2534
"jquery.validate.min.js",
2635
"jquery.validate.js",
2736
"additional-methods.min.js",
2837
"additional-methods.js"
2938
]
39+
},
40+
{
41+
"provider": "cdnjs",
42+
"library": "font-awesome@6.7.2",
43+
"destination": "wwwroot/lib/font-awesome/6.7.2/"
3044
}
3145
]
32-
}
46+
}

source/DasBlog.Web/wwwroot/lib/bootswatch/5.3.3/darkly/bootstrap.min.css

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/DasBlog.Web/wwwroot/lib/bootswatch/5.3.3/flatly/bootstrap.min.css

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/DasBlog.Web/wwwroot/lib/bootswatch/5.3.8/darkly/bootstrap.min.css

Lines changed: 0 additions & 12 deletions
This file was deleted.

source/DasBlog.Web/wwwroot/lib/bootswatch/5.3.8/flatly/bootstrap.min.css

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)