Skip to content

Commit

Permalink
green theme and nord syntax highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Jan 27, 2024
1 parent 5e371f8 commit 0182536
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"dependencies": {
"geist": "^1.2.0",
"prism-themes": "^1.9.0",
"prismjs": "^1.21.0"
},
"devDependencies": {
Expand Down
13 changes: 11 additions & 2 deletions src/templates/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<head>
<title>Greenwood</title>
<meta charset="utf-8">
<link rel="stylesheet" href="/node_modules/prismjs/themes/prism-tomorrow.css"></link>
<link rel="stylesheet" href="/node_modules/prism-themes/themes/prism-nord.css"></link>
<style>
:root {
--color-primary: '';
--color-secondary: #003554;
/* --color-accent: #e2725b; */
/* --color-accent: #e57757; */
--color-accent: #c2452d;
--color-accent: #04724d;
/* --color-accent: #c2452d; */
--color-white: white;
--color-yellow: #fffaca;
--color-green: #04724d;
Expand Down Expand Up @@ -186,6 +187,14 @@
margin: 10px auto;
display: inline-block;
}

h3 u {
color: var(--color-accent);
}

h3 u i {
color: var(--color-white);
}
</style>
</head>

Expand Down

0 comments on commit 0182536

Please sign in to comment.