-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
165 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,48 @@ | ||
{% comment %}theme-check-disable AssetPreload{% endcomment %} | ||
{% comment %} | ||
Renders typography variables and tokens. | ||
Renders typography styles and preloads fonts. | ||
Usage: | ||
{% render 'typography' %} | ||
{% endcomment %} | ||
|
||
{% comment %} We check if its a system font, or a web-safe font {% endcomment %} | ||
{% unless settings.enable_custom_font %} | ||
{% unless settings.font_heading.system? %} | ||
<link rel="preload" href="{{ settings.font_heading | font_url }}" type="font/woff2" as="font" fetchpriority="high" crossorigin> | ||
{% endunless %} | ||
{% unless settings.font_heading.system? %} | ||
<link rel="preload" href="{{ settings.font_heading | font_url }}" type="font/woff2" as="font" fetchpriority="high" crossorigin> | ||
{% endunless %} | ||
|
||
{% unless settings.font_body.system? %} | ||
<link rel="preload" href="{{ settings.font_body | font_url }}" type="font/woff2" as="font" fetchpriority="high" crossorigin> | ||
{% endunless %} | ||
{% unless settings.font_body.system? %} | ||
<link rel="preload" href="{{ settings.font_body | font_url }}" type="font/woff2" as="font" fetchpriority="high" crossorigin> | ||
{% endunless %} | ||
|
||
{% style %} | ||
{% unless settings.enable_custom_font %} | ||
{% unless settings.font_heading.system? %} | ||
{% liquid | ||
assign font_heading_medium = settings.font_heading | font_modify: 'weight', '500' | ||
assign font_heading_semi_bold = settings.font_heading | font_modify: 'weight', '600' | ||
assign font_heading_bold = settings.font_heading | font_modify: 'weight', 'bold' | ||
assign font_heading_bold_italic = font_heading_bold | font_modify: 'style', 'italic' | ||
%} | ||
{% unless settings.font_heading.system? %} | ||
{% liquid | ||
assign font_heading_medium = settings.font_heading | font_modify: 'weight', '500' | ||
assign font_heading_semi_bold = settings.font_heading | font_modify: 'weight', '600' | ||
assign font_heading_bold = settings.font_heading | font_modify: 'weight', 'bold' | ||
assign font_heading_bold_italic = font_heading_bold | font_modify: 'style', 'italic' | ||
%} | ||
|
||
{{ settings.font_heading | font_face: font_display: 'swap' }} | ||
{{ font_heading_medium | font_face: font_display: 'swap' }} | ||
{{ font_heading_semi_bold | font_face: font_display: 'swap' }} | ||
{{ font_heading_bold | font_face: font_display: 'swap' }} | ||
{{ font_heading_bold_italic | font_face: font_display: 'swap' }} | ||
{% endunless %} | ||
{{ settings.font_heading | font_face: font_display: 'swap' }} | ||
{{ font_heading_medium | font_face: font_display: 'swap' }} | ||
{{ font_heading_semi_bold | font_face: font_display: 'swap' }} | ||
{{ font_heading_bold | font_face: font_display: 'swap' }} | ||
{{ font_heading_bold_italic | font_face: font_display: 'swap' }} | ||
{% endunless %} | ||
|
||
{% unless settings.font_body.system? %} | ||
{% liquid | ||
assign font_body_semi_bold = settings.font_body | font_modify: 'weight', '500' | ||
assign font_body_bold = settings.font_body | font_modify: 'weight', 'bold' | ||
assign font_body_italic = font_body | font_modify: 'style', 'italic' | ||
assign font_body_bold_italic = font_body_bold | font_modify: 'style', 'italic' | ||
%} | ||
{% unless settings.font_body.system? %} | ||
{% liquid | ||
assign font_body_semi_bold = settings.font_body | font_modify: 'weight', '500' | ||
assign font_body_bold = settings.font_body | font_modify: 'weight', 'bold' | ||
assign font_body_italic = settings.font_body | font_modify: 'style', 'italic' | ||
assign font_body_bold_italic = font_body_bold | font_modify: 'style', 'italic' | ||
%} | ||
|
||
{{ settings.font_body | font_face: font_display: 'swap' }} | ||
{{ font_body_semi_bold | font_face: font_display: 'swap' }} | ||
{{ font_body_bold | font_face: font_display: 'swap' }} | ||
{{ font_body_italic | font_face: font_display: 'swap' }} | ||
{{ font_body_bold_italic | font_face: font_display: 'swap' }} | ||
{% endunless %} | ||
{{ settings.font_body | font_face: font_display: 'swap' }} | ||
{{ font_body_semi_bold | font_face: font_display: 'swap' }} | ||
{{ font_body_bold | font_face: font_display: 'swap' }} | ||
{{ font_body_italic | font_face: font_display: 'swap' }} | ||
{{ font_body_bold_italic | font_face: font_display: 'swap' }} | ||
{% endunless %} | ||
{% endstyle %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
html { | ||
text-size-adjust: 100%; | ||
text-rendering: optimizeLegibility; | ||
font-variant-ligatures: none; | ||
} | ||
|
||
details > summary { | ||
@apply list-none; | ||
} | ||
|
||
details summary::-webkit-details-marker { | ||
@apply hidden; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import type { Config } from 'tailwindcss' | ||
|
||
export default { | ||
content: ['./**/*.{liquid,json,js}'], | ||
content: ['./*/*.{liquid,json,js}'], | ||
theme: {}, | ||
plugins: [] | ||
} satisfies Config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{ | ||
"sections": { | ||
"main": { | ||
"type": "main-404", | ||
"settings": { | ||
} | ||
"type": "main-404" | ||
} | ||
}, | ||
"order": [ | ||
"main" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{ | ||
"sections": { | ||
"main": { | ||
"type": "main-404", | ||
"settings": { | ||
} | ||
"type": "main-404" | ||
} | ||
}, | ||
"order": [ | ||
"main" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{ | ||
"sections": { | ||
"main": { | ||
"type": "main-404", | ||
"settings": { | ||
} | ||
"type": "main-404" | ||
} | ||
}, | ||
"order": [ | ||
"main" | ||
] | ||
} | ||
} |
Oops, something went wrong.