platform/packages/theme/styles/_text-editor.scss

41 lines
797 B
SCSS
Raw Normal View History

.textEditorImage {
cursor: pointer;
object-fit: contain;
}
.text-editor-highlighted-node-warning {
background-color: var(--theme-warning-color);
}
.text-editor-highlighted-node-error {
background-color: var(--theme-error-color);
}
.text-editor-highlighted-node-success {
background-color: var(--theme-won-color);
}
.text-editor-popup {
background-color: var(--theme-comp-header-color);
border-radius: 0.5rem;
box-shadow: var(--theme-popup-shadow);
z-index: 1;
}
.proseH1 {
margin-block-start: 1.25rem;
margin-block-end: 1.25rem;
font-weight: 700;
font-size: 1.75rem;
// line-height: 1.75rem;
color: red;
}
.proseH2 {
margin-block-start: 1rem;
margin-block-end: 1.125rem;
font-weight: 700;
font-size: 1.25rem;
// line-height: 1.75rem;
color: green;
}