import { DesignSystem } from '@ni/fast-foundation';
import { template } from '../base/template';
import { Unit } from '../base/unit';
import { fahrenheitUnitScale } from '../../utilities/unit-format/unit-scale/fahrenheit-unit-scale';
import { styles } from '../base/styles';
/**
 * Element representing degrees Fahrenheit unit
 */
export class UnitFahrenheit extends Unit {
    constructor() {
        super();
        this.resolvedUnitScale = fahrenheitUnitScale;
    }
}
const nimbleUnitFahrenheit = UnitFahrenheit.compose({
    baseName: 'unit-fahrenheit',
    template,
    styles
});
DesignSystem.getOrCreate()
    .withPrefix('nimble')
    .register(nimbleUnitFahrenheit());
export const unitFahrenheitTag = 'nimble-unit-fahrenheit';
//# sourceMappingURL=index.js.map