mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
surpressimg sass warnings
This commit is contained in:
parent
4825b265c7
commit
a085c20d2f
247 changed files with 9469 additions and 10096 deletions
|
@ -1,6 +1,13 @@
|
|||
@use "sass:color";
|
||||
@use "sass:string";
|
||||
|
||||
// Display color as RGB
|
||||
@function display-rgb($color) {
|
||||
@return unquote("rgb(" + red($color) + ", " + green($color) + ", " + blue($color) + ")");
|
||||
@return string.unquote(
|
||||
"rgb(" + color.channel($color, "red", $space: rgb) + ", " +
|
||||
color.channel($color, "green", $space: rgb) + ", " +
|
||||
color.channel($color, "blue", $space: rgb) + ")"
|
||||
);
|
||||
}
|
||||
|
||||
// Generate a shadow layer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue