// Apply ZyntroTest brand guidelines and design system to all UI components. Use this skill when building, modifying, or reviewing any HTML/CSS components, pages, or features for ZyntroTest.com to ensure brand consistency, proper styling, and adherence to the established design system. This skill should be proactively applied whenever creating or editing visual elements, forms, buttons, cards, layouts, or any user-facing components.
| name | zyntro-ui-guidelines |
| description | Apply ZyntroTest brand guidelines and design system to all UI components. Use this skill when building, modifying, or reviewing any HTML/CSS components, pages, or features for ZyntroTest.com to ensure brand consistency, proper styling, and adherence to the established design system. This skill should be proactively applied whenever creating or editing visual elements, forms, buttons, cards, layouts, or any user-facing components. |
This skill provides comprehensive brand guidelines and UI component standards for ZyntroTest.com, ensuring all components maintain visual consistency, follow the established design system, and deliver a professional, cohesive user experience. Apply these guidelines to all UI development work.
Use this skill proactively whenever:
Do not wait for the user to ask - proactively apply these guidelines to maintain brand consistency.
When starting any UI work, first read the complete brand guidelines:
Read: references/brand-guidelines.md
This file contains:
Key Reference Sections:
var(--primary-blue), var(--gray-600), etc.)var(--text-xl), var(--font-display), etc.var(--space-md), var(--space-lg), etc.When building specific components, consult the component library:
Read: references/component-library.md
This file provides:
Search Patterns:
When creating or modifying components:
Check if a standard component exists in component-library.md
Apply design system values from brand-guidelines.md
#FF0000 instead of var(--primary-blue))var(--space-md) not 20px)Ensure mobile-first responsive design
Include proper accessibility
Verify current component matches brand guidelines
Make changes while maintaining consistency
Update related components if needed
Before completing any UI work, verify:
#2563eb directly)var(--space-*))var(--transition-base))# Step 1: Read component library for button patterns
Read: references/component-library.md
# Step 2: Find "Button Components" section
# Step 3: Use the exact HTML structure and classes:
<a href="#" class="btn btn-primary">Button Text</a>
# Step 4: Verify it uses brand colors:
# .btn-primary uses var(--primary-blue) โ
# Step 1: Check if card pattern exists
Read: references/component-library.md (search for "Card Components")
# Step 2: Use standard card structure with design system values
<div class="service-card">
<div class="service-icon">๐ฌ</div>
<h3>Title (var(--text-xl))</h3>
<p>Description (var(--text-base))</p>
</div>
# Step 3: Apply standard styling:
# - Border-radius: var(--radius-lg)
# - Shadow: var(--shadow-md)
# - Padding: var(--space-lg)
# Step 1: Read brand guidelines for overall structure
Read: references/brand-guidelines.md
# Step 2: Read component library for layout patterns
Read: references/component-library.md (search for "Section Components")
# Step 3: Build page using:
# - Standard header component
# - Hero section (if needed)
# - Content sections with proper spacing
# - Standard footer component
# Step 4: Ensure consistency:
# - Use section padding: var(--space-2xl) mobile, var(--space-3xl) desktop
# - Use container with proper padding
# - Follow typography hierarchy
# Step 1: Identify what's inconsistent
# Example: Button uses #2563eb instead of var(--primary-blue)
# Step 2: Check brand guidelines for correct value
Read: references/brand-guidelines.md (search for "Primary Colors")
# Step 3: Replace with CSS variable
# Before: background: #2563eb;
# After: background: var(--primary-blue);
# Step 4: Check for other instances and fix them too
When writing copy for components, follow these principles:
See references/brand-guidelines.md > "Brand Voice & Messaging" for detailed guidelines.
When creating or modifying components, provide:
The ZyntroTest.com project already implements this design system in:
css/style.css - Contains all CSS variables and component stylesjs/script.js - Contains shared UI functionalityWhen modifying the codebase:
:rootAll design system values are defined as CSS variables in css/style.css:
:root {
/* Colors */
--primary-blue: #2563eb;
--gray-900: #0f172a;
--white: #ffffff;
/* Typography */
--font-primary: 'Roboto', sans-serif;
--text-xl: 1.25rem;
/* Spacing */
--space-lg: 2rem;
/* Effects */
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
--radius-md: 0.5rem;
--transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
Always reference these variables, never duplicate or hard-code values.
User Request: "Add a new service card for hemp testing"
Correct Approach:
# Step 1: Read component library for service card pattern
Read: references/component-library.md
# Step 2: Use standard service card structure
<div class="service-card">
<div class="service-icon">๐ฟ</div>
<h3>Cannabis/Hemp Testing</h3>
<p>Quantify THC/CBD and screen for pesticides or mycotoxins using LCMS-DAD.</p>
<ul class="service-features">
<li>โ Cannabinoid potency profile</li>
<li>โ Pesticide screening</li>
<li>โ 5-7 business day turnaround</li>
</ul>
<div class="service-price">Starting at $225/sample</div>
<a href="contact.html" class="btn btn-primary">Request Quote</a>
</div>
Why this is correct:
.service-card componentUser Request: "Add a call-to-action section encouraging users to submit samples"
Correct Approach:
# Step 1: Check brand guidelines for CTA language
Read: references/brand-guidelines.md (search for "Call-to-Action Language")
# Step 2: Use standard section component
Read: references/component-library.md (search for "Hero Section")
<section class="cta-section" style="background: var(--gray-50); padding: var(--space-3xl) 0;">
<div class="container" style="text-align: center;">
<h2 style="color: var(--gray-900); font-size: var(--text-3xl); margin-bottom: var(--space-md);">
Ready to Get Started?
</h2>
<p style="color: var(--gray-600); font-size: var(--text-lg); margin-bottom: var(--space-xl); max-width: 600px; margin-left: auto; margin-right: auto;">
Submit your samples today and receive detailed, accurate COAs within 3-5 business days.
</p>
<div style="display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap;">
<a href="sample-submission.html" class="btn btn-primary">Submit Sample</a>
<a href="contact.html" class="btn btn-outline">Contact Lab</a>
</div>
</div>
</section>
Why this is correct:
var(--gray-50), var(--space-3xl), etc.)var(--text-3xl), var(--text-lg))User Request: "Review this button and fix any issues"
Existing Code:
<a href="#" style="background: #2563eb; padding: 15px 30px; color: white; border-radius: 8px;">
Click Here
</a>
Corrected Code:
<a href="#" class="btn btn-primary">
Get Started
</a>
Changes Made:
.btn-primary classSolution:
Solution:
Solution:
When updating this skill:
Update brand-guidelines.md when:
Update component-library.md when:
Keep examples current with actual usage patterns from the site
This skill ensures all UI work on ZyntroTest.com maintains:
Always read the reference documents and apply guidelines proactively to maintain the high quality and consistency of the ZyntroTest brand.