mirror of https://github.com/openspug/spug
U update styles
parent
7eab4b6b85
commit
efc6bf5f2b
|
@ -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()
|
||||
|
|
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue