Skip to content

Commit 2c24539

Browse files
committed
Added plugins
1 parent c211141 commit 2c24539

17 files changed

+285
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class Float implements IPlugin {
6+
7+
String cssObject = " {\n" +
8+
" '.float-right': { float: 'right' },\n" +
9+
" '.float-left': { float: 'left' },\n" +
10+
" '.float-none': { float: 'none' },\n" +
11+
" '.clearfix:after': {\n" +
12+
" content: '\"\"',\n" +
13+
" display: 'table',\n" +
14+
" clear: 'both',\n" +
15+
" },\n" +
16+
" }";
17+
18+
@Override
19+
public void applyPlugin() {
20+
21+
}
22+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
import org.evera.tailwindcss.type.SingleRuleModifier;
5+
6+
public class FontFamily extends SingleRuleModifier implements IPlugin {
7+
8+
public FontFamily() {
9+
super("font-family", "fontFamily", "font-${modifier}");
10+
}
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
import org.evera.tailwindcss.type.SingleRuleModifier;
5+
6+
public class FontSize extends SingleRuleModifier implements IPlugin {
7+
8+
9+
public FontSize() {
10+
super("font-size", "fontSize", "text-${modifier}");
11+
}
12+
13+
@Override
14+
public void applyPlugin() {
15+
16+
}
17+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class FontSmoothing implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.antialiased': {\n" +
9+
" '-webkit-font-smoothing': 'antialiased',\n" +
10+
" '-moz-osx-font-smoothing': 'grayscale',\n" +
11+
" },\n" +
12+
" '.subpixel-antialiased': {\n" +
13+
" '-webkit-font-smoothing': 'auto',\n" +
14+
" '-moz-osx-font-smoothing': 'auto',\n" +
15+
" },\n" +
16+
" }";
17+
18+
@Override
19+
public void applyPlugin() {
20+
21+
}
22+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class FontStyle implements IPlugin {
6+
String cssObject = "{\n" +
7+
" '.italic': { 'font-style': 'italic' },\n" +
8+
" '.not-italic': { 'font-style': 'normal' },\n" +
9+
" }";
10+
11+
@Override
12+
public void applyPlugin() {
13+
14+
}
15+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
import org.evera.tailwindcss.type.SingleRuleModifier;
5+
6+
public class FontWeight extends SingleRuleModifier implements IPlugin {
7+
8+
public FontWeight() {
9+
super("font-weight", "fontWeight", "font-${modifier}");
10+
}
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
import org.evera.tailwindcss.type.SingleRuleModifier;
5+
6+
public class Height extends SingleRuleModifier implements IPlugin {
7+
8+
public Height() {
9+
super("height", "height", "h-${modifier}");
10+
}
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
//TODO need to work
6+
public class Inset implements IPlugin {
7+
@Override
8+
public void applyPlugin() {
9+
10+
}
11+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class JustifyContent implements IPlugin {
6+
String cssObject = "{\n" +
7+
" '.justify-start': {\n" +
8+
" 'justify-content': 'flex-start',\n" +
9+
" },\n" +
10+
" '.justify-end': {\n" +
11+
" 'justify-content': 'flex-end',\n" +
12+
" },\n" +
13+
" '.justify-center': {\n" +
14+
" 'justify-content': 'center',\n" +
15+
" },\n" +
16+
" '.justify-between': {\n" +
17+
" 'justify-content': 'space-between',\n" +
18+
" },\n" +
19+
" '.justify-around': {\n" +
20+
" 'justify-content': 'space-around',\n" +
21+
" },\n" +
22+
" }";
23+
24+
@Override
25+
public void applyPlugin() {
26+
27+
}
28+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
import org.evera.tailwindcss.type.SingleRuleModifier;
5+
6+
public class LetterSpacing extends SingleRuleModifier implements IPlugin {
7+
public LetterSpacing() {
8+
super("letter-spacing", "letterSpacing", "tracking-${modifier}");
9+
}
10+
11+
@Override
12+
public void applyPlugin() {
13+
14+
}
15+
}

0 commit comments

Comments
 (0)