/**
 *
 * @ai-apps/angular v2.152.0 | _type.scss
 *
 * Copyright 2014, 2023 IBM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


@import './vendor/@carbon/type/scss/type';
@import './vendor/@carbon/type/scss/font-face/sans';
@import './vendor/@carbon/type/scss/font-face/sans-condensed';

@import './chart-feature-flags';

@if map-get($chart-feature-flags, 'enable-font-imports') == true {
	@include carbon--font-face-sans();
	@include carbon--font-face-sans-condensed();
}

.#{$prefix}--#{$charts-prefix}--chart-wrapper {
	font-family: carbon--font-family('sans-condensed');

	p {
		padding: 0;
		margin: 0;
		font-size: 12px;
		font-weight: carbon--font-weight('regular');
		color: $text-02;
	}

	text {
		font-size: 12px;
		font-weight: carbon--font-weight('regular');
		fill: $text-02;
	}

	g.gauge-numbers text.gauge-value-number {
		font-family: carbon--font-family('sans');
		font-weight: carbon--font-weight('light');
	}

	text.meter-title,
	text.percent-value {
		font-size: $carbon--base-font-size;
		font-family: carbon--font-family('sans');
	}

	text.meter-title {
		font-weight: carbon--font-weight('semibold');
	}
}
