HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/boldt.komma.pro/resources/sass/site/9-Utilities/_utilities.colors.scss
/** =====================================================================================
 *  Color
 ===================================================================================== */


/**
 * Here we print out all our helper classes for our defined colors
 * Based on these articles:
 * - http://erskinedesign.com/blog/friendlier-colour-names-sass-maps/
 * - https://blog.atechmedia.com/css-for-multiple-themes/
 * Output is in the form of:

   .u-color-primary {
      color: #bada55;
   }

  .u-bg-neutral--dark {
    background-color: #decaff;
  }
 */

@each $level, $palette in $palettes {
	@each $type, $color in $palette {
		@if($type == 'base'){
			.u-color-#{$level} {
				color: #{$color};
			}
			.u-bg-#{$level} {
				background-color: #{$color};
			}
		} @else {
			.u-color-#{$level}--#{$type} {
				color: #{$color};
			}
			.u-bg-#{$level}--#{$type} {
				background-color: #{$color};
			}
		}
	}
}