Skip to content

Commit c0b81a7

Browse files
committed
Added Plugins
1 parent 2c24539 commit c0b81a7

25 files changed

+435
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class ObjectFit implements IPlugin {
6+
7+
String cssObject = " {\n" +
8+
" '.object-contain': { 'object-fit': 'contain' },\n" +
9+
" '.object-cover': { 'object-fit': 'cover' },\n" +
10+
" '.object-fill': { 'object-fit': 'fill' },\n" +
11+
" '.object-none': { 'object-fit': 'none' },\n" +
12+
" '.object-scale-down': { 'object-fit': 'scale-down' },\n" +
13+
" }";
14+
15+
@Override
16+
public void applyPlugin() {
17+
18+
}
19+
}
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 ObjectPosition extends SingleRuleModifier implements IPlugin {
7+
8+
public ObjectPosition() {
9+
super("object-position", "objectPosition", "object-${modifier}");
10+
}
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
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 Opacity extends SingleRuleModifier implements IPlugin {
7+
8+
public Opacity() {
9+
super("opacity", "opacity", "opacity-${modifier}");
10+
}
11+
12+
@Override
13+
public void applyPlugin() {
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 Order extends SingleRuleModifier implements IPlugin {
7+
8+
public Order() {
9+
super("order", "order", "order-${modifier}");
10+
}
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
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 Outline implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.outline-none': { outline: '0' },\n" +
9+
" }";
10+
11+
@Override
12+
public void applyPlugin() {
13+
14+
}
15+
}
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 Overflow implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.overflow-auto': { overflow: 'auto' },\n" +
9+
" '.overflow-hidden': { overflow: 'hidden' },\n" +
10+
" '.overflow-visible': { overflow: 'visible' },\n" +
11+
" '.overflow-scroll': { overflow: 'scroll' },\n" +
12+
" '.overflow-x-auto': { 'overflow-x': 'auto' },\n" +
13+
" '.overflow-y-auto': { 'overflow-y': 'auto' },\n" +
14+
" '.overflow-x-hidden': { 'overflow-x': 'hidden' },\n" +
15+
" '.overflow-y-hidden': { 'overflow-y': 'hidden' },\n" +
16+
" '.overflow-x-visible': { 'overflow-x': 'visible' },\n" +
17+
" '.overflow-y-visible': { 'overflow-y': 'visible' },\n" +
18+
" '.overflow-x-scroll': { 'overflow-x': 'scroll' },\n" +
19+
" '.overflow-y-scroll': { 'overflow-y': 'scroll' },\n" +
20+
" '.scrolling-touch': { '-webkit-overflow-scrolling': 'touch' },\n" +
21+
" '.scrolling-auto': { '-webkit-overflow-scrolling': 'auto' },\n" +
22+
" }";
23+
24+
@Override
25+
public void applyPlugin() {
26+
27+
}
28+
}
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
6+
public class Padding implements IPlugin {
7+
@Override
8+
public void applyPlugin() {
9+
10+
}
11+
}
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 PlaceHolderColor extends SingleRuleModifier implements IPlugin {
7+
8+
public PlaceHolderColor() {
9+
super("color", "placeholderColor", "placeholder-${modifier}`::placeholder");
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+
5+
public class PointerEvents implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.pointer-events-none': { 'pointer-events': 'none' },\n" +
9+
" '.pointer-events-auto': { 'pointer-events': 'auto' },\n" +
10+
" }";
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class Position implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.static': { position: 'static' },\n" +
9+
" '.fixed': { position: 'fixed' },\n" +
10+
" '.absolute': { position: 'absolute' },\n" +
11+
" '.relative': { position: 'relative' },\n" +
12+
" '.sticky': { position: 'sticky' },\n" +
13+
" }";
14+
15+
@Override
16+
public void applyPlugin() {
17+
18+
}
19+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
//TODO load normalise css and preflight
6+
public class Preflight implements IPlugin {
7+
8+
9+
@Override
10+
public void applyPlugin() {
11+
12+
}
13+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class Resize implements IPlugin {
6+
7+
String cssObject = " {\n" +
8+
" '.resize-none': { resize: 'none' },\n" +
9+
" '.resize-y': { resize: 'vertical' },\n" +
10+
" '.resize-x': { resize: 'horizontal' },\n" +
11+
" '.resize': { resize: 'both' },\n" +
12+
" }";
13+
14+
@Override
15+
public void applyPlugin() {
16+
17+
}
18+
}
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 Stroke extends SingleRuleModifier implements IPlugin {
7+
8+
public Stroke() {
9+
super("stroke", "stroke", "stroke-${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+
5+
public class TableLayout implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.table-auto': { 'table-layout': 'auto' },\n" +
9+
" '.table-fixed': { 'table-layout': 'fixed' },\n" +
10+
" }";
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class TextAlign implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.text-left': { 'text-align': 'left' },\n" +
9+
" '.text-center': { 'text-align': 'center' },\n" +
10+
" '.text-right': { 'text-align': 'right' },\n" +
11+
" '.text-justify': { 'text-align': 'justify' },\n" +
12+
" }";
13+
14+
@Override
15+
public void applyPlugin() {
16+
17+
}
18+
}
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 TextColor extends SingleRuleModifier implements IPlugin {
7+
8+
public TextColor() {
9+
super("color", "textColor", "text-${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+
5+
public class TextDecoration implements IPlugin {
6+
7+
String cssObject = " {\n" +
8+
" '.underline': { 'text-decoration': 'underline' },\n" +
9+
" '.line-through': { 'text-decoration': 'line-through' },\n" +
10+
" '.no-underline': { 'text-decoration': 'none' },\n" +
11+
" }";
12+
13+
@Override
14+
public void applyPlugin() {
15+
16+
}
17+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class TextTransform implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.uppercase': { 'text-transform': 'uppercase' },\n" +
9+
" '.lowercase': { 'text-transform': 'lowercase' },\n" +
10+
" '.capitalize': { 'text-transform': 'capitalize' },\n" +
11+
" '.normal-case': { 'text-transform': 'none' },\n" +
12+
" }";
13+
14+
@Override
15+
public void applyPlugin() {
16+
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class UserSelect implements IPlugin {
6+
7+
String cssObject = " {\n" +
8+
" '.select-none': { 'user-select': 'none' },\n" +
9+
" '.select-text': { 'user-select': 'text' },\n" +
10+
" '.select-all': { 'user-select': 'all' },\n" +
11+
" '.select-auto': { 'user-select': 'auto' },\n" +
12+
" }";
13+
14+
@Override
15+
public void applyPlugin() {
16+
17+
}
18+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class VerticalAlign implements IPlugin {
6+
7+
String cssObject = " {\n" +
8+
" '.align-baseline': { 'vertical-align': 'baseline' },\n" +
9+
" '.align-top': { 'vertical-align': 'top' },\n" +
10+
" '.align-middle': { 'vertical-align': 'middle' },\n" +
11+
" '.align-bottom': { 'vertical-align': 'bottom' },\n" +
12+
" '.align-text-top': { 'vertical-align': 'text-top' },\n" +
13+
" '.align-text-bottom': { 'vertical-align': 'text-bottom' },\n" +
14+
" }";
15+
16+
@Override
17+
public void applyPlugin() {
18+
19+
}
20+
}
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+
5+
public class Visibility implements IPlugin {
6+
7+
String cssObject = "{\n" +
8+
" '.visible': { visibility: 'visible' },\n" +
9+
" '.invisible': { visibility: 'hidden' },\n" +
10+
" }";
11+
12+
@Override
13+
public void applyPlugin() {
14+
15+
}
16+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package org.evera.tailwindcss.plugins;
2+
3+
import org.evera.tailwindcss.type.IPlugin;
4+
5+
public class WhiteSpace implements IPlugin {
6+
7+
String cssObject = " {\n" +
8+
" '.whitespace-normal': { 'white-space': 'normal' },\n" +
9+
" '.whitespace-no-wrap': { 'white-space': 'nowrap' },\n" +
10+
" '.whitespace-pre': { 'white-space': 'pre' },\n" +
11+
" '.whitespace-pre-line': { 'white-space': 'pre-line' },\n" +
12+
" '.whitespace-pre-wrap': { 'white-space': 'pre-wrap' },\n" +
13+
" }";
14+
15+
@Override
16+
public void applyPlugin() {
17+
18+
}
19+
}

0 commit comments

Comments
 (0)