import { DesignSystem } from '@ni/fast-foundation';
import { unitScaleCelsius } from '@ni/unit-format/unit-scale/celsius';
import { template } from '../base/template';
import { Unit } from '../base/unit';
import { styles } from '../base/styles';
/**
 * Element representing degrees Celsius unit
 */
export class UnitCelsius extends Unit {
    constructor() {
        super();
        this.resolvedUnitScale = unitScaleCelsius;
    }
}
const nimbleUnitCelsius = UnitCelsius.compose({
    baseName: 'unit-celsius',
    template,
    styles
});
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitCelsius());
export const unitCelsiusTag = 'nimble-unit-celsius';
//# sourceMappingURL=index.js.map