mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2025-12-21 21:22:25 +00:00
feat: add custom font styling for improved UI aesthetics
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
:root {
|
||||
--ui-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
}
|
||||
|
||||
#vis {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -10,6 +14,27 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Apply font to UI elements */
|
||||
.panel-header,
|
||||
.button,
|
||||
.snippet-item,
|
||||
.snippet-content {
|
||||
font-family: var(--ui-font);
|
||||
}
|
||||
|
||||
.panel-header h2 {
|
||||
font-weight: 600;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.snippet-content {
|
||||
font-size: 0.925rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: grid;
|
||||
grid-template-columns: var(--snippet-width, 1fr) 5px var(--editor-width, 1fr) 5px var(--preview-width, 2fr);
|
||||
|
||||
Reference in New Issue
Block a user