commits
- Rewrite README to focus on the new GADT heterogeneous list interface
- Add comprehensive examples from layout_and_spacing_03.ml and other demos
- Showcase CSS Grid support, built-in components, and type safety benefits
- Include detailed API reference for all GADT property categories
- Update installation and getting started sections for the new interface
- Remove outdated verbose Tailwind syntax examples in favor of succinct GADT syntax
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0/1
- Add proper rendering for helper_text and error_text fields in form inputs
- Implement styled helper text (gray) and error text (red) with appropriate spacing
- Wrap form elements with help text in container div when needed
- Resolve unused field warnings that were preventing compilation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add Grid support to GADT interface: Display_grid, Grid_cols, Grid_rows, Gap, Gap_x, Gap_y
- Convert all examples from verbose Tailwind syntax to succinct GADT heterogeneous lists
- Remove obsolete gadt_demo.ml and type_safety_test.ml examples
- Update index generator to showcase Grid functionality across all examples
- Ensure comprehensive Grid usage in layout, spacing, and component demos
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replaces verbose interface with type-safe heterogeneous list API. Removes separate Tw module and integrates all GADT functionality into Tailwind_html. Updates all examples to use consolidated interface with succinct ~styles parameter.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Transform verbose Tailwind class construction into concise, type-safe combinators:
- Add utility functions: blue 600, gray 50, rem 1.0, txt "text"
- Add utility classes: flex, items_center, font_bold, rounded_lg
- Add enhanced elements: h1/h2/p_styled with styling parameters
- Add simple components: container, card, btn_primary, btn_secondary
- Remove module re-exports from Tailwind (use Tailwind directly)
- Update hello_tailwind example to demonstrate new succinct API
- Add button_demo example showcasing before/after comparison
Reduces ~10 lines of verbose class construction to 1 line:
h1 ~size:\`Xl2 ~weight:\`Bold ~color:(blue 600) [txt "Hello\!"]
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove separate V4 module (library is Tailwind v4 only)
- Move V4 functions to appropriate submodules:
• text_shadow, mask, perspective → Effects module
• starting_style → Variants module (convenience function)
- Move accessibility functions to Layout module:
• sr_only, focus_ring → Layout module
- Move tw function from top-level to Css module (better logical organization)
- Update all examples and tests to use Css.tw instead of tw
- Update tailwind-html library to use Tailwind.Css.tw
Breaking change: tw function moved from Tailwind.tw to Css.tw
Migration: Replace `tw [...]` with `Css.tw [...]` or `Tailwind.Css.tw [...]`
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove max-w-72 (18rem) constraint from index page container
- Remove max-w-42 (10.5rem) constraint from hello world page container
- Use responsive Tailwind grid conventions instead of fixed widths
- Pages now expand to use full available width while maintaining proper centering
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove file writing and debug output from responsive_design_04.ml
- Change to output HTML to stdout for dune build system integration
- Add missing max-width spacing value to theme
- HTML now properly renders responsive design demo with:
* Responsive grid (1→2→3→4 columns)
* Responsive typography scaling
* Show/hide elements at breakpoints
* Responsive spacing examples
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add @source directive to input.css to scan HTML files in _build directory
- Remove explicit --content flags from dune rules (now handled by @source)
- Add comprehensive @theme definition with colors, spacing, typography, borders, and shadows
- Resolve issue where Tailwind v4 CLI ignores files in .gitignored directories
The examples now properly generate all required Tailwind CSS classes including:
- Colors: bg-gray-50, text-blue-600, text-gray-800, etc.
- Spacing: p-2, mb-1, mt-2, max-w-42, etc.
- Typography: font-bold, font-semibold
- Effects: shadow-sm, rounded-lg, rounded-sm
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Create index_html_generator.ml that generates a beautiful index page
- Add comprehensive example descriptions and feature tags
- Link to all numbered tutorial examples (01-07) with descriptions
- Include responsive grid layout using type-safe Tailwind classes
- Add hover effects and proper styling for better user experience
- Integrate with dune build system to generate index.html automatically
- Add index.html to examples-html alias and install rules
- Reuse CSS from hello_tailwind_01.css to minimize dependencies
The index page provides:
- Progressive tutorial overview with clear descriptions
- Visual feature tags for each example
- Direct links to individual example pages
- Professional styling consistent with library design
- Mobile-responsive layout
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove basic_usage, module_usage, advanced_features and other legacy examples
- Keep clean numbered sequence: index_00 through comprehensive_showcase_07
- Update dune file to remove legacy executables definition
- Simplify learning path to focus on progressive tutorial structure
The remaining examples provide a complete learning journey:
- 00: Index/guide explaining the learning path
- 01: Hello Tailwind - basic concepts
- 02: Colors and Typography - type system exploration
- 03: Layout and Spacing - box model and flexbox
- 04: Responsive Design - breakpoints and responsive utilities
- 05: Effects and Variants - interactive elements and hover states
- 06: Patterns and Components - reusable layout patterns
- 07: Comprehensive Showcase - real-world application demo
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
## Core Library Enhancements
- Add comprehensive module coverage: colors, typography, layout, spacing, effects
- Implement responsive design utilities with breakpoint system
- Add flexbox and grid layout systems with full utility coverage
- Create patterns module for common layout patterns (flex_center, stack, etc.)
- Add variants system for hover, focus, active states
- Implement size system with rem, px, percentage, and viewport units
## HTML Integration Library
- Complete tailwind-html package with component system
- Add button, card, form, and layout components
- Create CLI integration module for Tailwind CSS processing
- Implement proper component composition patterns
## Example Suite
- Add progressive tutorial sequence (00-07) covering all major concepts
- Include comprehensive examples for layout, typography, responsive design
- Add real-world application showcase demonstrating library capabilities
- Create index guide explaining learning path and example structure
## Testing & Documentation
- Add comprehensive test suite covering all modules
- Include property-based testing with QCheck
- Add README with installation and usage instructions
- Document all public APIs with comprehensive examples
## Build System
- Update dune-project with proper package definitions
- Add test dependencies and documentation generation
- Update opam files with correct dependencies
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive dune build system integration with Tailwind CLI v4
- Create input.css for centralized CSS configuration without inline styles
- Add CLI helper module for Tailwind CSS processing via npx @tailwindcss/cli
- Fix examples to output valid HTML instead of text descriptions
- Convert hello_tailwind_01.ml to use pure library API instead of raw class strings
- Update build system to generate both HTML and CSS files from OCaml examples
- Add proper HTML generation pipeline: OCaml -> HTML -> Tailwind CSS processing
- Fix effects_and_variants_05.ml and patterns_and_components_06.ml output issues
- Remove problematic responsive classes and @apply directives causing v4 CLI errors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Core tailwind library with complete CSS class generation
- Comprehensive module system (Color, Size, Spacing, Display, etc.)
- Full Tailwind v4 feature support (container queries, starting-style, text shadows)
- Complete variants system with 20+ pseudo-classes
- Advanced effects (transforms, backdrop blur, shadows)
- Responsive design with media queries and breakpoints
- tailwind-html integration library for Htmlit components
- Working examples demonstrating all features
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Rewrite README to focus on the new GADT heterogeneous list interface
- Add comprehensive examples from layout_and_spacing_03.ml and other demos
- Showcase CSS Grid support, built-in components, and type safety benefits
- Include detailed API reference for all GADT property categories
- Update installation and getting started sections for the new interface
- Remove outdated verbose Tailwind syntax examples in favor of succinct GADT syntax
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add proper rendering for helper_text and error_text fields in form inputs
- Implement styled helper text (gray) and error text (red) with appropriate spacing
- Wrap form elements with help text in container div when needed
- Resolve unused field warnings that were preventing compilation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add Grid support to GADT interface: Display_grid, Grid_cols, Grid_rows, Gap, Gap_x, Gap_y
- Convert all examples from verbose Tailwind syntax to succinct GADT heterogeneous lists
- Remove obsolete gadt_demo.ml and type_safety_test.ml examples
- Update index generator to showcase Grid functionality across all examples
- Ensure comprehensive Grid usage in layout, spacing, and component demos
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replaces verbose interface with type-safe heterogeneous list API. Removes separate Tw module and integrates all GADT functionality into Tailwind_html. Updates all examples to use consolidated interface with succinct ~styles parameter.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Transform verbose Tailwind class construction into concise, type-safe combinators:
- Add utility functions: blue 600, gray 50, rem 1.0, txt "text"
- Add utility classes: flex, items_center, font_bold, rounded_lg
- Add enhanced elements: h1/h2/p_styled with styling parameters
- Add simple components: container, card, btn_primary, btn_secondary
- Remove module re-exports from Tailwind (use Tailwind directly)
- Update hello_tailwind example to demonstrate new succinct API
- Add button_demo example showcasing before/after comparison
Reduces ~10 lines of verbose class construction to 1 line:
h1 ~size:\`Xl2 ~weight:\`Bold ~color:(blue 600) [txt "Hello\!"]
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove separate V4 module (library is Tailwind v4 only)
- Move V4 functions to appropriate submodules:
• text_shadow, mask, perspective → Effects module
• starting_style → Variants module (convenience function)
- Move accessibility functions to Layout module:
• sr_only, focus_ring → Layout module
- Move tw function from top-level to Css module (better logical organization)
- Update all examples and tests to use Css.tw instead of tw
- Update tailwind-html library to use Tailwind.Css.tw
Breaking change: tw function moved from Tailwind.tw to Css.tw
Migration: Replace `tw [...]` with `Css.tw [...]` or `Tailwind.Css.tw [...]`
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove max-w-72 (18rem) constraint from index page container
- Remove max-w-42 (10.5rem) constraint from hello world page container
- Use responsive Tailwind grid conventions instead of fixed widths
- Pages now expand to use full available width while maintaining proper centering
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove file writing and debug output from responsive_design_04.ml
- Change to output HTML to stdout for dune build system integration
- Add missing max-width spacing value to theme
- HTML now properly renders responsive design demo with:
* Responsive grid (1→2→3→4 columns)
* Responsive typography scaling
* Show/hide elements at breakpoints
* Responsive spacing examples
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add @source directive to input.css to scan HTML files in _build directory
- Remove explicit --content flags from dune rules (now handled by @source)
- Add comprehensive @theme definition with colors, spacing, typography, borders, and shadows
- Resolve issue where Tailwind v4 CLI ignores files in .gitignored directories
The examples now properly generate all required Tailwind CSS classes including:
- Colors: bg-gray-50, text-blue-600, text-gray-800, etc.
- Spacing: p-2, mb-1, mt-2, max-w-42, etc.
- Typography: font-bold, font-semibold
- Effects: shadow-sm, rounded-lg, rounded-sm
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Create index_html_generator.ml that generates a beautiful index page
- Add comprehensive example descriptions and feature tags
- Link to all numbered tutorial examples (01-07) with descriptions
- Include responsive grid layout using type-safe Tailwind classes
- Add hover effects and proper styling for better user experience
- Integrate with dune build system to generate index.html automatically
- Add index.html to examples-html alias and install rules
- Reuse CSS from hello_tailwind_01.css to minimize dependencies
The index page provides:
- Progressive tutorial overview with clear descriptions
- Visual feature tags for each example
- Direct links to individual example pages
- Professional styling consistent with library design
- Mobile-responsive layout
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove basic_usage, module_usage, advanced_features and other legacy examples
- Keep clean numbered sequence: index_00 through comprehensive_showcase_07
- Update dune file to remove legacy executables definition
- Simplify learning path to focus on progressive tutorial structure
The remaining examples provide a complete learning journey:
- 00: Index/guide explaining the learning path
- 01: Hello Tailwind - basic concepts
- 02: Colors and Typography - type system exploration
- 03: Layout and Spacing - box model and flexbox
- 04: Responsive Design - breakpoints and responsive utilities
- 05: Effects and Variants - interactive elements and hover states
- 06: Patterns and Components - reusable layout patterns
- 07: Comprehensive Showcase - real-world application demo
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
## Core Library Enhancements
- Add comprehensive module coverage: colors, typography, layout, spacing, effects
- Implement responsive design utilities with breakpoint system
- Add flexbox and grid layout systems with full utility coverage
- Create patterns module for common layout patterns (flex_center, stack, etc.)
- Add variants system for hover, focus, active states
- Implement size system with rem, px, percentage, and viewport units
## HTML Integration Library
- Complete tailwind-html package with component system
- Add button, card, form, and layout components
- Create CLI integration module for Tailwind CSS processing
- Implement proper component composition patterns
## Example Suite
- Add progressive tutorial sequence (00-07) covering all major concepts
- Include comprehensive examples for layout, typography, responsive design
- Add real-world application showcase demonstrating library capabilities
- Create index guide explaining learning path and example structure
## Testing & Documentation
- Add comprehensive test suite covering all modules
- Include property-based testing with QCheck
- Add README with installation and usage instructions
- Document all public APIs with comprehensive examples
## Build System
- Update dune-project with proper package definitions
- Add test dependencies and documentation generation
- Update opam files with correct dependencies
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive dune build system integration with Tailwind CLI v4
- Create input.css for centralized CSS configuration without inline styles
- Add CLI helper module for Tailwind CSS processing via npx @tailwindcss/cli
- Fix examples to output valid HTML instead of text descriptions
- Convert hello_tailwind_01.ml to use pure library API instead of raw class strings
- Update build system to generate both HTML and CSS files from OCaml examples
- Add proper HTML generation pipeline: OCaml -> HTML -> Tailwind CSS processing
- Fix effects_and_variants_05.ml and patterns_and_components_06.ml output issues
- Remove problematic responsive classes and @apply directives causing v4 CLI errors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Core tailwind library with complete CSS class generation
- Comprehensive module system (Color, Size, Spacing, Display, etc.)
- Full Tailwind v4 feature support (container queries, starting-style, text shadows)
- Complete variants system with 20+ pseudo-classes
- Advanced effects (transforms, backdrop blur, shadows)
- Responsive design with media queries and breakpoints
- tailwind-html integration library for Htmlit components
- Working examples demonstrating all features
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>