- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
15 lines
338 B
JavaScript
15 lines
338 B
JavaScript
'use strict';
|
|
|
|
function mode(light, dark) {
|
|
return (props) => props.colorMode === "dark" ? dark : light;
|
|
}
|
|
function orient(options) {
|
|
const { orientation, vertical, horizontal } = options;
|
|
if (!orientation)
|
|
return {};
|
|
return orientation === "vertical" ? vertical : horizontal;
|
|
}
|
|
|
|
exports.mode = mode;
|
|
exports.orient = orient;
|