Skip to content

Commit

Permalink
fix(css): remove unused get-color-from-rgba-string Sass function
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Nov 13, 2023
1 parent 012fe16 commit 64b9160
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions scss/mixins/_utilities.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
// Boosted mod
@function get-color-from-rgba-string($value) {
$func-prefix: "rgba(var(--" + $prefix;
$rgba-string-index-before-color-name: str-index($value, $func-prefix);
@if $rgba-string-index-before-color-name == 1 {
$rgba-string-index-after-color-name: str-index($value, "-rgb");
@return str-slice($value, $rgba-string-index-before-color-name + str-length($func-prefix), $rgba-string-index-after-color-name - 1);
}
@return undefined;
}
// End mod

// Utility generator
// Used to generate utilities & print utilities
@mixin generate-utility($utility, $infix: "", $is-rfs-media-query: false) {
Expand Down

0 comments on commit 64b9160

Please sign in to comment.