_sass/@primer/css/layout/stack.scss in jekyll-v4-theme-primer-0.11.0 vs _sass/@primer/css/layout/stack.scss in jekyll-v4-theme-primer-0.12.0
- old
+ new
@@ -23,11 +23,11 @@
// ├─ .Stack-divider
// ├─ .Stack-item
// │ ├─ &.Stack-item--expand-[ whenNarrow | whenRegular | whenWide ]
// │ ├─ &.Stack-item--keepSize-[ whenNarrow | whenRegular | whenWide ]
- $Stack-gap-default: var(--primer-stack-gap-normal, 16px);
+ $Stack-gap-default: var(--stack-gap-normal, 16px);
--Stack-gap-whenRegular: #{$Stack-gap-default};
--Stack-gap-whenNarrow: #{$Stack-gap-default};
--Stack-gap-whenWide: var(--Stack-gap-whenRegular);
--Stack-divider-color: var(--color-border-default);
@@ -63,22 +63,22 @@
.Stack--gap-none#{$viewportRange} {
--Stack-gap#{$viewportRange}: 0;
}
.Stack--gap-condensed#{$viewportRange} {
- --Stack-gap#{$viewportRange}: var(--primer-stack-gap-condensed, 8px);
+ --Stack-gap#{$viewportRange}: var(--stack-gap-condensed, 8px);
}
.Stack--gap-normal#{$viewportRange} {
- --Stack-gap#{$viewportRange}: var(--primer-stack-gap-normal, 16px);
+ --Stack-gap#{$viewportRange}: var(--stack-gap-normal, 16px);
}
// There's no .Stack--gap-spacious-whenNarrow
// Narrow viewports render `spacious` gap as `normal`
@if $viewportRange != '-whenNarrow' {
.Stack--gap-spacious#{$viewportRange} {
- --Stack-gap#{$viewportRange}: var(--primer-stack-gap-spacious, 24px);
+ --Stack-gap#{$viewportRange}: var(--stack-gap-spacious, 24px);
}
}
// align
@@ -159,17 +159,17 @@
display: block;
}
:not(.Stack--dir-inline#{$viewportRange}) > .Stack-divider,
:not(.Stack--dir-inline#{$viewportRange}) > .Stack-item > .Stack-divider {
- border-block-end: var(--primer-borderWidth-thin, 1px) solid var(--Stack-divider-color);
+ border-block-end: var(--borderWidth-thin, 1px) solid var(--Stack-divider-color);
inline-size: auto;
block-size: 0;
}
.Stack--dir-inline#{$viewportRange} > .Stack-divider,
.Stack--dir-inline#{$viewportRange} > .Stack-item > .Stack-divider {
- border-inline-end: var(--primer-borderWidth-thin, 1px) solid var(--Stack-divider-color);
+ border-inline-end: var(--borderWidth-thin, 1px) solid var(--Stack-divider-color);
inline-size: 0;
block-size: auto;
}
}