/**
 * @license
 * Copyright Endlessjs. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */

@mixin input-sizes() {
  @each $size in el-get-sizes() {
    &.size-#{$size} {
      font-size: el-theme(input-#{$size}-text-font-size);
      font-weight: el-theme(input-#{$size}-text-font-weight);
      line-height: el-theme(input-#{$size}-text-line-height);
      padding: el-theme(input-#{$size}-padding);

      &:not(.input-full-width) {
        max-width: el-theme(input-#{$size}-max-width);
      }

      &::placeholder {
        font-size: el-theme(input-#{$size}-placeholder-text-font-size);
        font-weight: el-theme(input-#{$size}-placeholder-text-font-weight);
        // TODO: this seems to be unused
        line-height: el-theme(input-#{$size}-placeholder-text-line-height);
      }
    }
  }
}
