Skip to content

Commit 0d31d63

Browse files
committed
Release v0.10.0
1 parent 0445b87 commit 0d31d63

File tree

6 files changed

+28
-5
lines changed

6 files changed

+28
-5
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Spruce CSS Changelog
22

3+
## v0.10.0 (2022-07-08)
4+
5+
### New features
6+
- Add `selection` mixin to handle the `::selection` a bit simpler.
7+
8+
### Improvements
9+
- Add `marker` color under `base` to controle the list's `::marker`.
10+
- Add `-webkit-tap-highlight-color` with `transparent` value to `html` element.
11+
- Remove `outline` from `[tabindex='-1']:focus`.
12+
- Add `$map` argument to the `color` function to use it any map.
13+
14+
### Bugfix
15+
- Fix `text-ellipsis` multiline bug.
16+
317
## v0.9.0 (2022-06-24)
418

519
### New features

css/spruce.css

+10-1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ template {
349349
--spruce-base-color-border: hsl(0deg, 0%, 90%);
350350
--spruce-base-color-mark-background: hsl(50deg, 100%, 80%);
351351
--spruce-base-color-mark-foreground: hsl(205deg, 100%, 2%);
352+
--spruce-base-color-marker: hsl(262deg, 71%, 49%);
352353
--spruce-base-color-code-background: hsl(261deg, 52%, 95%);
353354
--spruce-base-color-code-foreground: hsl(205deg, 100%, 2%);
354355
--spruce-base-color-blockquote-border: hsl(262deg, 71%, 49%);
@@ -436,6 +437,10 @@ template {
436437
width: 1px !important;
437438
}
438439

440+
[tabindex="-1"]:focus {
441+
outline: none !important;
442+
}
443+
439444
::-moz-selection {
440445
background-color: var(--spruce-selection-color-background);
441446
color: var(--spruce-selection-color-foreground);
@@ -581,6 +586,10 @@ figure figcaption {
581586
border-start-end-radius: 0.5rem;
582587
}
583588

589+
html {
590+
-webkit-tap-highlight-color: hsla(0deg, 0%, 0%, 0);
591+
}
592+
584593
body {
585594
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
586595
font-size: 1rem;
@@ -665,7 +674,7 @@ ol li {
665674
}
666675
ul li::marker,
667676
ol li::marker {
668-
color: var(--spruce-base-color-primary);
677+
color: var(--spruce-base-color-marker);
669678
}
670679

671680
li > ul,

0 commit comments

Comments
 (0)