@dataclassclassIcon:"""Represents a font icon with all its context."""character:str# The actual Unicode characterprovider:str# The provider name (e.g. "fontawesome-regular")prefix:str# The provider prefix (e.g. "fa")name:str# The icon name (e.g. "home")ttf_path:Path# Path to the font file@propertydefcss_class(self)->str:"""CSS class to use for this icon."""returnf"icon-{self.prefix}"@propertydeffont_family(self)->str:"""Font family name for CSS."""# This might need to be mapped from provider to actual font family namereturnself.provider