Skip to content

Commit

Permalink
Re-add documentation for hsl-split-decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
zamsyt committed Feb 12, 2023
1 parent 7f0e0bd commit 82e52b6
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ body.theme-dark.css-settings-manager { --accent: #2DB253; }

### `variable-color` formatting options

There are 7 formatting options:
There are 8 formatting options:

- `hex`

Expand Down Expand Up @@ -475,6 +475,23 @@ When `opacity` is set to `true`:
--accent-a: 1;
```

- `hsl-split-decimal`

```
--accent-h: 211;
--accent-s: 1;
--accent-l: 0.5;
```

When `opacity` is set to `true`:

```
--accent-h: 211;
--accent-s: 1;
--accent-l: 0.5;
--accent-a: 1;
```

## `color-gradient`

`color-gradient` outputs a fixed number of colors along a gradient between two existing color variables. A `format` attribute is also required. *Note: The `to` variable must be set in style settings for the gradient to be generated. Also, gradients will only be generated using colors defined under the current style settings `id`.*
Expand Down

0 comments on commit 82e52b6

Please sign in to comment.