mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-12 18:18:50 +00:00
format action and styling quibbles.
This commit is contained in:
7
src/main/scala/Styles.scala
Normal file
7
src/main/scala/Styles.scala
Normal file
@@ -0,0 +1,7 @@
|
||||
import calico.html.io.*
|
||||
|
||||
object Styles {
|
||||
val button = cls :=
|
||||
"shrink bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 mx-2 px-4 rounded "
|
||||
val mono = styleAttr := "font-family: monospace"
|
||||
}
|
||||
Reference in New Issue
Block a user