The Elodin Styling Language
Warning: Elodin is still WIP and experimental. It is not recommended to use it in production yet. There might be unknown bugs and the APIs might change rapidly.
Elodin is a small styling language that aims to provide a universal way to author user interface styles.
variant Mode {
Dark
Light
}
style Button {
justifyContent: center
alignItems: flexEnd
paddingBottom: 10
paddingTop: 10
fontSize: 15
color: rgb(255 0 255)
[Mode=Dark] {
backgroundColor: black
}
[Mode=Light] {
backgroundColor: white
}
}
style Label {
fontSize: 10
color: grey
}
Feel free to ask questions and give feedback on Spectrum.
For more information follow the contribution guide.
Also, please read our code of conduct.
Elodin is licensed under the MIT License.
Documentation is licensed under Creative Commons License.
Created with ♥ by Robin Weser.