Skip to content

Commit

Permalink
Escape tracking class names
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Mar 1, 2019
1 parent bf475d5 commit a7a95b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/tracking.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import _ from 'lodash'

export default function() {
return function({ addUtilities, config }) {
return function({ addUtilities, config, e }) {
const utilities = _.fromPairs(
_.map(config('tracking'), (value, modifier) => {
return [
`.tracking-${modifier}`,
`.${e(`tracking-${modifier}`)}`,
{
'letter-spacing': value,
},
Expand Down

0 comments on commit a7a95b1

Please sign in to comment.