Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit b7eb60a

Browse files
committed
feat(styles): Add text color variables to CSS root
This commit introduces new CSS variables for text colors: `--text-primary`, `--text-secondary`, and `--text-muted`. These variables are defined within the `:root, #root, #docs-root` CSS selector and provide a centralized way to manage text colors across the application. This will improve consistency and make it easier to adjust the color scheme in the future.
1 parent 93870b4 commit b7eb60a

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

src/core/database/database.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,15 @@ export function init() {
113113
.root,
114114
#root,
115115
#docs-root {
116-
--accent: #818cf8;
117-
--secondary-accent: #a5b4fc;
118-
--border: #4b5563;
119-
--muted-bg: #18212f;
120-
--gradient-from: #1f2937;
121-
--gradient-to: #111827;
116+
--accent: #818cf8;
117+
--secondary-accent: #a5b4fc;
118+
--text-primary: #f3f4f6;
119+
--text-secondary: #d1d5db;
120+
--text-muted: #9ca3af;
121+
--border: #4b5563;
122+
--muted-bg: #18212f;
123+
--gradient-from: #1f2937;
124+
--gradient-to: #111827;
122125
}
123126
`;
124127

0 commit comments

Comments
 (0)