mirror of
https://github.com/picocss/pico.git
synced 2025-05-01 05:19:13 -04:00
Added a Timeline feature, removed the margin-bottom from article > header > h[1-6]
And added the border-color for dark theme on the article > header
This commit is contained in:
parent
26e82a693d
commit
359e51ee06
245 changed files with 14516 additions and 947 deletions
|
@ -218,4 +218,18 @@
|
|||
#{$css-var-prefix}form-element-focus-color: var(#{$css-var-prefix}primary-focus);
|
||||
}
|
||||
}
|
||||
|
||||
// Timeline
|
||||
@if map.get($modules, "components/timeline") {
|
||||
#{$css-var-prefix}timeline-line-color: var(#{$css-var-prefix}primary-background);
|
||||
#{$css-var-prefix}timeline-dot-background-color: var(#{$css-var-prefix}primary-inverse);
|
||||
#{$css-var-prefix}timeline-dot-border-color: var(#{$css-var-prefix}primary-background);
|
||||
@if map.get($modules, "components/card") {
|
||||
#{$css-var-prefix}timeline-arrow-color: var(
|
||||
#{$css-var-prefix}card-sectioning-background-color
|
||||
);
|
||||
} @else {
|
||||
#{$css-var-prefix}timeline-arrow-color: #{color.mix($slate-50, $white, 25%)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue