import { DesignSystem } from '@ni/fast-foundation';
import { unitScaleFahrenheit } from '@ni/unit-format/unit-scale/fahrenheit';
import { template } from '../base/template';
import { Unit } from '../base/unit';
import { styles } from '../base/styles';
/**
 * Element representing degrees Fahrenheit unit
 */
export class UnitFahrenheit extends Unit {
    constructor() {
        super();
        this.resolvedUnitScale = unitScaleFahrenheit;
    }
}
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