feat: basic terminal printing
This commit is contained in:
9
src/styles/app.scss
Normal file
9
src/styles/app.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
@forward "terminal.scss";
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
2
src/styles/colors.scss
Normal file
2
src/styles/colors.scss
Normal file
@@ -0,0 +1,2 @@
|
||||
$terminal-background: #141414;
|
||||
$terminal-white: #fff;
|
||||
21
src/styles/terminal.scss
Normal file
21
src/styles/terminal.scss
Normal file
@@ -0,0 +1,21 @@
|
||||
@use "colors.scss" as colors;
|
||||
|
||||
#terminal {
|
||||
background: colors.$terminal-background;
|
||||
color: colors.$terminal-white;
|
||||
font-family: "JetBrains Mono", "Cascadia Mono", "Consolas", monospace;
|
||||
|
||||
::-moz-selection {
|
||||
background: colors.$terminal-white;
|
||||
color: colors.$terminal-background;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
height: fit-content;
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user