Skip to content

Instantly share code, notes, and snippets.

View jina's full-sized avatar
💭
I may be slow to respond.

Jina Anne jina

💭
I may be slow to respond.
View GitHub Profile
# data/prefix.yml
css: "slds-"
# helpers/ds_helpers.rb
module DsHelpers
def pf(*classes)
classes.map! { |x| "#{data.prefix.css}#{x}" }.join(' ')
end
end