Represents the available theme modes for the application.
This sealed class defines three theme modes: Light, Dark, and System. Each theme mode provides specific behavior for determining its opposite theme and maintaining persistence through ordinal values.