haxtheweb / issues

Issue queue for hax, haxcms, elmsln, lrnwebcomponents, wcfactory, websites and more.
Apache License 2.0
10 stars 1 forks source link

add support for designSystem to HAX schema #1969

Closed btopro closed 3 months ago

btopro commented 3 months ago

We have 5 buckets of settings to start. These could be extended down the road easily but the general idea....

designSystem: {
  text: true,
  primary: true,
  accent: true,
  card: true,
  designTreatment: true,
},
btopro commented 3 months ago

All of these are off by default... but it means that anything can enable these features and then we can tweak via the design system as opposed to in hax core itself. Now we'll have to start going through and refactoring things to implement like accent-card, video-player, instruction card, anything that wants to leverage the data- style attributes can.