kotlin-wrappers icon indicating copy to clipboard operation
kotlin-wrappers copied to clipboard

Kotlin CSS. Add Kotlin/Native targets

Open mgroth0 opened this issue 1 year ago • 4 comments
trafficstars

Is your feature request related to a problem? Please describe.

I would like to use the HTML/CSS library in Kotlin/Native

Describe the solution you'd like

Add a Kotlin/Native target

Describe alternatives you've considered

Not using this library

Additional context

I am on macosArm64

I mainly use this for generating HTML reports

mgroth0 avatar Apr 22 '24 23:04 mgroth0

I mainly use this for generating HTML reports

Looks like https://github.com/Kotlin/kotlinx.html is what you need

Do you need CSS support too?

turansky avatar Apr 22 '24 23:04 turansky

Yes, I think I created this issue because I couldn't get a CSS dependency in my native project if I remember correctly

mgroth0 avatar Apr 24 '24 16:04 mgroth0

@mgroth0 that's an interesting use case, can I ask why you're doing it from Native?

lppedd avatar May 02 '24 07:05 lppedd

Hi @lppedd , I can no longer remember the specific task I was working on when I made this, but I can explain in general.

I have a few native projects. One, for example is a small command line tool that parses through some data my team is working on. My team all use the same type of OS so it became easier to share a small and fast .kexe with them instead of a big java program.

One technique that I am starting to use more in general is that I generate small HTML reports. It could be for anything from an error report to an analysis of some data. And I must have found myself here because I wanted to make a report like I can in JVM, but was somewhat blocked because the CSS dependency doesn't target native.

I hope that this helps.

mgroth0 avatar May 05 '24 05:05 mgroth0