Style Guide Blocks Specification

Generic Info

Author: Tom Cranstoun Role: AEM Consultant Company: Digital Domain Technologies Ltd

AI Prompt, (c) Tom Cranstoun, September 2024, V 1.1

Goal

Create a set of Franklin blocks to generate a comprehensive style guide for a given website URL, following standard Franklin development rules and industry best practices.

Objectives

  1. Analyze the visual design of a provided website URL
  2. Create modular Franklin blocks representing key design elements
  3. Generate a cohesive style guide demonstrating the website's visual language
  4. Provide clear documentation and examples for each created block
  5. Ensure maintainability, scalability, and cross-browser compatibility

Key Components

1. Design Analysis

2. Franklin Block Creation

Generate the following blocks:

Each block should include:

3. Style Guide Demo Page

Create a main demo.md file in the scrap folder:

4. Asset Management

5. Styling and Theming

6. Accessibility

7. Interactivity

Technical Requirements

Internationalization and Localization

SEO Considerations

Deliverables

  1. Set of Franklin blocks representing the website's visual style
  2. Comprehensive demo.md file showcasing the style guide
  3. Documentation (README.md and EXAMPLE.md) for each block
  4. Optimized assets and styling files

Success Criteria

This specification provides a comprehensive approach to creating a visual style guide using Franklin blocks, ensuring a thorough, maintainable, and future-proof output for implementing consistent design across web projects.