Another question, does there exist a way to access...
# compose-web
n
Another question, does there exist a way to access pseudo-elements (
::before
and friends)?
o
Yes, some examples with css stylesheets can be found here https://github.com/JetBrains/compose-jb/tree/master/tutorials/Web/Style_Dsl#stylesheet An example for your question:
Copy code
object AppStyleSheet : StyleSheet() {
    init {
        type("a") + before style {
            property("content", "'<'")
            color(Color.red)
        }
        type("a") + after style {
            property("content", "'>'")
            color(Color.red)
        }
    }
}