formatting
This commit is contained in:
parent
0471443716
commit
4b28a69856
1 changed files with 2438 additions and 1874 deletions
|
|
@ -1,19 +1,19 @@
|
|||
import { Paper } from '@mantine/core';
|
||||
import { Paper } from "@mantine/core";
|
||||
|
||||
export const ThemePaper = Paper.extend({
|
||||
classNames: (_theme, props) => {
|
||||
if (props.variant === 'code') return { root: 'paper-code' };
|
||||
if (props.variant === "code") return { root: "paper-code" };
|
||||
return {};
|
||||
},
|
||||
styles: (_theme, props) => {
|
||||
if (props.variant === 'code') {
|
||||
if (props.variant === "code") {
|
||||
return {
|
||||
root: {
|
||||
padding: 'var(--mantine-spacing-md)',
|
||||
backgroundColor: 'var(--inspector-surface-code)',
|
||||
fontFamily: 'var(--mantine-font-family-monospace)',
|
||||
fontSize: 'var(--mantine-font-size-sm)',
|
||||
overflow: 'auto',
|
||||
padding: "var(--mantine-spacing-md)",
|
||||
backgroundColor: "var(--inspector-surface-code)",
|
||||
fontFamily: "var(--mantine-font-family-monospace)",
|
||||
fontSize: "var(--mantine-font-size-sm)",
|
||||
overflow: "auto",
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue