Skip to content

Commit c4a657e

Browse files
markusantonwolfmarkusantonwolf
markusantonwolf
authored and
markusantonwolf
committed
Changed variable name
1 parent c07afa4 commit c4a657e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,24 +108,24 @@ function getDropShadow() {
108108
const new_utilities = {};
109109
new_utilities[".drop-shadow"] = {
110110
filter:
111-
"drop-shadow(var(--tw-filter-size, 0px 0px 2px) var(--tw-filter-color, #000000))",
111+
"drop-shadow(var(--ta-filter-size, 0px 0px 2px) var(--ta-filter-color, #000000))",
112112
};
113113

114114
sizes.forEach((size) => {
115115
new_utilities[".drop-shadow-" + size.name] = {
116-
"--tw-filter-size": size.value,
116+
"--ta-filter-size": size.value,
117117
};
118118
});
119119
for (const property in colors) {
120120
if (typeof colors[property] !== "object") {
121121
new_utilities[".drop-shadow-" + property] = {
122-
"--tw-filter-color": colors[property],
122+
"--ta-filter-color": colors[property],
123123
};
124124
continue;
125125
}
126126
for (const item in colors[property]) {
127127
new_utilities[".drop-shadow-" + property + "-" + item] = {
128-
"--tw-filter-color": colors[property][item],
128+
"--ta-filter-color": colors[property][item],
129129
};
130130
}
131131
}

0 commit comments

Comments
 (0)