<script>
	const enabled = true;
</script>

<div class:foo:bar={enabled}>Hello world</div>

<style>
	.foo\:bar {
		color: red;
	}
</style>
