schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs, SSR and SSG.
https://jasprpad.schultek.de
MIT License
1.23k stars 76 forks source link

fix incorrect named param for "Style" #158

Closed exoad closed 8 months ago

exoad commented 8 months ago

Description

the name for the "List" parameter was "rules" which does not align with the code which prompts for a named parameter called "styles"

Type of Change

Ready Checklist

If you need help, consider asking for advice on the #contribute channel on Discord.

docs-page[bot] commented 8 months ago

To view this pull requests documentation preview, visit the following URL:

docs.page/schultek/jaspr~158

Documentation is deployed and generated using docs.page.

exoad commented 8 months ago

see https://github.com/schultek/jaspr/blob/098db73cc7bd28dd0c0d4361e8ce8b8a8a27fa30/packages/jaspr/lib/src/components/style.dart#L6

cybertheory commented 8 months ago

I think because it refers to the StyleRule object which is a