How to define type of custom variables


Hello. I have questions. How to declare custom type of custom CSS variables? Also, browsers (include chrome) never will support CSS4 and CSSOM specifications?


Why would you need to declare a type? Could you give an example use case?


For example, CSS animation with variables.


This is going to be possible with the Houdini Properties and Values API


  name: '--my-color',
  syntax: CSSColorValue,
  inherits: false,
  initial: 'red',

Thanks, Ian