Added font support and detection of themes and fonts based on the direction instead of hardcoding them.