Skip to content

Add classfile parsing#205

Merged
abigailalexander merged 7 commits into
masterfrom
add-classfile-parsing
Jun 12, 2026
Merged

Add classfile parsing#205
abigailalexander merged 7 commits into
masterfrom
add-classfile-parsing

Conversation

@abigailalexander

Copy link
Copy Markdown
Collaborator

This adds the basics of classfile parsing:

  • Parse .bcf file based on filepath passed in via config
  • Adds entries to theme based off class and widget name
  • Override colours on a widget with class colour, if widget has a class set. If not, fall back to widget props
  • Add tests

Currently only colours in the classes are applied. Border and font will be included in the MUI theme later, and other properties handled in another way.

@GregJHarris GregJHarris left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with a few comments that you may want to concider.

Comment thread src/ui/hooks/useClassFile.tsx Outdated
Comment thread src/ui/hooks/useClassFile.tsx
Comment thread src/ui/hooks/useClassFile.tsx Outdated
Comment thread src/ui/hooks/useClassFile.tsx Outdated
@abigailalexander abigailalexander merged commit c88ec63 into master Jun 12, 2026
2 checks passed
@abigailalexander abigailalexander deleted the add-classfile-parsing branch June 12, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants