mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-22 01:05:06 +01:00
wip: css and ui packages
This commit is contained in:
39
packages/ui/src/index.css
Normal file
39
packages/ui/src/index.css
Normal file
@@ -0,0 +1,39 @@
|
||||
:root {
|
||||
body {
|
||||
margin: 0;
|
||||
background-color: var(--background-background);
|
||||
color: var(--text-default-text);
|
||||
}
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 100vh;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
main > div {
|
||||
flex: 1;
|
||||
padding: 3rem;
|
||||
min-width: 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin: 0 0 1rem 0;
|
||||
}
|
||||
section {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
.dark {
|
||||
background-color: var(--background-background);
|
||||
color: var(--text-default-text);
|
||||
}
|
||||
Reference in New Issue
Block a user