nimaterial
nimaterial is a CSS output library based on material design.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install nimaterial
choosenim install nimaterial
git clone https://github.com/momeemt/nimaterial
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| nimaterial | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/momeemt/nimaterial |
|---|---|
| Homepage | https://github.com/momeemt/nimaterial |
| Registry Source | nimble_official |
README
nimaterial
nimaterial is a CSS output library based on material design.
Example
Color
You can set color property to call color procedure.
".foo".color(red)
"#hoge".color(indigo)
h1.color(brown)
This code generates this CSS file.
h1{color: #795548;}
.foo{color: #F44336;}
#hoge{color: #3F51B5;}
Text
You can set text property to call text procedure.
".foo".text(size="22px", align=fEnd)
"#myText".text(align=justify, lineHeight="10px")
This code generated this CSS file.
#myText{font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "HIragino Kaku Gothic Pro W3", "HIragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS P Gothic", sans-serif;font-size: 16px;line-height: 10px;text-align: justify;}
.foo{font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "HIragino Kaku Gothic Pro W3", "HIragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS P Gothic", sans-serif;font-size: 22px;line-height: normal;text-align: end;}