aboutsummaryrefslogtreecommitdiff
path: root/packages/memory-graph/src/styles/global.css.ts
diff options
context:
space:
mode:
authornexxeln <[email protected]>2025-12-02 18:37:24 +0000
committernexxeln <[email protected]>2025-12-02 18:37:24 +0000
commitdfb0c05ab33cb20537002eaeb896e6b2ab35af25 (patch)
tree49ecaa46903671d96f2f9ebc5af688ab2ea2c7bd /packages/memory-graph/src/styles/global.css.ts
parentFix: Update discord links in README.md and CONTRIBUTING.md (#598) (diff)
downloadsupermemory-dfb0c05ab33cb20537002eaeb896e6b2ab35af25.tar.xz
supermemory-dfb0c05ab33cb20537002eaeb896e6b2ab35af25.zip
add spaces selector with search (#600)update-memory-graph
relevant files to review: \- memory-graph.tsx \- spaces-dropdown.tsx \- spaces-dropdown.css.ts
Diffstat (limited to 'packages/memory-graph/src/styles/global.css.ts')
-rw-r--r--packages/memory-graph/src/styles/global.css.ts26
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",
-});
+})