diff options
Diffstat (limited to 'packages/memory-graph/src/styles/global.css.ts')
| -rw-r--r-- | packages/memory-graph/src/styles/global.css.ts | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/memory-graph/src/styles/global.css.ts b/packages/memory-graph/src/styles/global.css.ts index cbe37913..ec08d959 100644 --- a/packages/memory-graph/src/styles/global.css.ts +++ b/packages/memory-graph/src/styles/global.css.ts @@ -1,4 +1,4 @@ -import { globalStyle } from "@vanilla-extract/css"; +import { globalStyle } from "@vanilla-extract/css" /** * Global CSS reset and base styles @@ -7,39 +7,39 @@ import { globalStyle } from "@vanilla-extract/css"; // Box sizing reset globalStyle("*, *::before, *::after", { boxSizing: "border-box", -}); +}) // Remove default margins globalStyle("body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd", { margin: 0, -}); +}) // Remove list styles globalStyle("ul[role='list'], ol[role='list']", { listStyle: "none", -}); +}) // Core body defaults globalStyle("html, body", { height: "100%", -}); +}) globalStyle("body", { lineHeight: 1.5, WebkitFontSmoothing: "antialiased", MozOsxFontSmoothing: "grayscale", -}); +}) // Typography defaults globalStyle("h1, h2, h3, h4, h5, h6", { fontWeight: 500, lineHeight: 1.25, -}); +}) // Inherit fonts for inputs and buttons globalStyle("input, button, textarea, select", { font: "inherit", -}); +}) // Remove default button styles globalStyle("button", { @@ -47,25 +47,25 @@ globalStyle("button", { border: "none", padding: 0, cursor: "pointer", -}); +}) // Improve media defaults globalStyle("img, picture, video, canvas, svg", { display: "block", maxWidth: "100%", -}); +}) // Remove built-in form typography styles globalStyle("input, button, textarea, select", { font: "inherit", -}); +}) // Avoid text overflows globalStyle("p, h1, h2, h3, h4, h5, h6", { overflowWrap: "break-word", -}); +}) // Improve text rendering globalStyle("#root, #__next", { isolation: "isolate", -}); +}) |