How to write bevy styles in JSON file.

Famiq supports almost all UI styles provided by Bevy engine.

id & Class

Famiq supports styles via id and classes.

{
  "#my-widget-id": {
    ..
  },
  ".some-class": {
    ..
  }
}
  • class_name must starts with dot ..

For text widgets

Can be used for fa_text and fa_fps widgets.

For node widgets