ProductPromotion
Logo

Kotlin

made by https://0x3d.site

GitHub - allangomes/kotlinwind.css: Kotlinwind CSS
Kotlinwind CSS. Contribute to allangomes/kotlinwind.css development by creating an account on GitHub.
Visit Site

GitHub - allangomes/kotlinwind.css: Kotlinwind CSS

GitHub - allangomes/kotlinwind.css: Kotlinwind CSS

Kotlinwind Banner

Kotlinwind CSS

Kotlin Maven Central Version Tests

Overview

Kotlinwind CSS is a Kotlin library that enhances your experience with kotlinx.html by providing a more Kotlin-centric approach to styling HTML. Inspired by Tailwind CSS, this library allows you to apply CSS styles directly within your HTML-building code, utilizing Kotlin's type-safe, declarative syntax through a Kotlin DSL (Domain-Specific Language).

Features

  • Type-Safe CSS: Write CSS directly in Kotlin using a type-safe API.
  • Seamless Integration: Designed to work smoothly with kotlinx.html.
  • Declarative Syntax: Benefit from Kotlin's expressive DSL to manage styles inline, reducing the need for external stylesheets.
  • Inspired by Tailwind CSS: Leverage a similar utility-first approach for styling, now available in Kotlin.

Code Preview

Kotlinwind CSS Code Resulting HTML

Motivation

Kotlinwind CSS is built for developers who prefer a Kotlin-native way of styling HTML. By leveraging Kotlin's type-safe, declarative DSL and drawing inspiration from the utility-first approach of Tailwind CSS, this library eliminates the need for traditional CSS files and provides a more cohesive development experience within Kotlin projects.

Getting Started

To start using Kotlinwind CSS in your project, add the following dependency to your build.gradle.kts file:

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

Replace {VERSION} with the latest version available on Maven Central.

Documentation

For detailed usage instructions and examples, visit the Wiki.

Limitations

Currently, Kotlinwind CSS supports only inline styles. Future versions will introduce support for external stylesheets and CSS classes.

Roadmap

  • 0.0.2 - 0.0.9

    • Grid Layout
    • Table Styling
    • SVG Styling
    • CSS Transforms
  • 0.1.0 - 0.1.9

    • Class-based Styling
    • @media Queries Support
  • Future Plans

    • Kotlin Multiplatform Support
      • Jetpack Compose Integration (returning a Modifier)
    • Interactivity Support (JS/TS Framework Integration)

Note

Interactivity is not a priority at this stage, as starting with a JS/TS framework may be more beneficial for projects requiring dynamic behavior.

More Resources
to explore the angular.

mail [email protected] to add your project or resources here 🔥.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory