Skip to content

Commit 2828cc7

Browse files
committed
Replace outer-grid utilities with stack utilities
1 parent bfe91ad commit 2828cc7

10 files changed

+14
-9
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v3.0.0 (2023-12-01)
4+
5+
### What's new
6+
- Replace `outer-grid` with `stack` utilities in all stubs. See [this PR](https://github.com/studio1902/statamic-peak/pull/363) for more information. 7a631585 by @robdekort
7+
38
## v2.7.0 (2023-11-17)
49

510
### What's new

resources/stubs/index.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#}}
55

66
<!-- /{{ filename }}/index.antlers.html -->
7-
<main class="outer-grid" id="content">
7+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
88
{{ page_builder scope="block" }}
99
{{ partial src="page_builder/{type}" }}
1010
{{ /page_builder }}

resources/stubs/presets/events/index.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#}}
55

66
<!-- /{{ handle }}/index.antlers.html -->
7-
<main class="outer-grid" id="content">
7+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
88
{{ page_builder scope="block" }}
99
{{ partial src="page_builder/{type}" }}
1010
{{ /page_builder }}

resources/stubs/presets/events/show.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242
</script>
4343

44-
<main class="outer-grid" id="content">
44+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
4545
<section class="fluid-container grid md:grid-cols-12 gap-8 lg:-mb-12">
4646
<header class="md:col-span-8 md:col-start-3">
4747
{{ partial:typography/h1 :content="title" class="mt-4 text-center" }}

resources/stubs/presets/news/index.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#}}
55

66
<!-- /{{ handle }}/index.antlers.html -->
7-
<main class="outer-grid" id="content">
7+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
88
{{ page_builder scope="block" }}
99
{{ partial src="page_builder/{type}" }}
1010
{{ /page_builder }}

resources/stubs/presets/news/show.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
}
3232
</script>
33-
<main class="outer-grid" id="content">
33+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
3434
<div class="fluid-container grid md:grid-cols-12 gap-8 lg:-mb-12">
3535
<header class="md:col-span-8 md:col-start-3">
3636
{{ partial:typography/time :content="date" class="block text-center" }}

resources/stubs/presets/search/search.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{{ /section:seo_title }}
1010

1111
<!-- /search.antlers.html -->
12-
<main class="outer-grid" id="content">
12+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
1313
<section class="fluid-container grid grid-cols-12 gap-y-6">
1414
<div class="col-span-12 md:col-span-8 md:col-start-3">
1515
{{ partial:typography/h1 class="mb-2" content="{trans:strings.search_results_for} &OpenCurlyDoubleQuote;<span class='italic'>{get:q}</span>&CloseCurlyDoubleQuote;" }}

resources/stubs/presets/vacancies/index.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#}}
55

66
<!-- /{{ handle }}/index.antlers.html -->
7-
<main class="outer-grid" id="content">
7+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
88
{{ page_builder scope="block" }}
99
{{ partial src="page_builder/{type}" }}
1010
{{ /page_builder }}

resources/stubs/presets/vacancies/show.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
}
4343
</script>
4444

45-
<main class="outer-grid" id="content">
45+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
4646
<section class="fluid-container grid md:grid-cols-12 gap-12">
4747
{{ partial:typography/h1 :content="title" class="md:col-span-12" }}
4848

resources/stubs/show.antlers.html.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#}}
55

66
<!-- /{{ filename }}/show.antlers.html -->
7-
<main class="outer-grid" id="content">
7+
<main class="py-12 md:py-16 lg:py-24 stack-12 md:stack-16 lg:stack-24" id="content">
88
<div class="fluid-container">
99
{{ partial:typography/h1 :content="title" }}
1010
</div>

0 commit comments

Comments
 (0)