Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS Spacing Tokens - Resolves sass error: 'neg-4' is not a valid USWDS margin-horizontal token #4212

Merged
merged 1 commit into from Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/stylesheets/core/_properties.scss
Expand Up @@ -393,6 +393,7 @@ $system-properties: (
map-get($system-spacing, "small-negative"),
map-get($system-spacing, "smaller"),
map-get($system-spacing, "small"),
map-get($system-spacing, "medium-negative"),
map-get($system-spacing, "medium"),
map-get($system-spacing-em, "small"),
map-get($partial-values, "zero-zero")
Expand All @@ -406,6 +407,7 @@ $system-properties: (
map-get($system-spacing, "small"),
map-get($system-spacing, "smaller-negative"),
map-get($system-spacing, "small-negative"),
map-get($system-spacing, "medium-negative"),
map-get($system-spacing, "medium"),
map-get($system-spacing, "large"),
map-get($system-spacing-em, "small"),
Expand All @@ -421,6 +423,7 @@ $system-properties: (
map-get($system-spacing, "small"),
map-get($system-spacing, "smaller-negative"),
map-get($system-spacing, "small-negative"),
map-get($system-spacing, "medium-negative"),
map-get($system-spacing, "medium"),
map-get($system-spacing-em, "small"),
map-get($partial-values, "zero-zero"),
Expand Down
4 changes: 4 additions & 0 deletions src/stylesheets/utilities/palettes/_spacing-palettes.scss
Expand Up @@ -69,6 +69,7 @@ $palettes-units: (
map-collect(
map-get($system-spacing, small-negative),
map-get($system-spacing, smaller-negative),
map-get($system-spacing, medium-negative),
map-get($system-spacing, smaller),
map-get($system-spacing, small),
map-get($system-spacing, medium),
Expand Down Expand Up @@ -100,6 +101,8 @@ $palettes-units: (
map-get($system-spacing, smaller-negative),
"palette-units-system-negative-small":
map-get($system-spacing, small-negative),
"palette-units-system-negative-medium":
map-get($system-spacing, medium-negative),
"palette-units-system-breakpoints":
map-collect(
map-get($system-spacing, large),
Expand All @@ -122,6 +125,7 @@ $palettes-units-misc: (
map-get($system-spacing, smaller-negative),
map-get($system-spacing, smaller),
map-get($system-spacing, small),
map-get($system-spacing, medium-negative),
map-get($system-spacing, medium),
map-get($system-spacing, large),
map-get($system-spacing, larger),
Expand Down