@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
57 lines • 1.63 kB
JavaScript
import { RgbColor } from "./RgbColor";
var RgbColors = /** @class */ (function () {
function RgbColors() {
}
Object.defineProperty(RgbColors, "transparent", {
get: function () {
return new RgbColor(0, 0, 0, 0);
},
enumerable: true,
configurable: true
});
Object.defineProperty(RgbColors, "black", {
get: function () {
return new RgbColor(0, 0, 0, 255);
},
enumerable: true,
configurable: true
});
Object.defineProperty(RgbColors, "white", {
get: function () {
return new RgbColor(255, 255, 255, 255);
},
enumerable: true,
configurable: true
});
Object.defineProperty(RgbColors, "red", {
get: function () {
return new RgbColor(255, 0, 0, 255);
},
enumerable: true,
configurable: true
});
Object.defineProperty(RgbColors, "green", {
get: function () {
return new RgbColor(0, 255, 0, 255);
},
enumerable: true,
configurable: true
});
Object.defineProperty(RgbColors, "blue", {
get: function () {
return new RgbColor(0, 0, 255, 255);
},
enumerable: true,
configurable: true
});
Object.defineProperty(RgbColors, "cyan", {
get: function () {
return new RgbColor(0, 255, 255, 255);
},
enumerable: true,
configurable: true
});
return RgbColors;
}());
export { RgbColors };
//# sourceMappingURL=RgbColors.js.map