Skip to content

Commit f28858b

Browse files
author
Patrick Tannoury
committed
added additional dynamic classes
1 parent c57d560 commit f28858b

File tree

6 files changed

+69
-3
lines changed

6 files changed

+69
-3
lines changed

dist/src/cli/parsers/dynamicParser.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,8 @@ exports.dynamicRegistry = {
125125
'font': { name: 'font-family', attribute: 'custom' },
126126
'filter': { name: "filter", attribute: 'custom' },
127127
"transition": { name: "transition", attribute: 'custom' },
128-
"decoration": { name: "text-decoration", attribute: 'custom' }
128+
"transform": { name: "transform", attribute: 'custom' },
129+
"decoration": { name: "text-decoration", attribute: 'custom' },
130+
'object': { name: "object-position", attribute: 'custom' },
131+
'stroke': { name: "stroke", attribute: 'color' }
129132
};

dist/src/style.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,27 @@
968968
background-position-x: left;
969969
}
970970

971+
.object-position-bottom {
972+
-o-object-position: bottom;
973+
object-position: bottom;
974+
}
975+
.object-position-top {
976+
-o-object-position: top;
977+
object-position: top;
978+
}
979+
.object-position-center {
980+
-o-object-position: center;
981+
object-position: center;
982+
}
983+
.object-position-left {
984+
-o-object-position: left;
985+
object-position: left;
986+
}
987+
.object-position-right {
988+
-o-object-position: right;
989+
object-position: right;
990+
}
991+
971992
.brd-width-0 {
972993
border-width: 0px;
973994
}

src/cli/parsers/dynamicParser.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,8 @@ export const dynamicRegistry: Dynamicregistry = {
136136
'font': {name: 'font-family', attribute: 'custom'},
137137
'filter': {name: "filter", attribute: 'custom'},
138138
"transition": {name: "transition", attribute: 'custom'},
139-
"decoration": {name: "text-decoration", attribute: 'custom'}
139+
"transform": {name: "transform", attribute: 'custom'},
140+
"decoration": {name: "text-decoration", attribute: 'custom'},
141+
'object': {name: "object-position", attribute: 'custom'},
142+
'stroke': {name: "stroke", attribute: 'color'}
140143
}

src/lib/_background.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,22 @@
8282
background-position-x: left;
8383
}
8484
}
85+
}
86+
87+
.object-position {
88+
&-bottom{
89+
object-position: bottom;
90+
}
91+
&-top{
92+
object-position: top;
93+
}
94+
&-center{
95+
object-position: center;
96+
}
97+
&-left{
98+
object-position: left;
99+
}
100+
&-right{
101+
object-position: right;
102+
}
85103
}

src/style.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,27 @@
968968
background-position-x: left;
969969
}
970970

971+
.object-position-bottom {
972+
-o-object-position: bottom;
973+
object-position: bottom;
974+
}
975+
.object-position-top {
976+
-o-object-position: top;
977+
object-position: top;
978+
}
979+
.object-position-center {
980+
-o-object-position: center;
981+
object-position: center;
982+
}
983+
.object-position-left {
984+
-o-object-position: left;
985+
object-position: left;
986+
}
987+
.object-position-right {
988+
-o-object-position: right;
989+
object-position: right;
990+
}
991+
971992
.brd-width-0 {
972993
border-width: 0px;
973994
}

src/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)