// Copyright (c) 2016-2018 VMware, Inc. All Rights Reserved.
// This software is released under MIT license.
// The full license information can be found in LICENSE in the root directory of this project.

// Usage: ../button/_toggles.clarity.scss
// Toggle
$clr-toggle-height: 1rem;
$clr-toggle-switch-base-height: 0.75rem;
$clr-toggle-switch-base-width: 1.375rem;
$clr-toggle-switch-height:  0.5833rem;
$clr-toggle-switch-base-left-spacing:  0.375rem;
$clr-toggle-switch-left-spacing: $clr-toggle-switch-base-width - $clr-toggle-switch-base-left-spacing + $clr-rem-1px;
$clr-toggle-transition-time: 0.15s;
$clr-toggle-transition-animation: ease-in;

// Usage: ../button/_toggles.clarity.scss
// Colors (disabled)
$clr-toggle-disabled-off-bg-color: $clr-white;
$clr-toggle-disabled-off-border-color: $clr-light-midtone-gray;
$clr-toggle-disabled-off-bg-color: $clr-white; // Also sets disabled/on inner part of handle circle.
$clr-toggle-disabled-off-handle-border-color: $clr-light-midtone-gray;
$clr-toggle-disabled-on-border-color: $clr-light-midtone-gray;
$clr-toggle-disabled-on-bg-color: $clr-light-midtone-gray;
$clr-toggle-disabled-on-handle-border-color: $clr-white;

// Usage: ../button/_toggles.clarity.scss
// Colors (enabled)
$clr-toggle-bg-color-off: $clr-gray;
$clr-toggle-bg-color-on: clr-getColor(light-midtone, greens);
$clr-toggle-handle-bg-color: clr-getColor(lightest);