Skip to content

TelenorNorway/color.kt

Repository files navigation

Color.kt

Simple functional coloring tools for Kotlin

Dependency

In your gradle file

Follow this guide on how to set up your environment for GitHub packages.

plugins {
	id("no.ghpkg") version "0.3.3"
}

repositories {
	git.hub("telenornorway", "color.kt")
	// or <.. the below> if you're spicy 🌶️
	// git.hub("telenornorway")
}

dependencies {
	implementation("no.telenor.kt:color:<VERSION HERE>")
	// if you want to derive
	runtimeOnly("no.telenor.kt:color-env:<VERSION HERE>")
}

Usage

println("Hello, ${green("world")}!")

Or with derive:

data class MyStyles @EnvConstructor constructor(
	@Env val names: Styles
)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages