import { Color } from "@vived/core";
import { ThemeColors, ThemeColorType } from "../Entities";
export function getOnSurfaceColor(appObjects) {
    const theme = ThemeColors.get(appObjects);
    if (theme) {
        return theme.getColorForType(ThemeColorType.onSurface);
    }
    else {
        appObjects.submitError("getOnSurfaceColor", "Unable to find ThemeColors");
        return Color.RGB(0, 0, 0);
    }
}
//# sourceMappingURL=getOnSurfaceColor.js.map