Closed jouni-kantola closed 8 years ago
In commit https://github.com/davidxcheng/ruin/commit/d0115330d9c08d2a1556ec5125cc76c78cd698c4 the source list of class names was improved. Updating content is still buggy.
Replace of content now tighter. In commit https://github.com/davidxcheng/ruin/commit/ac1de261c5f458c2edc4ca44852c01852e3c4a71 the above file now looks as follows:
.A {
}
.A0 {
}
.A00 {
}
.A00 .A01 {
}
.A02 {
}
.A03 {
}
.A03 .A01 {
}
.A04 {
}
const person {
name: "John Doe"
}
Think we can close this issue, at least for the moment.
Played with mixing CSS according to BEM and JavaScript. The regex to find classes is buggy.
Source file:
Result: