U update styles

pull/480/head
vapao 2022-04-15 22:54:39 +08:00
parent 7eab4b6b85
commit efc6bf5f2b
2 changed files with 4 additions and 4 deletions

View File

@ -30,9 +30,9 @@ function OutView(props) {
useEffect(() => {
store.tag = ''
gCurrent = current
term.setOption('disableStdin', false)
term.setOption('disableStdin', true)
term.setOption('fontFamily', 'Source Code Pro, Courier New, Courier, Monaco, monospace, PingFang SC, Microsoft YaHei')
term.setOption('theme', {background: '#f0f0f0', foreground: '#000', selection: '#999', cursor: '#f0f0f0'})
term.setOption('theme', {background: '#2b2b2b', foreground: '#A9B7C6', cursor: '#2b2b2b'})
term.loadAddon(fitPlugin)
term.open(el.current)
fitPlugin.fit()

View File

@ -255,9 +255,9 @@
.termContainer {
background-color: #f0f0f0;
background-color: #2b2b2b;
padding: 8px 0 4px 12px;
border-radius: 2px;
border-radius: 4px;
.term {
width: 100%;