Skip to content

Commit

Permalink
Document new color spaces
Browse files Browse the repository at this point in the history
See #672
  • Loading branch information
nex3 committed May 18, 2024
1 parent 3a50fc0 commit 3af4162
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 39 deletions.
4 changes: 4 additions & 0 deletions source/assets/sass/visual-design/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ body {
color: var(--text, var(--sl-color--pale-sky));
}

.fade {
opacity: 0.7;
}

::selection {
background: var(--sl-color--iron);
}
Expand Down
6 changes: 5 additions & 1 deletion source/documentation/operators/equality.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ different types:
their values are equal when their units are converted between one another.
* [Strings][] are unusual in that [unquoted][] and [quoted][] strings with the
same contents are considered equal.
* [Colors][] are equal if they have the same red, green, blue, and alpha values.
* [Colors] are equal if they're in the same [color space] and have the same
channel values, *or* if they're both in [legacy color spaces] and have the
same RGBA channel values.
* [Lists][] are equal if their contents are equal. Comma-separated lists aren't
equal to space-separated lists, and bracketed lists aren't equal to
unbracketed lists.
Expand All @@ -40,6 +42,8 @@ different types:
[quoted]: /documentation/values/strings#quoted
[unquoted]: /documentation/values/strings#unquoted
[Colors]: /documentation/values/colors
[color space]: /documentation/values/colors#color-spaces
[legacy color spaces]: /documentation/values/colors#legacy-color-spaces
[Lists]: /documentation/values/lists
[`true`, `false`]: /documentation/values/booleans
[`null`]: /documentation/values/null
Expand Down
Loading

0 comments on commit 3af4162

Please sign in to comment.