/**
* Include another stylesheet inside a stylesheet.
* @param {StyleSheet} sheet The stylesheet to include
*/
export function include(sheet) {
return { 'include': sheet };
}
/**
* Create a UnitValue object with the unit of `rem`.
* @param {number} value The value that should be paired with the unit
*/
export function rem(value) {
return { u: 'rem', v: value };
}
/**
* Create a UnitValue object with the unit of `rem`.
* @param {number} value The value that should be paired with the unit
*/
export function px(value) {
return { u: 'px', v: value };
}
/**
* Create a UnitValue object with the unit of `em`.
* @param {number} value The value that should be paired with the unit
*/
export function em(value) {
return { u: 'em', v: value };
}
/**
* Create a UnitValue object with the unit of `vh`.
* @param {number} value The value that should be paired with the unit
*/
export function vh(value) {
return { u: 'vh', v: value };
}
/**
* Create a UnitValue object with the unit of `vw`.
* @param {number} value The value that should be paired with the unit
*/
export function vw(value) {
return { u: 'vw', v: value };
}
/**
* Create a UnitValue object with the unit of `vmin`.
* @param {number} value The value that should be paired with the unit
*/
export function vmin(value) {
return { u: 'vmin', v: value };
}
/**
* Create a UnitValue object with the unit of `vmax`.a
* @param {number} value The value that should be paired with the unit
*/
export function vmax(value) {
return { u: 'vmax', v: value };
}
/**
* Create a UnitValue object with the unit of `%`.
* @param {number} value The value that should be paired with the unit
*/
export function percent(value) {
return { u: '%', v: value };
}
/**
* Create a UnitValue object with the unit of `s`.
* @param {number} value The value that should be paired with the unit
*/
export function s(value) {
return { u: 's', v: value };
}
/**
* Create a UnitValue object with the unit of `fr`.
* @param {number} value The value that should be paired with the unit
*/
export function fr(value) {
return { u: 'fr', v: value };
}
/**
* Create a UnitValueRotation object with the unit of `deg`.
* @param {number} value The value that should be paired with the unit
*/
export function deg(value) {
return { u: 'deg', v: value };
}
/**
* Create a UnitValueRotation object with the unit of `grad`.
* @param {number} value The value that should be paired with the unit
*/
export function grad(value) {
return { u: 'grad', v: value };
}
/**
* Create a UnitValueRotation object with the unit of `rad`.
* @param {number} value The value that should be paired with the unit
*/
export function rad(value) {
return { u: 'rad', v: value };
}
/**
* Create a UnitValueRotation object with the unit of `turn`.
* @param {number} value The value that should be paired with the unit
*/
export function turn(value) {
return { u: 'turn', v: value };
}