pub fn apply<D>(&self, obj: StyledObject<D>) -> StyledObject<D> {
        // Setting this to false will skip emitting any ansi codes associated
        // with the style when the object is displayed.
        obj.force_styling(!self.should_strip_ansi)
    }
Apply the UI color mode to the given styled object

This is required to match the Go turborepo coloring logic which differs
from console's coloring detection.
crates/turborepo-ui/src/lib.rs