Skip to content

Commit

Permalink
change package name to my new username.
Browse files Browse the repository at this point in the history
  • Loading branch information
allangomes committed Aug 19, 2024
1 parent e7a99e9 commit db94501
Show file tree
Hide file tree
Showing 161 changed files with 751 additions and 746 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Kotlinwind CSS

[![Kotlin](https://img.shields.io/badge/Kotlin-1.9.24-blue.svg?style=flat&logo=kotlin)](https://kotlinlang.org)
[![Maven Central Version](https://img.shields.io/maven-central/v/io.github.allangomessl/kotlinwind-css)](https://search.maven.org/artifact/io.github.allangomessl/kotlinwind-css)
[![Tests](https://github.com/allangomessl/kotlinwind-css/actions/workflows/on-push.yml/badge.svg?branch=dev&event=push)](https://github.com/allangomessl/kotlinwind-css/actions/workflows/on-push.yml)
[![Maven Central Version](https://img.shields.io/maven-central/v/io.github.allangomes/kotlinwind-css)](https://search.maven.org/artifact/io.github.allangomes/kotlinwind-css)
[![Tests](https://github.com/allangomes/kotlinwind-css/actions/workflows/on-push.yml/badge.svg?branch=dev&event=push)](https://github.com/allangomes/kotlinwind-css/actions/workflows/on-push.yml)

<br/><br/>

Expand Down Expand Up @@ -46,16 +46,16 @@ Kotlinwind CSS is built for developers who prefer a Kotlin-native way of styling
To start using Kotlinwind CSS in your project, add the following dependency to your `build.gradle.kts` file:

```kotlin
implementation("io.github.allangomessl:kotlinwind-css:{VERSION}")
implementation("io.github.allangomes:kotlinwind-css:{VERSION}")
```

Replace `{VERSION}` with the latest version available on [Maven Central](https://search.maven.org/artifact/io.github.allangomessl/kotlinwind-css).
Replace `{VERSION}` with the latest version available on [Maven Central](https://search.maven.org/artifact/io.github.allangomes/kotlinwind-css).

<br/><br/>

## Documentation

For detailed usage instructions and examples, visit the [Wiki](https://github.com/allangomessl/kotlinwind-css/wiki).
For detailed usage instructions and examples, visit the [Wiki](https://github.com/allangomes/kotlinwind-css/wiki).

<br/><br/>

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
org.gradle.parallel=true
org.gradle.caching=true

group=io.github.allangomessl
group=io.github.allangomes
version=0.0.1
14 changes: 7 additions & 7 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mavenPublishing {
))

coordinates(
groupId = "io.github.allangomessl",
groupId = "io.github.allangomes",
artifactId = "kotlinwind-css",
version = "0.0.1"
)
Expand All @@ -33,7 +33,7 @@ mavenPublishing {
name.set("Kotlinwind CSS")
description.set("HTML styling inspired on tailwind.css")
inceptionYear.set("2024")
url.set("https://github.com/allangomessl/kotlinwind-css/")
url.set("https://github.com/allangomes/kotlinwind-css/")
licenses {
license {
name.set("The Apache License, Version 2.0")
Expand All @@ -43,15 +43,15 @@ mavenPublishing {
}
developers {
developer {
id.set("allangomessl")
id.set("allangomes")
name.set("Allan Gomes")
url.set("https://github.com/allangomessl/")
url.set("https://github.com/allangomes/")
}
}
scm {
url.set("https://github.com/allangomessl/kotlinwind-css/")
connection.set("scm:git:git://github.com/allangomessl/kotlinwind-css.git")
developerConnection.set("scm:git:ssh://[email protected]/allangomessl/kotlinwind-css.git")
url.set("https://github.com/allangomes/kotlinwind-css/")
connection.set("scm:git:git://github.com/allangomes/kotlinwind-css.git")
developerConnection.set("scm:git:ssh://[email protected]/allangomes/kotlinwind-css.git")
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@file:Suppress("unused")

package io.github.allangomessl.kotlinwind.css
package io.github.allangomes.kotlinwind.css

import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomessl.kotlinwind.css.core.tokens.ColorTokens
import io.github.allangomessl.kotlinwind.css.core.tokens.Token
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.core.tokens.ColorTokens
import io.github.allangomes.kotlinwind.css.core.tokens.Token

sealed interface ColorIndex

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@file:Suppress("FunctionName", "unused")

package io.github.allangomessl.kotlinwind.css
package io.github.allangomes.kotlinwind.css

import io.github.allangomessl.kotlinwind.css.core.StyleMarker
import io.github.allangomessl.kotlinwind.css.features.Root
import io.github.allangomes.kotlinwind.css.core.StyleMarker
import io.github.allangomes.kotlinwind.css.features.Root

object KW {
@StyleMarker
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@file:Suppress("unused")

package io.github.allangomessl.kotlinwind.css
package io.github.allangomes.kotlinwind.css

import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomessl.kotlinwind.css.core.tokens.Token
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.core.tokens.Token

@StyleValueMarker
object XS : Token<XS>({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.allangomessl.kotlinwind.css
package io.github.allangomes.kotlinwind.css

import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomessl.kotlinwind.css.core.tokens.Token
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.core.tokens.Token

@StyleValueMarker
object SANS : Token<SANS>({
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package io.github.allangomes.kotlinwind.css.api

interface KWRoot {
fun append(style: Style)
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.api
package io.github.allangomes.kotlinwind.css.api

interface KWScope<T> {
infix fun String.value(value: String): T
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.api
package io.github.allangomes.kotlinwind.css.api

data class Style(
val key: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.allangomessl.kotlinwind.css.config
package io.github.allangomes.kotlinwind.css.config

import io.github.allangomessl.kotlinwind.css.core.tokens.Token
import io.github.allangomes.kotlinwind.css.core.tokens.Token

object Theme {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//package io.github.allangomessl.kotlinwind.css.core
//package io.github.allangomes.kotlinwind.css.core
//
//@JvmInline
//value class ColorToken(val value: String)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

const val ALIGN_CONTENT = "align-content"
const val ALIGN_ITEMS = "align-items"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

@DslMarker
annotation class StyleMarker
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

class WithFloatAndInt<T>(
private val block: Function1<Float, T>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

class WithPercentual<T>(
private val block: Function1<Float, T>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

class WithToken<T, S1>(
private val block: Function1<S1, T>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

//class WithTokenAndFloat<T, S1>(
// private val block1: Function1<S1, T>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

class WithTokenAndInt<T, S1>(
private val block1: Function1<S1, T>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.allangomessl.kotlinwind.css.core
package io.github.allangomes.kotlinwind.css.core

class WithTokenAndNumber<T, S1>(
private val block1: Function1<S1, T>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.github.allangomessl.kotlinwind.css.core.tokens
package io.github.allangomes.kotlinwind.css.core.tokens

import io.github.allangomessl.kotlinwind.css.*
import io.github.allangomessl.kotlinwind.css.config.Theme
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomessl.kotlinwind.css.core.tokens.Token.Color
import io.github.allangomes.kotlinwind.css.*
import io.github.allangomes.kotlinwind.css.config.Theme
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.core.tokens.Token.Color

@Suppress("LeakingThis")
abstract class ColorTokens(init: TokenInit<ColorTokens>): Color {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.allangomessl.kotlinwind.css.core.tokens
package io.github.allangomes.kotlinwind.css.core.tokens

import io.github.allangomessl.kotlinwind.css.config.Theme
import io.github.allangomes.kotlinwind.css.config.Theme

typealias TokenInit<T> = Theme.(T) -> Unit

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.allangomessl.kotlinwind.css.extensions
package io.github.allangomes.kotlinwind.css.extensions

import io.github.allangomessl.kotlinwind.css.api.Style
import io.github.allangomes.kotlinwind.css.api.Style

fun List<Style>.inline(): String {
return this.joinToString("; ")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.ASPECT_RATIO
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.ASPECT_RATIO
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface AspectRatio<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.BREAK_AFTER
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.BREAK_AFTER
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface BreakAfter<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.BREAK_BEFORE
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.BREAK_BEFORE
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface BreakBefore<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.CLEAR
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.CLEAR
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface Clear<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.DISPLAY
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.DISPLAY
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface Display<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.FLOAT
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.FLOAT
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface Floats<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.OBJECT_FIT
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.OBJECT_FIT
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface ObjectFit<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.OBJECT_POSITION
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.OBJECT_POSITION
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

@Suppress("PropertyName")
interface ObjectPosition<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.POSITION
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.POSITION
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker

interface Position<T> : KWScope<T> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.BOTTOM
import io.github.allangomessl.kotlinwind.css.core.StyleValueMarker
import io.github.allangomessl.kotlinwind.css.core.WithFloatAndInt
import io.github.allangomessl.kotlinwind.css.core.WithPercentual
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.BOTTOM
import io.github.allangomes.kotlinwind.css.core.StyleValueMarker
import io.github.allangomes.kotlinwind.css.core.WithFloatAndInt
import io.github.allangomes.kotlinwind.css.core.WithPercentual

@Suppress("PropertyName")
interface PositionBottom<T> : KWScope<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.allangomessl.kotlinwind.css.features
package io.github.allangomes.kotlinwind.css.features

import io.github.allangomessl.kotlinwind.css.api.KWScope
import io.github.allangomessl.kotlinwind.css.core.*
import io.github.allangomes.kotlinwind.css.api.KWScope
import io.github.allangomes.kotlinwind.css.core.*

@Suppress("PropertyName")
interface PositionInset<T> : KWScope<T> {
Expand Down
Loading

0 comments on commit db94501

Please sign in to comment.