Skip to content

Commit d18d1fa

Browse files
committed
Fix $foreground typo at btn-variant() mixin (_button.scss)
1 parent f7f8308 commit d18d1fa

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.1.2 (2020-12-30)
4+
5+
- Fix $foreground typo at btn-variant() mixin (_button.scss)
6+
37
## v0.1.1 (2020-12-30)
48

59
- Add Autoprefixer to CSS compile

css/spruce.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ html[dir=rtl] .form-control--invalid {
654654
.form-group--vertical-check {
655655
display: flex;
656656
flex-direction: column;
657-
align-items: flex-start;
657+
align-items: start;
658658
}
659659
.form-group--vertical-check > * {
660660
margin-bottom: 0;
@@ -673,7 +673,7 @@ html[dir=rtl] .form-control--invalid {
673673
--col-width: 20ch;
674674
display: flex;
675675
flex-wrap: wrap;
676-
gap: 1.5rem;
676+
gap: 1rem;
677677
}
678678
.form-row--mixed > * {
679679
flex: 1 1 var(--col-width);
@@ -918,6 +918,10 @@ ul li,
918918
ol li {
919919
list-style-position: outside;
920920
}
921+
ul li::marker,
922+
ol li::marker {
923+
color: var(--spruce-base-color-primary, #8660cd);
924+
}
921925

922926
li > ul,
923927
li > ol {

css/spruce.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sprucecss",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Spruce CSS - Another CSS Framework",
55
"keywords": [
66
"css",

scss/mixin/_button.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
$foreground: primary-foreground,
1818
$background: primary-background
1919
) {
20-
@if not map.has-key(variable.$colors, btn, foreground) or not map.has-key(variable.$colors, btn, $background) {
21-
@error 'The #{foreground} or #{$background} key name doesn\'t exist under btn at the $colors map.';
20+
@if not map.has-key(variable.$colors, btn, $foreground) or not map.has-key(variable.$colors, btn, $background) {
21+
@error 'The #{$foreground} or #{$background} key name doesn\'t exist under btn at the $colors map.';
2222
}
2323

2424
background-color: function.color(#{$background}, btn);
25-
color: function.color(#{foreground}, btn);
25+
color: function.color(#{$foreground}, btn);
2626

2727
&:hover {
2828
background-color: function.color(#{$background}-hover, btn);
29-
color: function.color(#{foreground}, btn);
29+
color: function.color(#{$foreground}, btn);
3030
}
3131

3232
&:focus {

0 commit comments

Comments
 (0)