// Copyright (C) 2022 to the present, Crestron Electronics, Inc.
// All rights reserved.
// No part of this software may be reproduced in any form, machine
// or natural, without the express written consent of Crestron Electronics.
// Use of this source code is subject to the terms of the Crestron Software License Agreement
// under which you licensed this source code.

// convert PX to REM
@function rem-calc($size) {
  $rem-size: calc($size / 16px);
  @return #{$rem-size}rem;
}

@function set-color($class, $light, $dark) {
  @if ($class== ".light-theme") {
    @return $light;
  } @else {
    @return $dark;
  }
}
