m50 / godot-theme-api

An api to convert a CSS-like file into a Godot theme file.

Home Page:godot-theme-api-git-main.m50.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add extra lexing/parsing.

m50 opened this issue · comments

Need to be able to parse out the following:

  • Vector2 : Currently there is no way to set a value to a Vector2, this needs to be remedied.
  • default_font font types: Currently you can only set the default font to a dynamic font, not a bitmap font.
  • Rect: Currently, there is no way to set a value to a rect (x,y,w,h), this needs to be remedied.
  • Enums: There are a few enums in the UI, and making end users have to remember 0,1,2 for them won't work, we need a way to define enums.

Edit: Removing the default_font font types, as bitmap font doesn't really seem usable, so going to force people to use dynamic fonts.