Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

435 B
Raw Blame
@use "sass:meta";
@use "@fider/assets/styles/variables.scss" as *;

#p-ui-toolkit {
  .color {
    width: 40px;
    height: 40px;
    display: inline-block;
    margin: 2px;
    border-radius: 4px;

    @each $name, $shades in $colors {
      @if meta.type-of($shades) == "map" {
        @each $shade, $color in $shades {
          &.#{$name}-#{$shade} {
            background-color: $color;
          }
        }
      }
    }
  }
}