Skip to content
GitHub

Styling Editor

This guide will walk you through the various ways to style your Kameo editor.

Kameo uses the Web Awesome components library for its core fields and some UI. Import @awesome.me/webawesome/dist/styles/themes/default.css in your project to include these styles.

import '@awesome.me/webawesome/dist/styles/themes/default.css';

Kameo requires some basic styles to function properly. Import @kameo/core/style/theme.css in your project to include these styles. You can override or copy and replace some of these styles.

import '@kameo/core/style/theme.css';

You can style the container element where you mounted Kameo.

.kameo-container {
  width: 100%;
  max-width: 760px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

Kameo lets you decide how to style headings, paragraphs, lists, and other elements.