Check OpenStride design compliance. Run the following verifications:
Hardcoded colors: Search in
src/andplugins/for forbidden colors (#88aa00, #6d8a00, #10b981, #059669, or any hex color in .vue files that isn't in variables.css). Use Grep.Emojis in code: Search for Unicode emojis in .vue and .ts files under
src/andplugins/. Emojis are forbidden in production code (OK in doc comments).Icons without aria-hidden: Search for
<i class="faelements missingaria-hidden="true"in .vue files.Forbidden imports in plugins: Search in
plugins/for direct imports of core services:import.*from.*@/services/ActivityDBServiceimport.*from.*@/services/IndexedDBServiceimport.*from.*@/services/ToastService
For each violation found:
- Show the file, line number, and content
- Explain why it's forbidden
- Suggest the fix (reference docs/DESIGN_GUIDELINES.md or docs/PLUGIN_GUIDELINES.md)
At the end, show a summary: X violations found (Y colors, Z emojis, W icons, V imports). If 0 violations: "Design check passed"
Converted and distributed by TomeVault — claim your Tome and manage your conversions.