Skip to content

Commit

Permalink
Update @error message get-minimum-absolute-lc
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrezdev authored Nov 2, 2023
1 parent bc97fd2 commit 4f481ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_a11y-apca.scss
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ $fallback-a11y-map: (
//
@function get-minimum-absolute-lc($level: "silver", $content: "body-text", $size: 16, $weight: 400, $bg-color: "", $adjust-contrast: 0) {
@if (meta.type-of($bg-color) != "color") {
@error "Type Error: get-lc() expects a color for $bg-color but received #{meta.type-of($bg-color)}. Please provide a valid color.";
@error "Type Error: get-minimum-absolute-lc() expects a color for $bg-color but received #{meta.type-of($bg-color)}. Please provide a valid color.";
}

// START - Initialize variables
Expand Down

0 comments on commit 4f481ea

Please sign in to comment.