Skip to content

Commit

Permalink
feat: use css light-dark (#30)
Browse files Browse the repository at this point in the history
Co-authored-by: Elias Sjögreen <[email protected]>
  • Loading branch information
load1n9 and eliassjogreen authored Nov 26, 2024
1 parent eaeff62 commit 2e2339d
Show file tree
Hide file tree
Showing 118 changed files with 549 additions and 54 deletions.
2 changes: 1 addition & 1 deletion components/Markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
pre:has(code) {
outline: 1rem solid var(--neutral-100);
background-color: var(--neutral-100);
overflow: scroll;
overflow: auto;
}
}
4 changes: 2 additions & 2 deletions pages/blog/post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { href, output } from "utils/path.ts";
import { write } from "utils/fs.ts";

import { Layout } from "components/Layout.tsx";
import { BlogPost } from "components/BlogPost.tsx";
import { BlogPost, type BlogPostProps } from "components/BlogPost.tsx";

import { BlogPostProps, posts } from "./utils.ts";
import { posts } from "./utils.ts";

function Post(props: BlogPostProps) {
return (
Expand Down
12 changes: 7 additions & 5 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function Index() {
<h1>Welcome!</h1>
<p>
Nova is a JavaScript (<a href="https://tc39.es/ecma262/">ECMAScript</a>)
and <a href="https://webassembly.org/">WebAssembly</a> engine written in
Rust and following{" "}
and <a href="https://webassembly.org/">WebAssembly</a>{" "}
engine written in Rust and following{" "}
<a href="https://en.wikipedia.org/wiki/Data-oriented_design">
data-oriented design principles
</a>
Expand All @@ -29,15 +29,17 @@ function Index() {
something much more in the future.
</p>
<p>
The engine is still very limited in it's capabilities only passing about{" "}
The engine is still very limited in it's capabilities only passing about
{" "}
<a href={href(import.meta.resolve("./test262.tsx"))}>
{((metrics.results.pass / metrics.total) * 100).toFixed()}% of the
test262 test suite
</a>
. However development is ongoing and we are quickly improving the
engine. If you are interested in the project, please check out the{" "}
<a href="https://github.com/trynova/nova">GitHub repository</a> and or
join our <a href="https://discord.gg/bwY4TRB8J7">Discord server</a>{" "}
<a href="https://github.com/trynova/nova">GitHub repository</a>{" "}
and or join our{" "}
<a href="https://discord.gg/bwY4TRB8J7">Discord server</a>{" "}
where the core team resides and where we discuss development.
</p>
</Layout>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/android/android-launchericon-48-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/android/android-launchericon-72-72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/android/android-launchericon-96-96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/167.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/ios/58.png
Binary file added public/icons/ios/60.png
Binary file added public/icons/ios/64.png
Binary file added public/icons/ios/72.png
Binary file added public/icons/ios/76.png
Binary file added public/icons/ios/80.png
Binary file added public/icons/ios/87.png
Binary file added public/icons/windows11/LargeTile.scale-100.png
Binary file added public/icons/windows11/LargeTile.scale-125.png
Binary file added public/icons/windows11/LargeTile.scale-150.png
Binary file added public/icons/windows11/LargeTile.scale-200.png
Binary file added public/icons/windows11/LargeTile.scale-400.png
Binary file added public/icons/windows11/SmallTile.scale-100.png
Binary file added public/icons/windows11/SmallTile.scale-125.png
Binary file added public/icons/windows11/SmallTile.scale-150.png
Binary file added public/icons/windows11/SmallTile.scale-200.png
Binary file added public/icons/windows11/SmallTile.scale-400.png
Binary file added public/icons/windows11/SplashScreen.scale-100.png
Binary file added public/icons/windows11/SplashScreen.scale-150.png
Binary file added public/icons/windows11/SplashScreen.scale-400.png
Binary file added public/icons/windows11/Square150x150Logo.scale-150.png
Binary file added public/icons/windows11/Square44x44Logo.scale-100.png
Binary file added public/icons/windows11/Square44x44Logo.scale-125.png
Binary file added public/icons/windows11/Square44x44Logo.scale-150.png
Binary file added public/icons/windows11/Square44x44Logo.scale-200.png
Binary file added public/icons/windows11/Square44x44Logo.scale-400.png
Binary file added public/icons/windows11/StoreLogo.scale-100.png
Binary file added public/icons/windows11/StoreLogo.scale-125.png
Binary file added public/icons/windows11/StoreLogo.scale-150.png
Binary file added public/icons/windows11/StoreLogo.scale-200.png
Binary file added public/icons/windows11/StoreLogo.scale-400.png
Binary file added public/icons/windows11/Wide310x150Logo.scale-100.png
Binary file added public/icons/windows11/Wide310x150Logo.scale-125.png
Loading

0 comments on commit 2e2339d

Please sign in to comment.