// TOKENS
@import "./tokens/animations-tokens";
@import "./tokens/breakpoints-tokens";
@import "./tokens/color-tokens";
@import "./tokens/elevation-tokens";
@import "./tokens/spacing-tokens";
@import "./tokens/typography-tokens";

// FUNCTIONS
@import "./abstracts/functions"; // map-contrast() palette() map-color() light-theme() dark-theme() matcha-typography-level() matcha-typography-config() _matcha-get-type-value() matcha-font-size() matcha-line-height() matcha-font-weight() matcha-letter-spacing() matcha-font-family() _get-umbra-map() _get-penumbra-map() _get-ambient-map() elevation-transition-property-value()

// MIXINS
@import "./abstracts/colors"; // colors-classes-static() colors-classes-dynamic()
@import "./abstracts/elevation"; // elevation() _matcha-theme-elevation() matcha-overridable-elevation() _matcha-theme-overridable-elevation() elevation-transition() elevation-theme()
@import "./abstracts/media-breakpoint"; // media-breakpoint()

// TYPOGRAPHY
@import "./abstracts/typography"; // matcha-typography-font-shorthand() matcha-typography-level-to-styles() matcha-reset-typography()

// BASE
@import "./base/reset"; // base-body-reset-theme()

// COMPONENTS
@import "./components/matcha-audio-player.scss"; //matcha-audio-player-theme($theme)
@import "./components/matcha-autocomplete.scss"; // matcha-autocomplete-theme($theme)
@import "./components/matcha-option.scss"; // matcha-option-theme($theme)
@import "./components/matcha-panel.scss"; // matcha-panel-theme($theme)
@import "./components/matcha-select.scss"; // matcha-select-theme($theme)
@import "./components/matcha-select-multiple.scss"; // matcha-select-multiple-theme($theme)
@import "./components/matcha-buttons.scss"; // matcha-button-theme($theme)
@import "./components/matcha-button-toggle.scss"; // matcha-button-toggle-theme($theme)
@import "./components/matcha-cards.scss"; // matcha-cards-theme($theme)
@import "./components/matcha-color-pick.scss"; // matcha-color-pick-theme($theme)
@import "./components/matcha-draggable.scss"; // matcha-draggable-theme($theme)
@import "./components/matcha-drop-list.scss"; // matcha-drop-list-theme($theme)
@import "./components/matcha-header.scss"; // matcha-header-theme($theme)
@import "./components/matcha-horizontal-tree.scss"; // matcha-horizontal-tree-theme($theme)
@import "./components/matcha-menu.scss"; // matcha-menu-theme($theme)
@import "./components/matcha-progress-bar.scss"; // matcha-progress-bar-theme($theme)
@import "./components/matcha-scrollbar.scss"; // matcha-scrollbar-theme($theme)
@import "./components/matcha-scrollbox-shadow.scss"; // matcha-scrollbox-shadow-theme($theme)
@import "./components/matcha-skeleton.scss"; // matcha-skeleton-theme($theme)
@import "./components/matcha-table.scss"; // matcha-table-theme($theme)
@import "./components/matcha-table-cell.scss"; // matcha-table-cell-theme($theme)
@import "./components/matcha-tooltip.scss"; // matcha-tooltip-theme($theme)
@import "./components/matcha-form-field.scss";
@import "./components/matcha-checkbox.scss";
@import "./components/matcha-accordion.scss";
@import "./components/matcha-ripple.scss"; // matcha-ripple-theme($theme)
@import "./components/matcha-spin.scss"; // matcha-spin-theme($theme)
@import "./components/matcha-spinner.scss"; // matcha-spinner-theme($theme)
@import "./components/matcha-hint-text.scss"; // matcha-hint-theme($theme)
@import "./components/matcha-slide-toggle.scss"; // matcha-slide-toggle($theme)
@import "./components/matcha-radio.scss"; // matcha-radio($theme)
@import "./components/matcha-avatar.scss"; // matcha-avatar($theme)
@import "./components/matcha-paginator.scss"; // matcha-paginator($theme)
@import "./components/matcha-slider.scss"; // matcha-slider($theme)
@import "./components/matcha-divider.scss"; // matcha-divider($theme)
@import "./components/matcha-highlight.scss"; // matcha-highlight($theme)
@import "./components/matcha-tabs.scss"; // matcha-tabs($theme)
@import "./components/matcha-modal.scss"; // matcha-modal($theme)
@import "./components/matcha-drawer.scss"; // matcha-drawer-theme($theme)
@import "./components/matcha-chip.scss"; // matcha-chip($theme)
@import "./components/matcha-date.scss"; // matcha-date($theme)
@import "./components/matcha-date-range.scss"; // matcha-date-range($theme)
@import "./components/matcha-period.scss"; // matcha-period-theme($theme)
@import "./components/matcha-calendar-picker.scss"; // matcha-calendar-picker-theme($theme)
@import "./components/matcha-time.scss"; // matcha-time-theme($theme)
@import "./components/matcha-time-range.scss"; // matcha-time-range($theme)
@import "./components/matcha-progress-bar.scss"; // matcha-progress-bar($theme)
@import "./components/matcha-page-builder.scss"; // matcha-page-builder($theme)
@import "./components/matcha-snack-bar.scss"; // matcha-snack-bar-theme($theme)
@import "./components/matcha-text-editor.scss"; // matcha-text-editor-theme($theme)

// LAYOUT
@import "./layout/matcha-page-layout.scss"; // matcha-page-layout-theme($theme)

// VENDORS
@import "./vendors/angular-editor.scss";
@import "./vendors/angular-material-fixes.scss";
@import "./vendors/calendar.scss";
@import "./vendors/charts.scss";
@import "./vendors/ng5-slider.scss";
@import "./vendors/ngx-material-timepicker.scss";

// DEFAULT FONTS
@font-face {
    font-family: "CircularStd";
    src: url("fonts/CircularStd-Regular.eot");
    src:
        local("☺"),
        url("fonts/CircularStd-Regular.woff") format("woff"),
        url("fonts/CircularStd-Regular.ttf") format("truetype"),
        url("fonts/CircularStd-Regular.svg") format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "CircularStd";
    src: url("fonts/CircularStd-Medium.eot");
    src:
        local("☺"),
        url("fonts/CircularStd-Medium.woff") format("woff"),
        url("fonts/CircularStd-Medium.ttf") format("truetype"),
        url("fonts/CircularStd-Medium.svg") format("svg");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "CircularStd";
    src: url("fonts/CircularStd-Bold.eot");
    src:
        local("☺"),
        url("fonts/CircularStd-Bold.woff") format("woff"),
        url("fonts/CircularStd-Bold.ttf") format("truetype"),
        url("fonts/CircularStd-Bold.svg") format("svg");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "CircularStd";
    src: url("fonts/CircularStd-Black.eot");
    src:
        local("☺"),
        url("fonts/CircularStd-Black.woff") format("woff"),
        url("fonts/CircularStd-Black.ttf") format("truetype"),
        url("fonts/CircularStd-Black.svg") format("svg");
    font-weight: 900;
    font-style: normal;
}

// -------------------------------------------------------------------------------------------------------------------
// @ CORE - Mixins and Includes
// -------------------------------------------------------------------------------------------------------------------
@mixin matcha-typography($config: null) {
    @if $config ==null {
        $config: matcha-typography-config();
    }

    @include matcha-reset-typography($config);
}

@mixin matcha-components($theme) {
    @include colors-classes-dynamic($theme);
    @include colors-classes-static($theme);

    @include elevation-theme($theme);

    @include vendor-angular-editor($theme);
    @include vendor-angular-material-fixes($theme);
    @include vendor-calendar-theme($theme);
    @include vendor-chart($theme);
    @include vendor-ng-5-theme($theme);
    @include vendor-ngx-material-timepicker($theme);

    @include base-typography-theme($theme);
    @include base-body-reset-theme($theme);

    @include matcha-cards-theme($theme);
    @include matcha-horizontal-tree($theme);
    @include matcha-scrollbox-shadow($theme);
    @include matcha-scrollbar-theme($theme);

    @include matcha-page-layout-theme($theme);

    @include matcha-table-theme($theme);
    @include matcha-table-cell-theme($theme);
    @include matcha-button-toggle($theme);
    @include matcha-button-theme($theme);
    @include matcha-ripple-theme($theme);
    @include matcha-tooltip-theme($theme);
    @include matcha-header-theme($theme);
    @include matcha-menu-theme($theme);
    @include matcha-drop-list-theme($theme);
    @include matcha-form-field($theme);
    @include matcha-checkbox($theme);
    @include matcha-spin($theme);
    @include matcha-spinner($theme);
    @include matcha-hint-text($theme);
    @include matcha-slide-toggle-theme($theme);
    @include matcha-tabs($theme);
    @include matcha-modal-theme($theme);
    @include matcha-skeleton-theme($theme);
    @include matcha-radio($theme);
    @include matcha-avatar-theme($theme);
    @include matcha-drawer-theme($theme);
    @include matcha-autocomplete-theme($theme);
    @include matcha-panel-theme($theme);
    @include matcha-option-theme($theme);
    @include matcha-select-theme($theme);
    @include matcha-select-multiple-theme($theme);
    @include matcha-paginator-theme($theme);
    @include matcha-slider-theme($theme);
    @include matcha-highlight-theme($theme);
    @include matcha-divider-theme($theme);
    @include matcha-chip-theme($theme);
    @include matcha-progress-bar-theme($theme);
    @include matcha-page-builder-theme($theme);
    @include matcha-snack-bar-theme($theme);
    @include matcha-text-editor-theme($theme);
    @include matcha-date-theme($theme);
    @include matcha-period-theme($theme);
    @include matcha-calendar-picker-theme($theme);
    @include matcha-time-theme($theme);
    @include matcha-time-range-theme($theme);
}