-
Notifications
You must be signed in to change notification settings - Fork 267
Add development standards documentation for theme components #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
bdc1d0a
d81cd58
e433714
b90be3c
9e227e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,207 @@ | ||||
| # Prompts and References | ||||
|
|
||||
| Always Apply Rule: [Prompts and References](.cursor/rules/prompts-and-references.mdc) | ||||
|
|
||||
| ## CSS Standards | ||||
|
|
||||
| Writing CSS, whether inside .css files or in the `{% stylesheet %}…{% endstylesheet %}` or `{% style %}…{% endstyle %}` tags | ||||
|
|
||||
| Rules: [CSS Standards](.cursor/rules/css-standards.mdc) | ||||
|
|
||||
| ## JavaScript Standards | ||||
|
|
||||
| Writing JavaScript inside `.js` files, or within the `{% javascript %}` or `{% script %}` tags in `.liquid` files. | ||||
|
|
||||
| Rules: [JavaScript Standards](.cursor/rules/javascript-standards.mdc) | ||||
|
|
||||
| ## Liquid Syntax Standards | ||||
|
|
||||
| Liquid syntax standards | ||||
|
|
||||
| Liquid Rules: [Liquid Syntax Standards](.cursor/rules/liquid.mdc) | ||||
|
|
||||
| ## Localization Standards | ||||
|
|
||||
| Localization coding standards and best practices guide | ||||
|
|
||||
| Liquid Schemas Rules: [Localization Standards](.cursor/rules/localization.mdc) | ||||
|
|
||||
| ## Modern HTML Standards | ||||
|
|
||||
| Liquid Rules: [Modern HTML Standards](.cursor/rules/html-standards.mdc) | ||||
|
|
||||
| ## Accessibility | ||||
|
|
||||
|
Comment on lines
+33
to
+34
|
||||
| ## Accessibility |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Assets | ||
|
|
||
| Static files (css, js, and images) for theme templates | ||
|
|
||
| Rules: [Assets](../.cursor/rules/assets.mdc) |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,9 @@ | ||||||
| # Theme Blocks Development Standards | ||||||
|
|
||||||
| Development standards and best practices for creating/configuring/styling theme blocks, including static and nested blocks, schema configuration, CSS, and usage examples | ||||||
|
|
||||||
| Liquid Rules: [Theme Blocks](../.cursor/rules/blocks.mdc) | ||||||
|
|
||||||
| ## Schema Standards | ||||||
|
|
||||||
| Liquid Rules: [Schema Standards](../.cursor/rules/schemas.mdc) | ||||||
|
||||||
| Liquid Rules: [Schema Standards](../.cursor/rules/schemas.mdc) | |
| Rules: [Schema Standards](../.cursor/rules/schemas.mdc) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Settings Schema Standards | ||
|
|
||
| Guidelines and examples for organizing and structuring the Shopify theme settings schema. | ||
|
|
||
| Settings Schema Rules: [Theme Settings](../.cursor/rules/theme-settings.mdc) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Translation Development Standards | ||
|
|
||
| Locales coding standards and best practices guide | ||
|
|
||
| JSON Rules: [Locales](../.cursor/rules/locales.mdc) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Schema Standards | ||
|
|
||
| Rules: [Schema Standards](../.cursor/rules/schemas.mdc) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Section Development Standards | ||
|
|
||
| Section coding standards and best practices guide | ||
|
|
||
| Liquid Rules: [Section Development Standards](../.cursor/rules/sections.mdc) | ||
|
|
||
| ## Schema Standards | ||
|
|
||
| Liquid Rules: [Schema Standards](../.cursor/rules/schemas.mdc) | ||
|
SmolSoftBoi marked this conversation as resolved.
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Snippet Development Standards | ||
|
|
||
| Liquid Rules: [Snippet Development Standards](../.cursor/rules/snippets.mdc) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Templates | ||
|
|
||
| JSON Rules: [Templates](../.cursor/rules/templates.mdc) |
Uh oh!
There was an error while loading. Please reload this page.