docs: remove arguments from mixin section headings (#2130)

This commit is contained in:
uncenter authored and GitHub committed 2026-02-09 09:10:44 -06:00
1 parent 168f796a82
commit 84c3d43b8b
1 file changed
+6 -6
@@ -15,11 +15,11 @@ In userstyles, the standard library is imported at the top like so (along with o
The standard library exposes a `#lib` namespace. The standard library exposes a `#lib` namespace.
### `#lib.palette(...config)` ### `#lib.palette()`
The standard library palette mixin provides Less variable definitions for hex colors and CSS filters from the palette. Call the mixin at the top of the `#catppuccin` mixin to inject the variables into the userstyle context. This is used in all userstyles. The standard library palette mixin provides Less variable definitions for hex colors and CSS filters from the palette. Call the mixin at the top of the `#catppuccin` mixin to inject the variables into the userstyle context. This is used in all userstyles.
#### Arguments #### Options
##### `@rgbify-default-sep` ##### `@rgbify-default-sep`
@@ -33,11 +33,11 @@ Sets the default separator for the `hslify` utility. Can be either `"comma"` or
The standard library defaults mixin provides a set of default styles for text selection and native/input elements. This is generally applied in all userstyles, with some exceptions. The standard library defaults mixin provides a set of default styles for text selection and native/input elements. This is generally applied in all userstyles, with some exceptions.
### `#lib.rgbify(@color)` ### `#lib.rgbify()`
The standard library `rgbify` mixin is a utility mixin for extracting the color in `r, g, b` format from a palette variable. The standard library `rgbify` mixin is a utility mixin for extracting the color in `r, g, b` format from a palette variable.
#### Arguments #### Options
##### `@color` ##### `@color`
@@ -54,11 +54,11 @@ Depending on `.palette()` configuration, either enables space separation in comm
--my-variable-rgb-spaces: #lib.rgbify(@base, true) []; // -> 30 30 46 --my-variable-rgb-spaces: #lib.rgbify(@base, true) []; // -> 30 30 46
``` ```
### `#lib.hslify(@color)` ### `#lib.hslify()`
The standard library `hslify` mixin is a utility mixin for extracting the color in `h, s, l` format from a palette variable. The standard library `hslify` mixin is a utility mixin for extracting the color in `h, s, l` format from a palette variable.
#### Arguments #### Options
##### `@color` ##### `@color`