Initial Shopify theme

This commit is contained in:
2026-09-25 13:26:23 -06:00
parent 462ac0c5de
commit 2e6142e55b
54 changed files with 3753 additions and 1 deletions
+117
View File
@@ -0,0 +1,117 @@
/** Critical CSS for the theme. This file is included on every page. */
/* Reset styles inspired by https://www.joshwcomeau.com/css/custom-css-reset/ */
* {
box-sizing: border-box;
margin: 0;
}
body {
display: flex;
flex-direction: column;
margin: 0;
min-height: 100svh;
}
html:has(dialog[scroll-lock][open], details[scroll-lock][open]) {
overflow: hidden;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
height: auto;
}
input,
textarea,
select {
font: inherit;
border-radius: var(--style-border-radius-inputs);
}
select {
background-color: var(--color-background);
color: currentcolor;
}
dialog {
background-color: var(--color-background);
color: var(--color-foreground);
}
p {
text-wrap: pretty;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
p:empty {
display: none;
}
:is(p, h1, h2, h3, h4, h5, h6):first-child,
:empty:first-child + :where(p, h1, h2, h3, h4, h5, h6) {
margin-block-start: 0;
}
:is(p, h1, h2, h3, h4, h5, h6):last-child,
:where(p, h1, h2, h3, h4, h5, h6) + :has(+ :empty:last-child) {
margin-block-end: 0;
}
/** Theme styles below */
body {
font-family: var(--font-primary--family);
background-color: var(--color-background);
color: var(--color-foreground);
}
/** Section layout utilities */
/**
* Setup a grid that enables both full-width and constrained layouts
* depending on the class of the child elements.
*
* By default, a minimum content margin is set on the left and right
* sides of the section and the content is centered in the viewport to
* not exceed the maximum page width.
*
* When a child element is given the `full-width` class, it will span
* the entire viewport.
*/
.shopify-section {
--content-width: min(
calc(var(--page-width) - var(--page-margin) * 2),
calc(100% - var(--page-margin) * 2)
);
--content-margin: minmax(var(--page-margin), 1fr);
--content-grid: var(--content-margin) var(--content-width) var(--content-margin);
/* This is required to make <img> elements work as background images */
position: relative;
grid-template-columns: var(--content-grid);
display: grid;
width: 100%;
}
/* Child elements, by default, are constrained to the central column of the grid. */
.shopify-section > * {
grid-column: 2;
}
/* Child elements that use the full-width utility class span the entire viewport. */
.shopify-section > .full-width {
grid-column: 1 / -1;
}
+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" slot="signed-out-avatar">
<circle cx="10" cy="6.5" r="2.75" stroke="currentColor" stroke-width="var(--icon-stroke-width)" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="var(--icon-stroke-width)"
d="m5.172 14.591-.437.786a.588.588 0 0 0 .514.873h9.502a.588.588 0 0 0 .514-.873l-.437-.786a5.523 5.523 0 0 0-9.656 0" />
</svg>

After

Width:  |  Height:  |  Size: 453 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="var(--icon-stroke-width)"
d="M3.392 6.875h13.216v8.016c0 .567-.224 1.112-.624 1.513-.4.402-.941.627-1.506.627H5.522a2.13 2.13 0 0 1-1.506-.627 2.15 2.15 0 0 1-.624-1.513zM8.818 2.969h2.333c.618 0 1.211.247 1.649.686a2.35 2.35 0 0 1 .683 1.658v1.562H6.486V5.313c0-.622.246-1.218.683-1.658a2.33 2.33 0 0 1 1.65-.686" />
</svg>

After

Width:  |  Height:  |  Size: 496 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB