-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
According to Units docs, a value of 6 can be expected while compiling
https://designsystem.digital.gov/design-tokens/spacing-units/#spacing-unit-tokens-2
The value of 6 for
$theme-site-margins-width is being rejected
My entry point
@forward "uswds-theme"; @forward "uswds-theme-custom-styles"; @forward "uswds-global";
Steps to reproduce the bug
- go into _uswds-theme.scss
@use "uswds-core" with ($theme-site-margins-width: 6)
results in
Error: "
12is not a valid
paddingtoken. You should correct this. Standard
paddingtokens: 1px, 2px, 05, 1, 105, 2, 205, 3, 4, 5, 6, 7, 8, 9, 10, 15, 0"╷ 19 │ padding-left: get-uswds-value("padding", $value...) #{$important}; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expected Behavior
3.0.2 of framework accepted the unit as 6 (48px or 3rem)
This is the continued expected behavior of the unit of 6 for $theme-site-margin-width
Related code
No response
Screenshots
System setup
- 3.6.1
- GULP Compile method
Additional context
Current 3.0.1 uswds site-margin-width was 6 / 3rem. Grid container
Code of Conduct
- I agree to follow this project's Code of Conduct.
- I checked the current issues for duplicate bug reports.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status