openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/globals/functions.scss

Summary

Maintainability
Test Coverage

Color white should be written in hexadecimal form as #ffffff
Open

      @if lighten($color, $i) == white and ($i - $adjust) > $adjust {

Remove @debug line
Open

    @debug "Please correct $adjust value. It should be number and larger then 0. Currently it is '#{type-of($adjust)}' with value '#{$adjust}'";

Color literals like white should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

      @if lighten($color, $i) == white and ($i - $adjust) > $adjust {

There are no issues that match your filters.

Category
Status