Skip to content

Commit

Permalink
refactor: Fixup some repl/code editor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Apr 27, 2024
1 parent ce08c54 commit 4b65af0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/code-editor/code-mirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}

.CodeMirror-linenumber {
color: #4b5363;
color: #8b93a3;
}

.CodeMirror-cursor {
Expand Down
1 change: 1 addition & 0 deletions src/components/controllers/repl/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ export class Repl extends Component {
<ReplWrapper loading={!!loading}>
<header class={style.toolbar}>
<label>
Examples:{' '}
<select value={exampleSlug} onChange={this.loadExample}>
<option value="" disabled>
Select Example...
Expand Down
1 change: 1 addition & 0 deletions src/components/controllers/repl/runner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export default class Runner extends Component {
class={style.runner + ' ' + (props.class || '')}
style={props.style}
ref={this.frame}
title="REPL Result"
/>
);
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/controllers/repl/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
font-size: 100%;
outline: none;
cursor: pointer;
&:hover {
&:hover,
&:focus {
background: linear-gradient(to bottom, #404650, #323640);
background-color: #424854;
color: #d5dce8;
Expand Down

0 comments on commit 4b65af0

Please sign in to comment.