react-repl-plus
Version:
React component for editing React components, it is similar to vue repl
37 lines (33 loc) • 827 B
text/less
.react-repl {
--bg: #fff;
--bg-soft: #f8f8f8;
--border: #ddd;
--text-light: #888;
--font-code: Menlo, Monaco, Consolas, "Courier New", monospace;
--color-branding: #42b883;
--color-branding-dark: #416f9c;
--header-height: 38px;
margin: 0;
overflow: hidden;
font-size: 13px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
background-color: var(--bg-soft);
width: 100%;
height: calc(100vh - var(--nav-height));
}
.dark .react-repl {
--bg: #1a1a1a;
--bg-soft: #242424;
--border: #383838;
--text-light: #aaa;
--color-branding: #42d392;
--color-branding-dark: #89ddff;
}
.react-repl button {
border: none;
outline: none;
cursor: pointer;
margin: 0;
background-color: transparent;
}