https://kotlinlang.org logo
Title
h

Hamza

09/12/2018, 10:20 AM
anyone else feel like the kotlin css and html wrappers are a bit lack luster
d

david-wg2

09/12/2018, 10:47 AM
i think they're more proof-of-concept than actual production ready libraries
h

Hamza

09/12/2018, 11:00 AM
yeah. i really wanted to use, but i had to make so many edits, im just forking my own all together. all the additions (like hover, before, after, etc..) don’t work at all. im not sure how i’m supposed to use them.
g

gildor

09/12/2018, 1:19 PM
Maybe make sense to open issue or send Pull request
h

Hamza

09/12/2018, 1:22 PM
i was thinking of doing that, but so much seems wrong. adding the
hover
tag into a css rule gives you very unexpected results:
p {
	hover { color = Color.yellow }
	color = Color.blue
}
and here is the the result:
p {
color: blue;
&:hover {
color: yellow;
}
}
soo im not sure how im supposed to use the
hover
flag
g

gildor

09/12/2018, 1:28 PM
Looks like a big, try to report an issue or even better open PR
h

Hamza

09/12/2018, 1:30 PM
alright, ill do that
is there a specific chat for discussing wrappers?
i contacted Leonid, and turns out, the added functionality comes with kotlin-styled, which parses that into proper css