Skip to content

Commit

Permalink
Fix highlighting and urls
Browse files Browse the repository at this point in the history
  • Loading branch information
shilangyu committed Jan 28, 2024
1 parent d801bf9 commit f6d3817
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const target = register("target");

const printStep = (step: TransformationStep) => {
const keywords = ["return", "func", "if", "«init»", "for", "in"];
const registers = ["Reg", "RReg", "WReg"];
const registers = ["RReg", "WReg", "Reg"];

let code = step.code;
for (const keyword of keywords) {
Expand Down
4 changes: 2 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
:root {
--text-color: rgba(255, 255, 255, 0.87);
--bg-color: #242424;
--github-icon: url(./github-mark-white.svg);
--github-icon: url(/github-mark-white.svg);
}

@media (prefers-color-scheme: light) {
:root {
--text-color: #242424;
--bg-color: rgba(255, 255, 255, 0.87);
--github-icon: url(./github-mark-black.svg);
--github-icon: url(/github-mark-black.svg);
}
}

Expand Down

0 comments on commit f6d3817

Please sign in to comment.