CMS Templates

A package containing templates and components for CMS.

Installation

npm install @orangesk/cms-templates

Included Assets

This package includes the following resources:

  • Images - Graphics and visual assets for components
  • shame.css - Additional stylesheet for component styling

Styling

Color Management

This package uses CSS custom properties (variables) for color management of colors, which are not in design system. So use it instead of hardcoded backgroundColor values. This provides better color consistency and maintainability.

Example:

// Instead of:
style={{ backgroundColor: "#D9DAC6" }}

// Use:
style={{ "--color-background-primary": "#D9DAC6" }}