Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Grab the entire cssvar value when running the slate-cssvar-loader #397

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

mmorissette
Copy link
Contributor

What are you trying to accomplish with this PR?

Fix an issue in the slate-cssvar-loader so that it grabs everything after the : and not just the liquid variable. For example, currently

--letter_spacing: {{ settings.letter_spacing }}px;

would be replaced with

letter-spacing: {{ settings.letter_spacing }};

With this change, the px will be carried over so that the resulting CSS is

letter-spacing: {{ settings.letter_spacing }}px;

Checklist

For maintainers:

  • I have 🎩'd these changes.

Copy link
Contributor

@t-kelly t-kelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@rickitan rickitan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmorissette mmorissette merged commit 9e02e0a into 1.x Feb 21, 2018
@t-kelly t-kelly deleted the fix_cssvar_replacement branch February 21, 2018 20:40
@lock
Copy link

lock bot commented Oct 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants