Text::...nctions(3pm)
πΈ NAME πΈ
Text::Sass::Functions β literally the function library for Text::Sass, bestie π
Oh and hey, this whole page lives under User Contributed Perl Documentation, in case the vibe check needed context.
β¨ VERSION β¨
The version string is $LastChangedRevision: 71 $ π
π¦ SYNOPSIS π¦
Okay soβ¦ there's genuinely nothing here. Empty. A void. No synopsis for us, bestie π
π DESCRIPTION π
Also empty!! No description!! We're going in raw, raw-dogging the docs, iykyk π
π SUBROUTINES/METHODS π
Here's the whole lineup, no cap β every single one:
rgb(red, green, blue)β takes that lil triplet and turns it into a color πred(color)β hands you back the red part of a color β€οΈgreen(color)β hands you back the green part of a color πblue(color)β hands you back the blue part of a color π (the original says "og a color" instead of "of" and honestly? iconic. we stan a typo π)mix(color1, color2, weight = 50%)β blends two colors together, with a weight that defaults to50%π¨hsl(hue, saturation, lightness)β converts an hsl triplet into a color β¨hue(color)β gives you the hue part of a color πsaturation(color)β gives you the saturation part of a color πΊlightness(color)β gives you the lightness part of a color βοΈadjust_hue(color)β changes the hue of a color, and yes it can also be called asadjust-hue(underscore bestie vs dash bestie, both valid) π«lighten(color, amount)β makes a color lighter, obviously π―οΈdarken(color, amount)β makes a color darker, spooky szn πsaturate(color, amount)β makes a color more saturated π₯desaturate(color, amount)β makes a color less saturated π«§grayscale(color)β converts a color to grayscale, the sad beige aesthetic π©Άcomplement(color)β returns the complement of a color, its opposite-number soulmate π«Άunquote(str)β removes the quotes from a string βοΈquote(str)β adds quotes to a string πpercentage(num)β converts a unitless number to a percentage π―round(num)β rounds a number to the nearest whole number π―ceil(num)β rounds a number up to the nearest whole number β¬οΈfloor(num)β rounds a number down to the nearest whole number β¬οΈabs(num)β returns the absolute value of a number, no negativity allowed π«unit(num)β returns the unit of a value πunitless(num)β returns true if the number has no unit π βοΈ
π DIAGNOSTICS π
Nothing here. No diagnostics. We diagnose ourselves π©Ί
π CONFIGURATION AND ENVIRONMENT π
Also empty, bestie. No env vars, no config, nothing to set up. Just vibes π§
π DEPENDENCIES π
This thing leans on all of these, fr fr:
strictwarningsCarpPOSIXReadonlyConvert::ColorText::Sass::Expr
π INCOMPATIBILITIES π
Empty!! No incompatibilities listed. Slay, I guess β¨
π BUGS AND LIMITATIONS π
Okay so the tea β β two things are known to be missing/broken:
- Missing alpha routines: the
rgba&hslamethods π» mix()doesn't support weight π₯²
Not me finding outmix()takes aweightargument but doesn't actually support it. The audacity. π
π«Ά AUTHOR π«Ά
Author: Bjorn-Olav Strand β thank you for your service, king π
β LICENSE AND COPYRIGHT β
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.10 or, at your option, any later version of Perl 5 you may have available. π
And that's the whole page, bestie!! Generated by perl v5.36.0 on 2022-12-06 β mwah, love u, go write some Sass πβ¨π
π¦ where this page comes from
- debian bookworm: libtext-sass-perl 1.0.4-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libtext-sass-perl 1.0.4-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtext-sass-perl 1.0.4-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms