JSideris / DOThtml

A human-friendly way to build highly-dynamic web pages in pure JavaScript.
2 stars 4 forks source link

V6 CSS Type Planning #172

Open JSideris opened 5 months ago

JSideris commented 5 months ago

List of features we want to support in v6 wrt the style builder (formerly dotcss).

Each one will be broken down into its own task with a list of subtasks.

One of the challenging aspects is it can't all be based on types. Shorthand types and in some cases expected values may require complex types. So for example the border property has a very complex footprint that can accept different data types and units and a color. One solution to this problem might be to require builders for all shorthand properties. There's an article about this that can be found here.

List of shorthand properties can be found in #173.