css-dsl:生成用于scalatags和scala-js-reactCSS框架的DSL

时间:2024-04-11 07:01:06
【文件属性】:

文件名称:css-dsl:生成用于scalatags和scala-js-reactCSS框架的DSL

文件大小:13KB

文件格式:ZIP

更新时间:2024-04-11 07:01:06

css scala dsl scalajs scalatags

css-dsl :用于CSS框架的DSL 而不是像这样的字符串式,嘈杂的代码, < .div( ^.cls : = ( " panel hidden-xs panel- " + ( if (success) " success " else " default " )), < .div( ^.cls : = " panel-heading " , < .h3(^.cls : = " panel-title " , " Panel title " ) ) ) 编写这样的代码: < .div.panel.hiddenXs( if (success) C .panelSuccess else C .panelDefault, < .div.panelHeading( < .h3.panelTitle( " Panel title " )


【文件预览】:
css-dsl-master
----generateInstructions.sbt(3KB)
----ci.sbt(975B)
----.github()
--------workflows()
----.mergify.yml(335B)
----build.sbt(4KB)
----.gitignore(15B)
----project()
--------plugins.sbt(321B)
--------CssExtractor.scala(2KB)
--------TargetImpl.scala(1KB)
--------WriteMergify.scala(870B)
--------build.sbt(122B)
--------GeneratorPlugin.scala(1KB)
--------build.properties(20B)
--------Generator.scala(1KB)
----README.md(5KB)

网友评论