Skip to content

Commit 5e6b42d

Browse files
authored
Merge pull request #1681 from gethinode/templatev2
Templatev2
2 parents 7222195 + 134bb16 commit 5e6b42d

33 files changed

+143
-1992
lines changed

assets/scss/app-dart.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
// Import Bootstrap configuration (mounted by core Bootstrap module)
1515
@import "bootstrap-dart.scss"; // note: modified for dart-sass
1616

17+
// Import responsive utilities (requires Bootstrap variables to be defined)
18+
@import "common/utilities-responsive.scss";
19+
1720
// Include dark mode overrides
1821
@import "common/variables-dark.scss";
1922

assets/scss/app.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// Import Bootstrap configuration (mounted by core Bootstrap module)
1313
@import "bootstrap.scss";
1414

15+
// Import responsive utilities (requires Bootstrap variables to be defined)
16+
@import "common/utilities-responsive.scss";
17+
1518
// Include dark mode overrides
1619
@import "common/variables-dark.scss";
1720

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Responsive utilities that require Bootstrap variables to be defined
2+
// Must be imported AFTER bootstrap.scss
3+
4+
// Make the font-size class responsive (requires $font-sizes from Bootstrap)
5+
$utilities: map-merge(
6+
$utilities,
7+
(
8+
"font-size": (
9+
responsive: true,
10+
rfs: true,
11+
property: font-size,
12+
class: fs,
13+
values: $font-sizes
14+
),
15+
)
16+
);

component-library/components/approach/approach.hugo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
{{- partial "assets/section-title.html" (dict
4949
"heading" $args.heading
5050
"justify" $args.justify
51-
"class" (printf "pb-%d" $padding.y))
51+
"class" (printf "pb-%d" $padding.y))
5252
-}}
5353

5454
{{/* Add featured illustration */}}

component-library/components/articles/articles.hugo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
{{- partial "assets/section-title.html" (dict
7575
"heading" $args.heading
7676
"justify" $args.justify
77-
"class" (printf "pb-%d" $padding.y))
77+
"class" (printf "pb-%d" $padding.y))
7878
-}}
7979

8080
{{ $partial := "assets/card-group.html" }}

component-library/components/cards/cards.hugo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{{- partial "assets/section-title.html" (dict
4444
"heading" $args.heading
4545
"justify" $args.justify
46-
"class" (printf "pb-%d" $padding.y))
46+
"class" (printf "pb-%d" $padding.y))
4747
-}}
4848

4949
{{/* Init base arguments for card group */}}

component-library/components/faq/faq.hugo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{{- partial "assets/section-title.html" (dict
2727
"heading" $args.heading
2828
"justify" $args.justify
29-
"class" (printf "pb-%d" $padding.y))
29+
"class" (printf "pb-%d" $padding.y))
3030
-}}
3131

3232
{{ $class := "" }}

component-library/components/menu/menu.hugo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{{- partial "assets/section-title.html" (dict
2828
"heading" $args.heading
2929
"justify" $args.justify
30-
"class" (printf "pb-%d" $padding.y))
30+
"class" (printf "pb-%d" $padding.y))
3131
-}}
3232

3333
{{- partial "assets/menu.html" (dict

component-library/components/panels/panels.hugo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
{{- partial "assets/section-title.html" (dict
6868
"heading" $args.heading
6969
"justify" $args.justify
70-
"class" (printf "pb-%d" $padding.y))
70+
"class" (printf "pb-%d" $padding.y))
7171
-}}
7272

7373
{{- partial "assets/nav.html" (dict

component-library/components/team/team.hugo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
{{- partial "assets/section-title.html" (dict
6666
"heading" $args.heading
6767
"justify" $args.justify
68-
"class" (printf "pb-%d" $padding.y))
68+
"class" (printf "pb-%d" $padding.y))
6969
-}}
7070

7171
{{ $partial := "assets/card-group.html" }}

0 commit comments

Comments
 (0)