From 119aa6e2bde2ba8105f4b38e7e0e8d2266455084 Mon Sep 17 00:00:00 2001 From: Ian Clarke Date: Sun, 2 Jul 2017 12:04:27 -0500 Subject: [PATCH] add some new semantic UI classes --- build.gradle | 2 +- .../io/kweb/plugins/semanticUI/SemanticUIClasses.kt | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 68f88421c0..c2eef44de9 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ plugins { } group 'io.kweb' -version '0.2.6' +version '0.2.7' apply plugin: 'java' apply plugin: 'kotlin' diff --git a/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIClasses.kt b/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIClasses.kt index 11405208e6..30fd187bf6 100644 --- a/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIClasses.kt +++ b/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIClasses.kt @@ -77,6 +77,10 @@ class SemanticUIClasses : AttributeBuilder() { return this } + val center : SemanticUIClasses get() { + classes("center") + return this + } val centered : SemanticUIClasses get() { classes("centered") @@ -230,6 +234,10 @@ class SemanticUIClasses : AttributeBuilder() { return this } + val grid : SemanticUIClasses get() { + classes("grid") + return this + } val header : SemanticUIClasses get() { classes("header")