Coding 2024-09-20
Okay, it's late, so let's blitz through this.
After a bunch of really wonky metaprogramming, I have the beginning of a mini-library for manipulating BEM class names in Python. There are a few things missing, so I'll run through them quickly:
- An arbitrary instance of the enums I've written should be able to generate CSS classes to go into a tag.
- A one-element instance of the enums and either a zero-element instance or the class itself, should be used to generate CSS selectors to go into a style definition.
I'll try to figure this out later. For now, it's really late.
Good night.