New homepage!
@@ -1,6 +1,6 @@
|
||||
url: "https://docs.radicle.xyz"
|
||||
url: "https://radicle.xyz"
|
||||
baseurl: "/"
|
||||
title: "docs.radicle.xyz"
|
||||
title: "Radicle: the sovereign forge"
|
||||
highlighter: rouge
|
||||
markdown: kramdown
|
||||
kramdown:
|
||||
@@ -9,3 +9,6 @@ collections:
|
||||
guides:
|
||||
output: true
|
||||
permalink: /guides/:path/
|
||||
pages:
|
||||
output: true
|
||||
permalink: /:path/
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: Radicle Protocol Guide
|
||||
subtitle: How Radicle works under the hood
|
||||
banner: 23.medium.png
|
||||
layout: guide
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: Radicle Seeder's Guide
|
||||
subtitle: How to run a Radicle seed node
|
||||
banner: 24.medium.png
|
||||
layout: guide
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: Radicle User Guide
|
||||
subtitle: A fantastic journey through the Radiverse
|
||||
subtitle: A fantastic journey through the Radicle universe
|
||||
banner: 16.medium.png
|
||||
layout: guide
|
||||
---
|
||||
|
||||
@@ -351,12 +352,13 @@ To publish it to the Radicle network, run the `rad init` command.
|
||||
|
||||
Don't be afraid to do this on one of your existing public repositories! Because
|
||||
even if you aren't ready to use Radicle for code collaboration, it works great
|
||||
for distribution where you can establish a more decentralized "mirror" of your
|
||||
code, so to speak. A mirror that is *censorship resistant, sovereign,
|
||||
tamperproof, ungovernable -- except by you, and oh so magical*. What `rad init`
|
||||
does is gather the essential details from you which are needed to initialize
|
||||
the repository into Radicle: the repository name, description, default branch
|
||||
(typically `main` or `master`), and whether it is public or private.
|
||||
for distribution. Radicle's network of seed nodes help propagate and host code,
|
||||
forming a decentralized, censorship resistant, and ungovernable distribution system.
|
||||
|
||||
What `rad init` does is gather the essential details from you which are needed
|
||||
to initialize the repository into Radicle: the repository name, description,
|
||||
default branch (typically `main` or `master`), and whether it is public or
|
||||
private.
|
||||
|
||||
Similar to how `git init` is used to initialize a Git repository, we use
|
||||
nomenclature you're familiar with so you don't go crazy. That'd be so cruel if
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<footer>
|
||||
<span><small>(c) 2018-2024 The Radicle Team</small></span>
|
||||
<a href="https://radworks.org" target="_blank">
|
||||
<img class="radworks" src="/assets/images/radworks.black.png"/>
|
||||
</a>
|
||||
<span><button class="toggle" id="toggle-theme"><!-- Set by script --></button></span>
|
||||
</footer>
|
||||
@@ -0,0 +1,16 @@
|
||||
<header>
|
||||
<a href="/">
|
||||
<img id="logo" src="/assets/images/radicle.svg" width="32" height="32"/>
|
||||
</a>
|
||||
<div class="ticker">
|
||||
<div>RADICLE RADICLE RADICLE </div>
|
||||
<div>RADICLE PEER-TO-PEER NETWORK </div>
|
||||
<div>RADICLE SOVEREIGN FORGE </div>
|
||||
<div>RADICLE PEER-TO-PEER NETWORK </div>
|
||||
<div>RADICLE SOVEREIGN FORGE </div>
|
||||
<div>RADICLE PEER-TO-PEER NETWORK </div>
|
||||
<div>RADICLE SOVEREIGN FORGE </div>
|
||||
<div>RADICLE PEER-TO-PEER NETWORK </div>
|
||||
<div>RADICLE SOVEREIGN FORGE </div>
|
||||
</div>
|
||||
</header>
|
||||
@@ -0,0 +1,16 @@
|
||||
<title key="title">Radicle: sovereign code infrastructure</title>
|
||||
<link rel="shortcut icon" href="/assets/images/radicle.svg"/>
|
||||
<link rel="stylesheet" type="text/css" href="/index.css"/>
|
||||
<link rel="canonical" href="https://radicle.xyz"/>
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<meta name="description" content="Radicle is a decentralized platform for code collaboration, offering secure and sovereign infrastructure for developers.">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:image" content="https://radicle.xyz/assets/images/radicle.svg"/>
|
||||
<meta name="twitter:site" content="@radicle"/>
|
||||
<meta name="twitter:creator" content="@radicle"/>
|
||||
<meta property="og:image" content="https://radicle.xyz/assets/images/radicle.svg"/>
|
||||
<meta property="og:url" content="https://radicle.xyz"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:title" content="Radicle"/>
|
||||
<meta property="og:description" content="Sovereign code infrastructure."/>
|
||||
@@ -20,8 +20,9 @@
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<a href="{{ "/" | relative_url }}">
|
||||
<a href="/guides">
|
||||
<img src="{{ "/assets/images/radicle.svg" | relative_url }}" alt="" />
|
||||
<span>Guides</span>
|
||||
</a>
|
||||
</div>
|
||||
<nav>
|
||||
@@ -31,7 +32,7 @@
|
||||
<main>
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p class="subtitle">{{ page.subtitle }}</p>
|
||||
<hr />
|
||||
<img class="banner" src="/assets/images/banners/{{ page.banner }}" />
|
||||
{% include toc.html html=content class="toc" item_class="toc-h%level%" %}
|
||||
<hr />
|
||||
{{ content }}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
{% include meta.html %}
|
||||
</head>
|
||||
<body>
|
||||
<img width="160" height="160" id="ribbon" src="/assets/images/ribbon.svg" usemap="#ribbon-map"/>
|
||||
<map name="ribbon-map">
|
||||
<area shape="poly" coords="10,0,55,0,160,95,160,160,10,0" href="https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" target="_blank">
|
||||
</map>
|
||||
{% include header.html %}
|
||||
<main>
|
||||
<p>
|
||||
<strong class="highlight">Radicle</strong> is a sovereign
|
||||
<span id="definition">{code forge}</span> built on Git.
|
||||
</p>
|
||||
<nav>
|
||||
<span class="cta">
|
||||
<a class="button filled" href="#get-started">Get started ↓</a>
|
||||
<a class="button filled secondary" href="/guides/seeder">Run a seed →</a>
|
||||
</span>
|
||||
<span class="links">
|
||||
<a href="/guides">Guides</a>
|
||||
<a href="/faq">FAQ</a>
|
||||
<a href="https://radicle.zulipchat.com" target="_blank">Community</a>
|
||||
<a href="https://twitter.com/radicle" target="_blank">Tweets</a>
|
||||
</span>
|
||||
</nav>
|
||||
{{ content }}
|
||||
</main>
|
||||
{% include footer.html %}
|
||||
<script src="{{ "/assets/js/toggle-theme.js" | relative_url }}"></script>
|
||||
<script>
|
||||
const copyButton = document.getElementById("install");
|
||||
const copyResult = document.getElementById("install-copy");
|
||||
const textToCopy = document.getElementById("install-command").innerText;
|
||||
|
||||
copyButton.addEventListener("click", async function () {
|
||||
try {
|
||||
await navigator.clipboard.writeText(textToCopy);
|
||||
copyResult.innerText = "copied";
|
||||
} catch (err) {
|
||||
console.error("Failed to copy text: ", err);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
{% include meta.html %}
|
||||
</head>
|
||||
<body>
|
||||
{% include header.html %}
|
||||
<main>
|
||||
{{ content }}
|
||||
</main>
|
||||
{% include footer.html %}
|
||||
<script src="{{ "/assets/js/toggle-theme.js" | relative_url }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Radicle Docs
|
||||
layout: page
|
||||
---
|
||||
|
||||
For now, check out our [guides](/guides). Enjoy!.
|
||||
@@ -0,0 +1,276 @@
|
||||
---
|
||||
title: FAQ
|
||||
layout: page
|
||||
---
|
||||
|
||||
Welcome to Radicle's <strong class="highlight">FAQ</strong>. If you can't find
|
||||
an answer here, drop by our [support channel][support] and ask it there!
|
||||
|
||||
[support]: https://radicle.zulipchat.com/#narrow/stream/369873-support
|
||||
|
||||
# General Questions
|
||||
|
||||
## What is Radicle? How is it different from Git/GitHub?
|
||||
|
||||
Radicle is a peer-to-peer code collaboration platform (["forge"][forge]) built
|
||||
on Git. Unlike centralized platforms like GitHub, there is no single entity
|
||||
controlling the network or user data. Repositories are replicated across peers
|
||||
in a decentralized manner. Radicle is an alternative for people and
|
||||
organizations who want full control of their data and user experience, without
|
||||
compromising on the social aspects of collaboration platforms.
|
||||
|
||||
[forge]: https://en.wikipedia.org/wiki/Forge_(software)
|
||||
|
||||
## Who is using Radicle currently? How many users does it have?
|
||||
|
||||
Radicle is still in beta and hasn't officially launched yet. Many people in the
|
||||
community are already using it internally. The product is set to launch at the
|
||||
end of March 2024, and we are just starting to onboard users.
|
||||
|
||||
## How many people are working on it?
|
||||
|
||||
We currently have around 12 people working on Radicle, spread across the
|
||||
protocol, CLI, TUI, web, operations and content.
|
||||
|
||||
## How long have you been working on Radicle?
|
||||
|
||||
The current codebase is a little under 2 years old, but we've been working on
|
||||
the problem for over 4 years in total. Previous iterations of Radicle can be
|
||||
found online, but are considered deprecated in favor of [Heartwood][heartwood],
|
||||
the latest generation of the protocol.
|
||||
|
||||
[heartwood]: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
|
||||
|
||||
# Technical Questions
|
||||
|
||||
## What do you mean by "peer-to-peer"?
|
||||
|
||||
We define it the same way [Wikipedia][p2p] defines it; specifically this part:
|
||||
"Peers are equally privileged, equipotent participants in the network".
|
||||
|
||||
So a peer-to-peer system is one where all participants are "equally privileged
|
||||
in the network". This usually means they all run the same software as well.
|
||||
|
||||
[p2p]: https://en.wikipedia.org/wiki/Peer-to-peer
|
||||
|
||||
## Isn't Git already peer-to-peer? Why do I need Radicle?
|
||||
|
||||
While Git is designed in some way for peer-to-peer interactions, there is no
|
||||
deployment of it that works that way. All deployments use the client-server
|
||||
model because Git lacks functionality to be deployed as-is in a peer-to-peer
|
||||
network.
|
||||
|
||||
For one, it has no way of verifying that the repository you downloaded after a
|
||||
`git clone` is the one you asked for, which means you need to clone from a
|
||||
trusted source (ie. a known server). This isn't compatible with peer-to-peer in
|
||||
any useful way.
|
||||
|
||||
Radicle solves this by assigning [stable identities][rid] to repositories that
|
||||
can be verified locally, allowing repositories to be served by untrusted
|
||||
parties.
|
||||
|
||||
[rid]: /guides/protocol#trust-through-self-certification
|
||||
|
||||
## What does Radicle solve that isn't already solved by Git commit signatures?
|
||||
|
||||
Verifying Git commit signatures, eg. via `git verify-commit` is a good security
|
||||
practice, however Git doesn't solve the problem of knowing whether a signature
|
||||
was made by an active maintainer of the repository or not. It can only indicate
|
||||
whether the signature is valid or not.
|
||||
|
||||
Therefore, to ensure that the repository head was signed by one of the
|
||||
repository's *current maintainers, users would have to keep track of what the
|
||||
current maintainer set is at all times, getting that information from a trusted
|
||||
source.
|
||||
|
||||
Radicle checks this automatically, by verifying changes to the maintainer set
|
||||
through the repository identity document. All you need to know is that you have
|
||||
the correct Repository ID (RID). See [RIP-2][rip-2] for more information.
|
||||
|
||||
[rip-2]: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3trNYnLWS11cJWC6BbxDs5niGo82/tree/0002-identity.md
|
||||
|
||||
## Isn't SHA-1 broken? How do you handle hash collisions?
|
||||
|
||||
SHA-1 is indeed broken, which is why Git uses a "hardened" SHA-1 hash function
|
||||
that can detect collisions, and generate a new "safe" hash. This process is
|
||||
called [counter-cryptanalysis][cc]. Radicle uses Git's hardened SHA-1
|
||||
function, since all replicated objects are stored in Git, and is therefore
|
||||
safe from collision attacks.
|
||||
|
||||
[cc]: https://marc-stevens.nl/research/papers/C13-S.pdf
|
||||
|
||||
## How does Radicle handle code discoverability and search, compared to centralized platforms?
|
||||
|
||||
Basic search functionality exists, but this area is still a work-in-progress.
|
||||
We expect more improvements in search/discovery in the future.
|
||||
|
||||
## Can Radicle handle large binary files like datasets or machine learning models?
|
||||
|
||||
Radicle uses Git internally, which can handle moderately-sized binary data
|
||||
relatively well. For large data however, we are considering adding support for
|
||||
solutions like `git-annex` or `git-lfs`. We intend for Radicle to help with
|
||||
the proliferation of open source AI models.
|
||||
|
||||
## How does Radicle ensure persistence and availability of repositories when nodes go offline?
|
||||
|
||||
Repositories are replicated across multiple peers on the network, so they
|
||||
remain available as long as at least one seeding node is online. Users have
|
||||
fine-grained control over which repositories they personally host and seed.
|
||||
|
||||
Additionally, certain nodes on the network act as [*seed nodes*][seeding] -
|
||||
always-on public nodes - that ensure a certain level of data availability.
|
||||
|
||||
[seeding]: /guides/seeder
|
||||
|
||||
## How does Radicle handle issues, pull requests, code reviews etc. compared to GitHub?
|
||||
|
||||
Radicle has its own model for issues and pull requests (called "patches"),
|
||||
implemented via its own technology called Collaborative Objects (COBs). It
|
||||
supports non-destructive updates to patches and code reviews tied to patch
|
||||
revisions.
|
||||
|
||||
Patches and issues in Radicle are stored within Git's object database and are
|
||||
therefore also available offline.
|
||||
|
||||
## Is there a way to run Radicle over Tor, I2P or other censorship-resistant networks?
|
||||
|
||||
Yes, Radicle is designed with Tor, Nym and I2P support in mind, though it's
|
||||
still very early and these integrations haven't been thoroughly tested.
|
||||
|
||||
## How does Radicle deal with NATs?
|
||||
|
||||
Radicle currently relies on seed nodes to serve data to peers behind
|
||||
[NATs][nat]. However, a [hole-punching][hp] protocol is currently under
|
||||
development, which would allow peers behind NATs to exchange data directly.
|
||||
|
||||
[hp]: https://en.wikipedia.org/wiki/Hole_punching_(networking)
|
||||
[nat]: https://en.wikipedia.org/wiki/Network_address_translation
|
||||
|
||||
## How does Radicle deal with potential abuse, illegal content sharing etc. on the network?
|
||||
|
||||
Each node is free to choose which repositories to host (*seed*) using
|
||||
configured policies. Nodes can block specific repositories or peers exhibiting
|
||||
abusive behavior.
|
||||
|
||||
## Is there a way to host private repositories on Radicle?
|
||||
|
||||
Yes, Radicle supports private repositories that are only shared among a trusted
|
||||
set of peers, not the entire network. These are not encrypted at rest but rely
|
||||
on selective replication and are thus completely invisible to the rest of
|
||||
the network.
|
||||
|
||||
## What is the process for migrating existing GitHub projects to Radicle?
|
||||
|
||||
There are community tools under development for migrating issues and
|
||||
pull-requests. We are planning full migration tooling for the future.
|
||||
|
||||
## Is there a way to easily mirror GitHub repositories on Radicle?
|
||||
|
||||
There is no built-in mirroring yet, but you can easily set up a `cron` job to
|
||||
pull from GitHub and push to Radicle periodically.
|
||||
|
||||
## Does Radicle have plans to support Windows?
|
||||
|
||||
Currently Radicle only supports Unix-based systems like Linux and macOS. We
|
||||
plan to add Windows support if there is enough demand.
|
||||
|
||||
## How does Radicle ensure consistency and prevent multiple versions of the "same" repository?
|
||||
|
||||
Radicle assigns stable identities to repositories that can be cryptographically
|
||||
verified. Changes in repository ownership are signed by previous owners forming
|
||||
a verifiable chain of provenance.
|
||||
|
||||
## Does Radicle use existing peer-to-peer technologies such as IPFS?
|
||||
|
||||
No. The first generation of Radicle protocols was built on top of IPFS, but it
|
||||
was too slow and impractical to use. One of the key issues Radicle needs to
|
||||
solve is handling mutable objects: code repositories change all the time, so a
|
||||
content-addressable store like IPFS is not really a solution.
|
||||
|
||||
## Does Radicle use a DHT?
|
||||
|
||||
Radicle does not use DHT technology because DHTs don't allow nodes on the
|
||||
network to have much of a say in terms of what content they participate in
|
||||
serving.
|
||||
|
||||
Additionally, DHTs can introduce high network latency, especially in the case
|
||||
of permissionless networks, due to requests beyond routed across the globe.
|
||||
|
||||
# User Experience
|
||||
|
||||
## Are there plans to add multilingual/localization support to the UI?
|
||||
|
||||
We will add multilingual support if there is enough demand from the community.
|
||||
|
||||
## How does the user experience of using Radicle command line tools compare to Git?
|
||||
|
||||
Radicle is built on top of Git, so the workflow is quite similar. The `rad` CLI
|
||||
is provided for Radicle-specific functionality, and a Git [remote-helper][grh]
|
||||
is used for seamless integration with Git `push` and `pull` workflows.
|
||||
|
||||
Additionally, the `rad` CLI was designed to be as familiar as possible to Git
|
||||
users.
|
||||
|
||||
[grh]: https://git-scm.com/docs/gitremote-helpers
|
||||
|
||||
## What is the suggested development workflow when using Radicle?
|
||||
|
||||
The workflow is similar to using Git with a platform like GitHub. You clone a
|
||||
repository, make changes locally, then push to the network. Collaboration
|
||||
happens via issues, patches (pull requests), and code review. The difference
|
||||
is that Radicle doesn't have a shared write access model like GitHub. Each
|
||||
user is required to push to their own fork.
|
||||
|
||||
## Do I need to run a node to use Radicle?
|
||||
|
||||
Yes. The node is an essential part of what makes Radicle sovereign. However,
|
||||
you don't have to keep your node running at all times, if you are trying to
|
||||
conserve bandwidth; Radicle works just as well while offline.
|
||||
|
||||
## How do you fork an abandoned repository?
|
||||
|
||||
With `rad init`.
|
||||
|
||||
When you fork an abandoned repo, you are essentially giving it a new
|
||||
repository identity, which is a new root of trust, with a new maintainer set.
|
||||
You'll then have to communicate the new repository identifier and explain that
|
||||
this is a fork of the old repo.
|
||||
|
||||
## Are there plugins for code editors to work with Radicle?
|
||||
|
||||
There is a Visual Studio Code [integration][vscode] extension built by the
|
||||
community.
|
||||
|
||||
[vscode]: https://marketplace.visualstudio.com/items?itemName=radicle-ide-plugins-team.radicle
|
||||
|
||||
# Monetization & Funding
|
||||
|
||||
## What is the monetization strategy for Radicle? Is Radicle free software?
|
||||
|
||||
The Radicle protocol and clients are free and open source software licensed
|
||||
under the MIT and Apache 2.0 licenses, and will remain free software for ever.
|
||||
|
||||
Radicle is currently funded by Radworks. Radworks intends to offer hosting and retrieval services on top of the Radicle protocol. All of Radworks financials are publicly accessible [here][tally].
|
||||
|
||||
## What is the relationship between Radicle and the Radworks (`$RAD`) token?
|
||||
|
||||
Radicle is a true peer-to-peer protocol. It doesn't use nor depend on any
|
||||
blockchain or cryptocurrency.
|
||||
|
||||
[Radworks][radworks], the organization that has been financing Radicle is
|
||||
organized around the `RAD` token which is a governance token on Ethereum.
|
||||
|
||||
## How much funding has Radicle raised?
|
||||
|
||||
The Radicle team is funded by [Radworks][radworks]. To date, around $7m has
|
||||
been granted towards the development of Radicle, by Radworks. Grant proposals
|
||||
for the last two years can be found [here][tally].
|
||||
|
||||
[tally]: https://www.tally.xyz/gov/radworks
|
||||
[radworks]: https://radworks.org
|
||||
|
||||
<footer>
|
||||
<hr>
|
||||
If you have any other questions, feel free to drop into our <a
|
||||
href="https://radicle.zulipchat.com/#narrow/stream/369873-support">support channel</a> on Zulip.
|
||||
</footer>
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: Radicle Guides
|
||||
subtitle: Everything you ever wanted to know
|
||||
layout: page
|
||||
---
|
||||
|
||||
Welcome to the Radicle <strong class="highlight">Guides</strong>. Make sure to
|
||||
also check out our [FAQ](/faq) if you can't find what you're looking for.
|
||||
|
||||
<style>
|
||||
.menu { margin-left: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
|
||||
</style>
|
||||
|
||||
<div class="menu">
|
||||
<a class="button secondary" href="/guides/user">User Guide →</a>
|
||||
<a class="button secondary" href="/guides/protocol">Protocol Guide →</a>
|
||||
<a class="button secondary" href="/guides/seeder">Seeder's Guide →</a>
|
||||
</div>
|
||||
@@ -0,0 +1,89 @@
|
||||
:root {
|
||||
--color-pink: #ff55ff;
|
||||
--color-yellow: #ffff99;
|
||||
--color-secondary: #6666ff;
|
||||
--color-fg-highlight: var(--color-yellow);
|
||||
--color-fg-highlight-tertiary: var(--color-fg-contrast);
|
||||
--color-fg-highlight-secondary: #229944;
|
||||
--color-bg-highlight: #efefff;
|
||||
--color-bg-default: #f5f5ff;
|
||||
--color-fg-contrast: #232563;
|
||||
--color-fg-low-contrast: #434583; /* TODO: tweak this */
|
||||
--color-fg-dim: #5a5aa1;
|
||||
--color-fg-emphasized: #7070FF;
|
||||
--color-fg-match-background: #f5f5ff;
|
||||
--color-fill-secondary: #7070FF;
|
||||
--color-fill-separator: #dbdbff;
|
||||
--color-fill-ghost: #EBEBFF;
|
||||
--color-border-hint: #DBDBFF;
|
||||
--color-border-focus: #8585FF;
|
||||
--color-border-default: var(--color-fg-dim);
|
||||
--color-selection: var(--color-fg-contrast);
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] {
|
||||
--color-pink: #f999f9;
|
||||
--color-yellow: #ffff99;
|
||||
--color-secondary: #9999ff;
|
||||
--color-fg-highlight: var(--color-yellow);
|
||||
--color-fg-highlight-tertiary: #bbeeff;
|
||||
--color-fg-highlight-secondary: #77dd77;
|
||||
--color-bg-highlight: #14151a;
|
||||
--color-bg-default: #0a0d10;
|
||||
--color-fg-contrast: #f9f9fb;
|
||||
--color-fg-low-contrast: #d9d9db; /* TODO: tweak this */
|
||||
--color-fg-dim: #9b9bb1;
|
||||
--color-fg-emphasized: #7070FF;
|
||||
--color-fg-match-background: #0a0d10;
|
||||
--color-fill-secondary: #7070FF;
|
||||
--color-fill-separator: #24252d;
|
||||
--color-fill-ghost: #24252D;
|
||||
--color-border-hint: #24252D;
|
||||
--color-border-focus: #8585FF;
|
||||
--color-selection: var(--color-bg-default);
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: var(--color-selection);
|
||||
background-color: var(--color-yellow);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: var(--font-family-default), sans-serif;
|
||||
color: var(--color-fg-contrast);
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
background-color: var(--color-bg-default);
|
||||
}
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#toggle-theme {
|
||||
border: none;
|
||||
color: var(--color-fg-contrast);
|
||||
padding: 0;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
border-radius: 0.25rem;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
background-size: contain;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
}
|
||||
:root[data-theme=light] #toggle-theme {
|
||||
background-image: url(/assets/images/sun.svg);
|
||||
}
|
||||
:root[data-theme=dark] #toggle-theme {
|
||||
background-image: url(/assets/images/moon.svg);
|
||||
}
|
||||
@@ -57,9 +57,45 @@
|
||||
src: url("/assets/fonts/JetBrainsMono-Bold.woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Anonymous Pro";
|
||||
font-weight: normal;
|
||||
font-display: swap;
|
||||
src: url("/assets/fonts/AnonymousPro-Regular.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Anonymous Pro";
|
||||
font-weight: bold;
|
||||
font-display: swap;
|
||||
src: url("/assets/fonts/AnonymousPro-Bold.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Anonymous Pro";
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
src: url("/assets/fonts/AnonymousPro-Italic.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Anonymous Pro";
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
font-display: swap;
|
||||
src: url("/assets/fonts/AnonymousPro-BoldItalic.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Box Drawing";
|
||||
src: url("/assets/fonts/JetBrainsMono-Regular.woff2");
|
||||
unicode-range: U+2500-257F;
|
||||
}
|
||||
|
||||
:root {
|
||||
--font-family-default: "Inter", sans-serif;
|
||||
--font-family-code: "JetBrains Mono", monospace;
|
||||
--font-family-code-alt: "Anonymous Pro", monospace;
|
||||
--font-weight-regular: 400;
|
||||
--font-weight-medium: 500;
|
||||
--font-weight-semibold: 600;
|
||||
@@ -89,3 +125,33 @@ html {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
font-family: var(--font-family-default);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: var(--font-size-xx-large);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: var(--font-size-x-large);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: var(--font-size-large);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: var(--font-size-medium);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
@@ -1,59 +1,6 @@
|
||||
@charset "utf-8";
|
||||
|
||||
:root {
|
||||
--color-yellow: #ffff88;
|
||||
--color-fg-highlight-secondary: #229944;
|
||||
--color-bg-highlight: #efefff;
|
||||
--color-bg-default: #f5f5ff;
|
||||
--color-fg-contrast: #232563;
|
||||
--color-fg-low-contrast: #434583; /* TODO: tweak this */
|
||||
--color-fg-dim: #6a6a81;
|
||||
--color-fg-emphasized: #7070FF;
|
||||
--color-fg-match-background: #f5f5ff;
|
||||
--color-fill-secondary: #7070FF;
|
||||
--color-fill-separator: #dbdbff;
|
||||
--color-fill-ghost: #EBEBFF;
|
||||
--color-border-hint: #DBDBFF;
|
||||
--color-border-focus: #8585FF;
|
||||
--color-selection: var(--color-fg-contrast);
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] {
|
||||
--color-yellow: #ffff88;
|
||||
--color-bg-highlight: #14151a;
|
||||
--color-bg-default: #0a0d10;
|
||||
--color-fg-contrast: #f9f9fb;
|
||||
--color-fg-low-contrast: #d9d9db; /* TODO: tweak this */
|
||||
--color-fg-dim: #9b9bb1;
|
||||
--color-fg-emphasized: #7070FF;
|
||||
--color-fg-match-background: #0a0d10;
|
||||
--color-fill-secondary: #7070FF;
|
||||
--color-fill-separator: #24252d;
|
||||
--color-fill-ghost: #24252D;
|
||||
--color-border-hint: #24252D;
|
||||
--color-border-focus: #8585FF;
|
||||
--color-selection: var(--color-bg-default);
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: var(--color-selection);
|
||||
background-color: var(--color-yellow);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: var(--font-family-default), sans-serif;
|
||||
color: var(--color-fg-contrast);
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
background-color: var(--color-bg-default);
|
||||
}
|
||||
@import "/assets/css/common.css";
|
||||
@import "/assets/css/fonts.css";
|
||||
|
||||
main, footer {
|
||||
display: grid;
|
||||
@@ -268,8 +215,17 @@ blockquote pre {
|
||||
height: 1.75rem;
|
||||
}
|
||||
|
||||
.title span {
|
||||
color: var(--color-fg-low-contrast);
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.title:hover span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.toc + hr {
|
||||
margin-bottom: 4rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.first {
|
||||
@@ -279,7 +235,7 @@ blockquote pre {
|
||||
.subtitle {
|
||||
font-size: 1.125rem;
|
||||
color: var(--color-fg-dim);
|
||||
margin: 0 0 4rem;
|
||||
margin: 0 0 3rem;
|
||||
}
|
||||
|
||||
main figure, main img {
|
||||
@@ -412,6 +368,11 @@ span.highlight-secondary {
|
||||
color: var(--color-fg-highlight-secondary);
|
||||
}
|
||||
|
||||
.banner {
|
||||
border-radius: 4px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.button {
|
||||
color: var(--color-fill-secondary);
|
||||
font-weight: normal;
|
||||
@@ -424,33 +385,13 @@ span.highlight-secondary {
|
||||
background-color: var(--color-fill-secondary);
|
||||
}
|
||||
|
||||
#toggle-theme {
|
||||
border: none;
|
||||
color: var(--color-fg-contrast);
|
||||
padding: 0;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
border-radius: 0.25rem;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
background-size: contain;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
}
|
||||
:root[data-theme=light] #toggle-theme {
|
||||
background-image: url(/assets/images/sun.svg);
|
||||
}
|
||||
:root[data-theme=dark] #toggle-theme {
|
||||
background-image: url(/assets/images/moon.svg);
|
||||
}
|
||||
|
||||
.toc {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
font-size: 0.75rem !important;
|
||||
margin: 2rem 0;
|
||||
margin: 2rem 0 3rem 0;
|
||||
padding: 0;
|
||||
max-height: 16rem;
|
||||
}
|
||||
@@ -497,7 +438,7 @@ span.highlight-secondary {
|
||||
|
||||
@media (max-width: 1280px) {
|
||||
main, footer {
|
||||
grid-column-gap: 1rem;
|
||||
grid-column-gap: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 673 KiB |
|
After Width: | Height: | Size: 2.5 MiB |
|
After Width: | Height: | Size: 571 KiB |
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 591 KiB |
|
After Width: | Height: | Size: 2.2 MiB |
@@ -0,0 +1,60 @@
|
||||
<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g shape-rendering="crispEdges">
|
||||
<rect x="6" y="1" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="4" y="2" width="1" height="1" fill="#257179"/>
|
||||
<rect x="5" y="2" width="1" height="1" fill="#257179"/>
|
||||
<rect x="6" y="2" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="3" y="3" width="1" height="1" fill="#257179"/>
|
||||
<rect x="4" y="3" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="5" y="3" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="6" y="3" width="1" height="1" fill="#257179"/>
|
||||
<rect x="2" y="4" width="1" height="1" fill="#257179"/>
|
||||
<rect x="3" y="4" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="4" y="4" width="1" height="1" fill="#1A1C2C"/>
|
||||
<rect x="5" y="4" width="1" height="1" fill="#1A1C2C"/>
|
||||
<rect x="6" y="4" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="7" y="4" width="1" height="1" fill="#257179"/>
|
||||
<rect x="1" y="5" width="1" height="1" fill="#257179"/>
|
||||
<rect x="2" y="5" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="3" y="5" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="4" y="5" width="1" height="1" fill="#1A1C2C"/>
|
||||
<rect x="5" y="5" width="1" height="1" fill="#1A1C2C"/>
|
||||
<rect x="6" y="5" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="7" y="5" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="8" y="5" width="1" height="1" fill="#257179"/>
|
||||
<rect x="2" y="6" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="3" y="6" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="4" y="6" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="5" y="6" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="6" y="6" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="7" y="6" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="2" y="7" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="3" y="7" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="4" y="7" width="1" height="1" fill="#B13E53"/>
|
||||
<rect x="5" y="7" width="1" height="1" fill="#B13E53"/>
|
||||
<rect x="6" y="7" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="7" y="7" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="2" y="8" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="3" y="8" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="4" y="8" width="1" height="1" fill="#257179"/>
|
||||
<rect x="5" y="8" width="1" height="1" fill="#B13E53"/>
|
||||
<rect x="6" y="8" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="7" y="8" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="0" y="9" width="1" height="1" fill="#257179"/>
|
||||
<rect x="1" y="9" width="1" height="1" fill="#257179"/>
|
||||
<rect x="2" y="9" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="3" y="9" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="4" y="9" width="1" height="1" fill="#B13E53"/>
|
||||
<rect x="5" y="9" width="1" height="1" fill="#B13E53"/>
|
||||
<rect x="6" y="9" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="7" y="9" width="1" height="1" fill="#5D275D"/>
|
||||
<rect x="8" y="9" width="1" height="1" fill="#257179"/>
|
||||
<rect x="9" y="9" width="1" height="1" fill="#257179"/>
|
||||
<rect x="2" y="10" width="1" height="1" fill="#257179"/>
|
||||
<rect x="3" y="10" width="1" height="1" fill="#257179"/>
|
||||
<rect x="4" y="10" width="1" height="1" fill="#257179"/>
|
||||
<rect x="5" y="10" width="1" height="1" fill="#257179"/>
|
||||
<rect x="6" y="10" width="1" height="1" fill="#257179"/>
|
||||
<rect x="7" y="10" width="1" height="1" fill="#257179"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,53 @@
|
||||
<svg width="192" height="192" viewBox="0 0 192 192" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="60" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="72" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="84" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="96" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="120" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="132" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="24" width="12" height="12" fill="#888899"/>
|
||||
<rect x="60" y="36" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="36" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="48" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="36" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="48" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="60" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="72" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="84" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="96" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="60" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="72" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="72" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="72" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="84" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="84" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="84" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="96" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="96" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="96" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="108" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="108" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="108" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="120" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="120" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="120" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="132" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="132" width="12" height="12" fill="#888899"/>
|
||||
<rect x="132" y="132" width="12" height="12" fill="#888899"/>
|
||||
<rect x="144" y="132" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="144" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="144" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="156" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="156" width="12" height="12" fill="#888899"/>
|
||||
<rect x="24" y="168" width="12" height="12" fill="#888899"/>
|
||||
<rect x="36" y="168" width="12" height="12" fill="#888899"/>
|
||||
<rect x="48" y="168" width="12" height="12" fill="#888899"/>
|
||||
<rect x="60" y="168" width="12" height="12" fill="#888899"/>
|
||||
<rect x="72" y="168" width="12" height="12" fill="#888899"/>
|
||||
<rect x="84" y="168" width="12" height="12" fill="#888899"/>
|
||||
<rect x="96" y="168" width="12" height="12" fill="#888899"/>
|
||||
<rect x="108" y="168" width="12" height="12" fill="#888899"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,7 @@
|
||||
<svg width="8" height="15" viewBox="0 0 8 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g shape-rendering="crispEdges">
|
||||
<path d="M4.59813 3.59579V5.09576H6.09811V6.59574H4.59813V8.09571H3.09814V0.595848H4.59813V2.09582H6.09811V3.59579H4.59813Z" fill="#E1A93C"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.59813 8.0957V9.59567H0.0981445V12.5956H1.59813V14.0956H6.09807V12.5956H7.59805V9.59567H6.09807V8.0957H1.59813ZM4.59824 9.59568V11.0957H3.09826V9.59568H4.59824Z" fill="#B98114"/>
|
||||
<path d="M4.59813 12.5956V11.0956H3.09814V12.5956H4.59813Z" fill="#E1A93C"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 604 B |
@@ -0,0 +1,73 @@
|
||||
<svg width="15" height="11" viewBox="0 0 15 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g shape-rendering="crispEdges">
|
||||
<rect y="4.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="8" y="4.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="1" y="4.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="9" y="4.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="2" y="4.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="10" y="4.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="3" y="3.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="11" y="3.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="2" y="2.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="2" y="0.373474" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="1" y="1.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="5" y="1.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="3" y="0.373474" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="4" y="0.373474" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="10" y="2.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="3" y="2.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="2" y="1.37347" width="1" height="1" fill="black"/>
|
||||
<rect x="3" y="2.37347" width="1" height="1" fill="#FF3232"/>
|
||||
<rect x="10" y="1.37347" width="1" height="1" fill="black"/>
|
||||
<rect x="9" y="1.37347" width="1" height="1" fill="#2BF3F1"/>
|
||||
<rect x="11" y="0.373474" width="1" height="1" fill="#2BF3F1"/>
|
||||
<rect x="10" y="0.373474" width="1" height="1" fill="#2BF3F1"/>
|
||||
<rect x="12" y="0.373474" width="1" height="1" fill="#2BF3F1"/>
|
||||
<rect x="13" y="1.37347" width="1" height="1" fill="#2BF3F1"/>
|
||||
<rect x="11" y="2.37347" width="1" height="1" fill="#FF0000"/>
|
||||
<rect x="3" y="1.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="11" y="1.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="4" y="2.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="12" y="2.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="4" y="1.37347" width="1" height="1" fill="black"/>
|
||||
<rect x="12" y="1.37347" width="1" height="1" fill="black"/>
|
||||
<rect x="4" y="4.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="12" y="4.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="2" y="5.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="10" y="5.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="2" y="6.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="10" y="6.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="2" y="7.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="10" y="7.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="9" y="6.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="9" y="7.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="8" y="7.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="13" y="7.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="13" y="6.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="14" y="7.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="2" y="8.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="10" y="8.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="2" y="9.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="10" y="9.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="3" y="5.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="11" y="5.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="3" y="6.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="11" y="6.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="3" y="7.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="11" y="7.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="4" y="5.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="12" y="5.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="4" y="6.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="12" y="6.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="4" y="7.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="12" y="7.37347" width="1" height="1" fill="#000AFF"/>
|
||||
<rect x="4" y="8.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="12" y="8.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="4" y="9.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="12" y="9.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="5" y="4.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="13" y="4.37347" width="1" height="1" fill="#00C259"/>
|
||||
<rect x="6" y="4.37347" width="1" height="1" fill="#CE4FE5"/>
|
||||
<rect x="14" y="4.37347" width="1" height="1" fill="#00C259"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
@@ -0,0 +1,60 @@
|
||||
<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="70" y="30" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="100" y="30" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="110" y="30" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="60" y="40" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="40" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="40" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="100" y="40" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="110" y="40" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="120" y="40" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="50" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="50" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="90" y="50" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="100" y="50" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="110" y="50" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="120" y="50" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="40" y="60" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="60" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="60" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="90" y="60" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="100" y="60" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="30" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="40" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="50" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="60" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="90" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="100" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="110" y="70" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="40" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="50" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="60" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="90" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="100" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="110" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="120" y="80" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="50" y="90" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="60" y="90" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="90" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="90" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="110" y="90" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="30" y="100" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="40" y="100" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="50" y="100" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="60" y="100" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="100" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="100" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="30" y="110" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="40" y="110" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="50" y="110" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="70" y="110" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="110" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="90" y="110" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="40" y="120" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="50" y="120" width="10" height="10" fill="#FF55FF"/>
|
||||
<rect x="80" y="120" width="10" height="10" fill="#FF55FF"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,216 @@
|
||||
<svg width="51" height="13" viewBox="0 0 51 13" fill="black" xmlns="http://www.w3.org/2000/svg">
|
||||
<g shape-rendering="crispEdges">
|
||||
<rect x="20" y="0" width="1" height="1" />
|
||||
<rect x="21" y="0" width="1" height="1" />
|
||||
<rect x="25" y="0" width="1" height="1" />
|
||||
<rect x="26" y="0" width="1" height="1" />
|
||||
<rect x="37" y="0" width="1" height="1" />
|
||||
<rect x="38" y="0" width="1" height="1" />
|
||||
<rect x="39" y="0" width="1" height="1" />
|
||||
<rect x="40" y="0" width="1" height="1" />
|
||||
<rect x="20" y="1" width="1" height="1" />
|
||||
<rect x="21" y="1" width="1" height="1" />
|
||||
<rect x="25" y="1" width="1" height="1" />
|
||||
<rect x="26" y="1" width="1" height="1" />
|
||||
<rect x="39" y="1" width="1" height="1" />
|
||||
<rect x="40" y="1" width="1" height="1" />
|
||||
<rect x="20" y="2" width="1" height="1" />
|
||||
<rect x="21" y="2" width="1" height="1" />
|
||||
<rect x="39" y="2" width="1" height="1" />
|
||||
<rect x="40" y="2" width="1" height="1" />
|
||||
<rect x="20" y="3" width="1" height="1" />
|
||||
<rect x="21" y="3" width="1" height="1" />
|
||||
<rect x="39" y="3" width="1" height="1" />
|
||||
<rect x="40" y="3" width="1" height="1" />
|
||||
<rect x="20" y="4" width="1" height="1" />
|
||||
<rect x="21" y="4" width="1" height="1" />
|
||||
<rect x="39" y="4" width="1" height="1" />
|
||||
<rect x="40" y="4" width="1" height="1" />
|
||||
<rect x="0" y="5" width="1" height="1" />
|
||||
<rect x="1" y="5" width="1" height="1" />
|
||||
<rect x="3" y="5" width="1" height="1" />
|
||||
<rect x="4" y="5" width="1" height="1" />
|
||||
<rect x="8" y="5" width="1" height="1" />
|
||||
<rect x="9" y="5" width="1" height="1" />
|
||||
<rect x="10" y="5" width="1" height="1" />
|
||||
<rect x="11" y="5" width="1" height="1" />
|
||||
<rect x="16" y="5" width="1" height="1" />
|
||||
<rect x="17" y="5" width="1" height="1" />
|
||||
<rect x="18" y="5" width="1" height="1" />
|
||||
<rect x="20" y="5" width="1" height="1" />
|
||||
<rect x="21" y="5" width="1" height="1" />
|
||||
<rect x="23" y="5" width="1" height="1" />
|
||||
<rect x="24" y="5" width="1" height="1" />
|
||||
<rect x="25" y="5" width="1" height="1" />
|
||||
<rect x="26" y="5" width="1" height="1" />
|
||||
<rect x="31" y="5" width="1" height="1" />
|
||||
<rect x="32" y="5" width="1" height="1" />
|
||||
<rect x="33" y="5" width="1" height="1" />
|
||||
<rect x="34" y="5" width="1" height="1" />
|
||||
<rect x="39" y="5" width="1" height="1" />
|
||||
<rect x="40" y="5" width="1" height="1" />
|
||||
<rect x="45" y="5" width="1" height="1" />
|
||||
<rect x="46" y="5" width="1" height="1" />
|
||||
<rect x="47" y="5" width="1" height="1" />
|
||||
<rect x="48" y="5" width="1" height="1" />
|
||||
<rect x="49" y="5" width="1" height="1" />
|
||||
<rect x="0" y="6" width="1" height="1" />
|
||||
<rect x="1" y="6" width="1" height="1" />
|
||||
<rect x="2" y="6" width="1" height="1" />
|
||||
<rect x="5" y="6" width="1" height="1" />
|
||||
<rect x="7" y="6" width="1" height="1" />
|
||||
<rect x="8" y="6" width="1" height="1" />
|
||||
<rect x="11" y="6" width="1" height="1" />
|
||||
<rect x="12" y="6" width="1" height="1" />
|
||||
<rect x="14" y="6" width="1" height="1" />
|
||||
<rect x="15" y="6" width="1" height="1" />
|
||||
<rect x="19" y="6" width="1" height="1" />
|
||||
<rect x="20" y="6" width="1" height="1" />
|
||||
<rect x="21" y="6" width="1" height="1" />
|
||||
<rect x="25" y="6" width="1" height="1" />
|
||||
<rect x="26" y="6" width="1" height="1" />
|
||||
<rect x="30" y="6" width="1" height="1" />
|
||||
<rect x="31" y="6" width="1" height="1" />
|
||||
<rect x="35" y="6" width="1" height="1" />
|
||||
<rect x="39" y="6" width="1" height="1" />
|
||||
<rect x="40" y="6" width="1" height="1" />
|
||||
<rect x="44" y="6" width="1" height="1" />
|
||||
<rect x="45" y="6" width="1" height="1" />
|
||||
<rect x="49" y="6" width="1" height="1" />
|
||||
<rect x="50" y="6" width="1" height="1" />
|
||||
<rect x="0" y="7" width="1" height="1" />
|
||||
<rect x="1" y="7" width="1" height="1" />
|
||||
<rect x="11" y="7" width="1" height="1" />
|
||||
<rect x="12" y="7" width="1" height="1" />
|
||||
<rect x="14" y="7" width="1" height="1" />
|
||||
<rect x="15" y="7" width="1" height="1" />
|
||||
<rect x="20" y="7" width="1" height="1" />
|
||||
<rect x="21" y="7" width="1" height="1" />
|
||||
<rect x="25" y="7" width="1" height="1" />
|
||||
<rect x="26" y="7" width="1" height="1" />
|
||||
<rect x="30" y="7" width="1" height="1" />
|
||||
<rect x="31" y="7" width="1" height="1" />
|
||||
<rect x="39" y="7" width="1" height="1" />
|
||||
<rect x="40" y="7" width="1" height="1" />
|
||||
<rect x="44" y="7" width="1" height="1" />
|
||||
<rect x="45" y="7" width="1" height="1" />
|
||||
<rect x="49" y="7" width="1" height="1" />
|
||||
<rect x="50" y="7" width="1" height="1" />
|
||||
<rect x="0" y="8" width="1" height="1" />
|
||||
<rect x="1" y="8" width="1" height="1" />
|
||||
<rect x="7" y="8" width="1" height="1" />
|
||||
<rect x="8" y="8" width="1" height="1" />
|
||||
<rect x="9" y="8" width="1" height="1" />
|
||||
<rect x="11" y="8" width="1" height="1" />
|
||||
<rect x="12" y="8" width="1" height="1" />
|
||||
<rect x="14" y="8" width="1" height="1" />
|
||||
<rect x="15" y="8" width="1" height="1" />
|
||||
<rect x="20" y="8" width="1" height="1" />
|
||||
<rect x="21" y="8" width="1" height="1" />
|
||||
<rect x="25" y="8" width="1" height="1" />
|
||||
<rect x="26" y="8" width="1" height="1" />
|
||||
<rect x="30" y="8" width="1" height="1" />
|
||||
<rect x="31" y="8" width="1" height="1" />
|
||||
<rect x="39" y="8" width="1" height="1" />
|
||||
<rect x="40" y="8" width="1" height="1" />
|
||||
<rect x="44" y="8" width="1" height="1" />
|
||||
<rect x="45" y="8" width="1" height="1" />
|
||||
<rect x="46" y="8" width="1" height="1" />
|
||||
<rect x="47" y="8" width="1" height="1" />
|
||||
<rect x="48" y="8" width="1" height="1" />
|
||||
<rect x="49" y="8" width="1" height="1" />
|
||||
<rect x="50" y="8" width="1" height="1" />
|
||||
<rect x="0" y="9" width="1" height="1" />
|
||||
<rect x="1" y="9" width="1" height="1" />
|
||||
<rect x="6" y="9" width="1" height="1" />
|
||||
<rect x="7" y="9" width="1" height="1" />
|
||||
<rect x="10" y="9" width="1" height="1" />
|
||||
<rect x="11" y="9" width="1" height="1" />
|
||||
<rect x="12" y="9" width="1" height="1" />
|
||||
<rect x="14" y="9" width="1" height="1" />
|
||||
<rect x="15" y="9" width="1" height="1" />
|
||||
<rect x="20" y="9" width="1" height="1" />
|
||||
<rect x="21" y="9" width="1" height="1" />
|
||||
<rect x="25" y="9" width="1" height="1" />
|
||||
<rect x="26" y="9" width="1" height="1" />
|
||||
<rect x="30" y="9" width="1" height="1" />
|
||||
<rect x="31" y="9" width="1" height="1" />
|
||||
<rect x="39" y="9" width="1" height="1" />
|
||||
<rect x="40" y="9" width="1" height="1" />
|
||||
<rect x="44" y="9" width="1" height="1" />
|
||||
<rect x="45" y="9" width="1" height="1" />
|
||||
<rect x="0" y="10" width="1" height="1" />
|
||||
<rect x="1" y="10" width="1" height="1" />
|
||||
<rect x="6" y="10" width="1" height="1" />
|
||||
<rect x="7" y="10" width="1" height="1" />
|
||||
<rect x="11" y="10" width="1" height="1" />
|
||||
<rect x="12" y="10" width="1" height="1" />
|
||||
<rect x="14" y="10" width="1" height="1" />
|
||||
<rect x="15" y="10" width="1" height="1" />
|
||||
<rect x="20" y="10" width="1" height="1" />
|
||||
<rect x="21" y="10" width="1" height="1" />
|
||||
<rect x="25" y="10" width="1" height="1" />
|
||||
<rect x="26" y="10" width="1" height="1" />
|
||||
<rect x="30" y="10" width="1" height="1" />
|
||||
<rect x="31" y="10" width="1" height="1" />
|
||||
<rect x="39" y="10" width="1" height="1" />
|
||||
<rect x="40" y="10" width="1" height="1" />
|
||||
<rect x="44" y="10" width="1" height="1" />
|
||||
<rect x="45" y="10" width="1" height="1" />
|
||||
<rect x="0" y="11" width="1" height="1" />
|
||||
<rect x="1" y="11" width="1" height="1" />
|
||||
<rect x="6" y="11" width="1" height="1" />
|
||||
<rect x="7" y="11" width="1" height="1" />
|
||||
<rect x="11" y="11" width="1" height="1" />
|
||||
<rect x="12" y="11" width="1" height="1" />
|
||||
<rect x="14" y="11" width="1" height="1" />
|
||||
<rect x="15" y="11" width="1" height="1" />
|
||||
<rect x="20" y="11" width="1" height="1" />
|
||||
<rect x="21" y="11" width="1" height="1" />
|
||||
<rect x="25" y="11" width="1" height="1" />
|
||||
<rect x="26" y="11" width="1" height="1" />
|
||||
<rect x="30" y="11" width="1" height="1" />
|
||||
<rect x="31" y="11" width="1" height="1" />
|
||||
<rect x="35" y="11" width="1" height="1" />
|
||||
<rect x="39" y="11" width="1" height="1" />
|
||||
<rect x="40" y="11" width="1" height="1" />
|
||||
<rect x="44" y="11" width="1" height="1" />
|
||||
<rect x="45" y="11" width="1" height="1" />
|
||||
<rect x="50" y="11" width="1" height="1" />
|
||||
<rect x="0" y="12" width="1" height="1" />
|
||||
<rect x="1" y="12" width="1" height="1" />
|
||||
<rect x="7" y="12" width="1" height="1" />
|
||||
<rect x="8" y="12" width="1" height="1" />
|
||||
<rect x="9" y="12" width="1" height="1" />
|
||||
<rect x="10" y="12" width="1" height="1" />
|
||||
<rect x="12" y="12" width="1" height="1" />
|
||||
<rect x="15" y="12" width="1" height="1" />
|
||||
<rect x="16" y="12" width="1" height="1" />
|
||||
<rect x="17" y="12" width="1" height="1" />
|
||||
<rect x="18" y="12" width="1" height="1" />
|
||||
<rect x="19" y="12" width="1" height="1" />
|
||||
<rect x="21" y="12" width="1" height="1" />
|
||||
<rect x="23" y="12" width="1" height="1" />
|
||||
<rect x="24" y="12" width="1" height="1" />
|
||||
<rect x="25" y="12" width="1" height="1" />
|
||||
<rect x="26" y="12" width="1" height="1" />
|
||||
<rect x="27" y="12" width="1" height="1" />
|
||||
<rect x="28" y="12" width="1" height="1" />
|
||||
<rect x="31" y="12" width="1" height="1" />
|
||||
<rect x="32" y="12" width="1" height="1" />
|
||||
<rect x="33" y="12" width="1" height="1" />
|
||||
<rect x="34" y="12" width="1" height="1" />
|
||||
<rect x="37" y="12" width="1" height="1" />
|
||||
<rect x="38" y="12" width="1" height="1" />
|
||||
<rect x="39" y="12" width="1" height="1" />
|
||||
<rect x="40" y="12" width="1" height="1" />
|
||||
<rect x="41" y="12" width="1" height="1" />
|
||||
<rect x="42" y="12" width="1" height="1" />
|
||||
<rect x="43" y="12" width="1" height="1" />
|
||||
<rect x="45" y="12" width="1" height="1" />
|
||||
<rect x="46" y="12" width="1" height="1" />
|
||||
<rect x="47" y="12" width="1" height="1" />
|
||||
<rect x="48" y="12" width="1" height="1" />
|
||||
<rect x="49" y="12" width="1" height="1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 100 KiB |
@@ -6,15 +6,17 @@ const defaultTheme = window.matchMedia
|
||||
|
||||
setTheme(storedTheme || defaultTheme);
|
||||
|
||||
themeToggleBtn.addEventListener("click", () => {
|
||||
const currentTheme = rootElement.dataset.theme;
|
||||
if (themeToggleBtn) {
|
||||
themeToggleBtn.addEventListener("click", () => {
|
||||
const currentTheme = rootElement.dataset.theme;
|
||||
|
||||
if (currentTheme === "dark") {
|
||||
setTheme("light");
|
||||
} else {
|
||||
setTheme("dark");
|
||||
}
|
||||
});
|
||||
if (currentTheme === "dark") {
|
||||
setTheme("light");
|
||||
} else {
|
||||
setTheme("dark");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function setTheme(theme) {
|
||||
rootElement.dataset.theme = theme;
|
||||
|
||||
@@ -0,0 +1,370 @@
|
||||
@charset "UTF-8";
|
||||
@import "/assets/css/common.css";
|
||||
@import "/assets/css/fonts.css";
|
||||
|
||||
body {
|
||||
line-height: 1.4;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body, h1, h2, h3, h4, h5, p, table {
|
||||
font-size: 1rem;
|
||||
font-family: var(--font-family-code-alt);
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
font-weight: bold;
|
||||
color: var(--color-fg-highlight-tertiary);
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding: 0.125rem;
|
||||
margin-top: 2rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
h2::after {
|
||||
margin-left: 0.5rem;
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-size: 16px 16px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
h2#unparalleled-autonomy:after {
|
||||
background-image: url(/assets/images/radicle.svg);
|
||||
filter: brightness(200%) hue-rotate(160deg);
|
||||
content: "";
|
||||
}
|
||||
|
||||
h2#modular-by-design:after {
|
||||
background-image: url(/assets/images/puzzle.svg);
|
||||
content: "";
|
||||
}
|
||||
|
||||
h2#local-first::after {
|
||||
background-image: url(/assets/images/cabin.svg);
|
||||
filter: brightness(130%);
|
||||
content: "";
|
||||
}
|
||||
|
||||
h2#your-data-forever-and-secure::after {
|
||||
background-image: url(/assets/images/key.svg);
|
||||
content: "";
|
||||
}
|
||||
|
||||
h2#evolvable--extensible::after {
|
||||
background-image: url(/assets/images/p2p.svg);
|
||||
content: "";
|
||||
}
|
||||
|
||||
p, ul, nav, pre, #install {
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-bottom: 1px solid var(--color-border-hint);
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-position: inside;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
ul li {
|
||||
margin-left: 0;
|
||||
}
|
||||
ul li::marker {
|
||||
content: "* ";
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: 0 1rem;
|
||||
margin-left: 2rem;
|
||||
border-left: 1px solid var(--color-border-hint);
|
||||
}
|
||||
blockquote p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: var(--font-family-code-alt);
|
||||
color: var(--color-fg-low-contrast);
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: var(--font-family-code-alt);
|
||||
overflow-x: hidden;
|
||||
text-overflow: hidden;
|
||||
color: var(--color-fg-dim);
|
||||
}
|
||||
|
||||
pre.diagram {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
strong.highlight {
|
||||
color: var(--color-pink);
|
||||
}
|
||||
|
||||
h2 em {
|
||||
color: vaR(--color-fg-contrast);
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-fg-low-contrast);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dashed var(--color-border-default);
|
||||
}
|
||||
a:hover {
|
||||
color: var(--color-fg-contrast);
|
||||
border-color: var(--color-fg-contrast);
|
||||
}
|
||||
.button {
|
||||
display: inline-block;
|
||||
color: var(--color-pink);
|
||||
background: none;
|
||||
border: 1px dashed var(--color-pink);
|
||||
margin: 0.5rem 0;
|
||||
padding: 0.5rem 0.75rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.button:hover, .button.filled,
|
||||
:root[data-theme="light"] .button {
|
||||
border-color: var(--color-pink);
|
||||
background-color: var(--color-pink);
|
||||
color: var(--color-bg-default);
|
||||
}
|
||||
|
||||
.button.secondary {
|
||||
color: var(--color-secondary);
|
||||
border: 1px dashed var(--color-secondary);
|
||||
}
|
||||
|
||||
.button.secondary:hover, .button.secondary.filled,
|
||||
:root[data-theme="light"] .button.secondary {
|
||||
border-color: var(--color-secondary);
|
||||
background-color: var(--color-secondary);
|
||||
color: var(--color-bg-default);
|
||||
}
|
||||
|
||||
.button.small {
|
||||
padding: 0.25rem 0.75rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.button.filled, :root[data-theme="light"] .button {
|
||||
border-style: none;
|
||||
}
|
||||
.button.filled:hover, :root[data-theme="light"] .button:hover {
|
||||
background-color: var(--color-fg-low-contrast) !important;
|
||||
color: var(--color-bg-default) !important;
|
||||
}
|
||||
|
||||
li::marker {
|
||||
content: "- ";
|
||||
}
|
||||
|
||||
body > main {
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
max-width: 96ch;
|
||||
}
|
||||
|
||||
body > header {
|
||||
position: relative;
|
||||
color: var(--color-fg-low-contrast);
|
||||
border-bottom: 1px solid var(--color-border-hint);
|
||||
font-weight: bold;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: hidden;
|
||||
flex-wrap: nowrap;
|
||||
width: 100%;
|
||||
height: 1.5rem;
|
||||
min-height: 1.5rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
body > footer {
|
||||
display: flex;
|
||||
color: var(--color-fg-dim);
|
||||
border-top: 1px solid var(--color-border-hint);
|
||||
padding: 0 0.5rem;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
height: 1.5rem;
|
||||
min-height: 1.5rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
body > footer > * {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
body > footer :first-child > * {
|
||||
margin-right: auto;
|
||||
}
|
||||
body > footer :last-child > * {
|
||||
margin-left: auto;
|
||||
}
|
||||
body > footer .radworks {
|
||||
height: 1rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
body > footer a {
|
||||
border-bottom: none;
|
||||
}
|
||||
:root[data-theme="light"] .radworks {
|
||||
opacity: 0.33;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
nav .cta {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#logo {
|
||||
position: absolute;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
#ribbon {
|
||||
position: absolute;
|
||||
float: right;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
#definition {
|
||||
color: var(--color-fg-dim);
|
||||
}
|
||||
|
||||
.links {
|
||||
display: inline-flex;
|
||||
margin-left: 1rem;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
a.screenshot {
|
||||
border: none;
|
||||
}
|
||||
a.screenshot:hover img {
|
||||
filter: grayscale(0%);
|
||||
}
|
||||
a.screenshot img {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.caption {
|
||||
color: var(--color-fg-dim);
|
||||
}
|
||||
|
||||
img.screenshot {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
border: 1px dashed var(--color-secondary);
|
||||
width: 100%;
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
|
||||
/* COPY BOX */
|
||||
|
||||
#install {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: var(--color-fg-low-contrast);
|
||||
margin: 0.5rem 2rem;
|
||||
padding: 0.75rem 1rem;
|
||||
border: 1px dashed var(--color-border-hint);
|
||||
max-width: 90%;
|
||||
cursor: pointer;
|
||||
}
|
||||
#install:hover {
|
||||
border-color: var(--color-fg-contrast);
|
||||
}
|
||||
#install:active {
|
||||
border-color: var(--color-fg-highlight-secondary);
|
||||
}
|
||||
#install code {
|
||||
line-height: 16px;
|
||||
text-overflow: ellipsis;
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#install:hover img {
|
||||
filter: brightness(130%);
|
||||
}
|
||||
#install:hover code {
|
||||
color: var(--color-fg-contrast);
|
||||
}
|
||||
#install:active code {
|
||||
color: var(--color-fg-highlight-secondary);
|
||||
}
|
||||
#install-copy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--color-fg-highlight-secondary);
|
||||
line-height: 16px;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
/* TICKER */
|
||||
|
||||
.ticker {
|
||||
display: inline-block;
|
||||
font-size: 0.875rem;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
animation: ticker 120s linear infinite;
|
||||
}
|
||||
|
||||
.ticker > *:nth-child(even) {
|
||||
color: var(--color-fg-dim);
|
||||
}
|
||||
.ticker > *:nth-child(odd) {
|
||||
color: var(--color-fg-low-contrast);
|
||||
}
|
||||
|
||||
@keyframes ticker {
|
||||
0% {
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(-200%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
nav {
|
||||
display: block;
|
||||
}
|
||||
#ribbon {
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
}
|
||||
.links {
|
||||
display: flex;
|
||||
margin-left: 0;
|
||||
margin-top: 1rem;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,139 @@
|
||||
---
|
||||
title: Radicle Docs
|
||||
subtitle: Everything you ever wanted to know
|
||||
layout: default
|
||||
title: "Radicle: sovereign code infrastructure"
|
||||
layout: home
|
||||
---
|
||||
|
||||
<style>
|
||||
.menu { display: flex; gap: 1rem; flex-wrap: wrap; }
|
||||
</style>
|
||||
# Synopsis
|
||||
|
||||
<div class="menu">
|
||||
<a class="button" href="/guides/user">User Guide →</a>
|
||||
<a class="button" href="/guides/protocol">Protocol Guide →</a>
|
||||
<a class="button" href="/guides/seeder">Seeder's Guide →</a>
|
||||
<a class="button" href="https://radicle.zulipchat.com">Community Chat ↗</a>
|
||||
Radicle is an open source, peer-to-peer code collaboration stack. It leverages Git's architecture combined with cryptography and a gossip protocol to enable a fully sovereign developer stack.
|
||||
|
||||
<a class="screenshot" href="https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" target="_blank" title="Heartwood is the latest generation of the Radicle protocol">
|
||||
<img class="screenshot" src="/assets/images/web-app-screenshot.png"/>
|
||||
</a>
|
||||
<small class="caption">
|
||||
The Radicle <code>heartwood</code> repository. Repository ID
|
||||
<code>rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5</code>.
|
||||
</small>
|
||||
|
||||
<a id="get-started"><!-- Anchor --></a>
|
||||
|
||||
# Get started
|
||||
|
||||
> **Latest release** 💾 [Radicle v0.8.0 (a48081f)][binaries] - Feb 26 2024
|
||||
|
||||
To install Radicle on your system, simply run the [install
|
||||
script][install-script] from a POSIX shell. For now, Radicle only works on
|
||||
Linux, macOS and BSD variants.
|
||||
|
||||
The following command downloads and runs the installation script on your
|
||||
system:
|
||||
|
||||
<div id="install">
|
||||
<code id="install-command">curl -sSf https://radicle.xyz/install | sh</code>
|
||||
<span id="install-copy">
|
||||
<img width="16" height="16" src="/assets/images/copy.svg"/>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Alternatively, you can build from [source][heartwood] or get the [binaries][].
|
||||
|
||||
<a class="button" href="/guides/user">Follow the guide →</a>
|
||||
|
||||
# How it works
|
||||
|
||||
The Radicle protocol leverages cryptographic identities for code and social
|
||||
artifacts, utilizes Git for efficient data transfer between peers, and employs
|
||||
a custom gossip protocol for exchanging repository metadata.
|
||||
|
||||
<a class="button" href="/guides/protocol">Learn more →</a>
|
||||
|
||||
## Your Data, Forever and Secure
|
||||
|
||||
All social artifacts are stored in Git, and signed using public-key
|
||||
cryptography. Radicle verifies the authenticity and authorship of all data
|
||||
for you.
|
||||
|
||||
## Unparalleled Autonomy
|
||||
|
||||
Radicle enables users to run their own nodes, ensuring censorship-resistant
|
||||
code collaboration and fostering a resilient network without reliance on
|
||||
third-parties.
|
||||
|
||||
## Local-first
|
||||
|
||||
Radicle is [local-first][], providing always-available functionality even
|
||||
without internet access. Users own their data, making migration, backup, and
|
||||
access easy both online and offline.
|
||||
|
||||
## Evolvable & Extensible
|
||||
|
||||
Radicle's [Collaborative Objects][cobs] (COBs) provide Radicle's *social
|
||||
primitive*. This enables features such as issues, discussions and code review
|
||||
to be implemented as Git objects. Developers can extend Radicle's capabilities
|
||||
to build any kind of collaboration flow they see fit.
|
||||
|
||||
## Modular by Design
|
||||
|
||||
The Radicle Stack comes with a CLI, web interface and TUI, that are backed by
|
||||
the Radicle Node and HTTP Daemon. It's modular, so any part can be swapped out
|
||||
and other clients can be developed.
|
||||
|
||||
<pre class="diagram">
|
||||
┌─────────────────┐┌────────────────┐
|
||||
│ Radicle CLI ││ Radicle Web │
|
||||
└─────────────────┘└────────────────┘
|
||||
┌───────────────────────────────────┐
|
||||
│ Radicle Repository │
|
||||
│ ┌────────┐ ┌────────┐ ┌─────────┐ │
|
||||
│ │ code │ │ issues │ │ patches │ │
|
||||
│ └────────┘ └────────┘ └─────────┘ │
|
||||
├───────────────────────────────────┤
|
||||
│ Radicle Storage (Git) │
|
||||
└───────────────────────────────────┘
|
||||
┌────────────────┐┌─────────────────┐
|
||||
│ Radicle Node ││ Radicle HTTPD │
|
||||
├────────────────┤├─────────────────┤
|
||||
│ NoiseXK ││ HTTP + JSON │
|
||||
└────────────────┘└─────────────────┘
|
||||
</pre>
|
||||
|
||||
<a class="button" href="https://app.radicle.xyz/nodes/seed.radicle.xyz">Browse our repositories ↗</a>
|
||||
|
||||
# Updates
|
||||
|
||||
- 10.03.2024 New Radicle homepage! ✨
|
||||
- 05.03.2024 [Radicle Guides](/guides) launch.
|
||||
- 05.03.2024 [Radicle makes it to the top of Hacker News][hn]!
|
||||
- 18.04.2023 [Radicle heartwood is announced](https://x.com/radicle/status/1648336186862194693?s=20).
|
||||
|
||||
[hn]: https://news.ycombinator.com/item?id=39600810
|
||||
|
||||
# Contributing
|
||||
|
||||
Radicle is *free and open source* software under the MIT and Apache 2.0
|
||||
licenses. Get involved by [contributing code][contribute].
|
||||
|
||||
[contribute]: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/tree/CONTRIBUTING.md
|
||||
|
||||
# Social
|
||||
|
||||
Follow us on [Twitter][twitter] to stay updated, or join our [Zulip][zulip].
|
||||
|
||||
.
|
||||
*
|
||||
.
|
||||
* --O--
|
||||
/|\
|
||||
, .
|
||||
.
|
||||
..-.--*--.__-__..._.--..-._.---....~__..._.--..~._.---.--..____.--_--'`_---..
|
||||
-.--~--._ __..._.--..~._.--- - -.____.--_--'`_---..~.----_~
|
||||
|
||||
|
||||
[install-script]: /install
|
||||
[twitter]: https://twitter.com/radicle
|
||||
[zulip]: https://radicle.zulipchat.com
|
||||
[heartwood]: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
|
||||
[cobs]: /guides/protocol#collaborative-objects
|
||||
[local-first]: https://www.inkandswitch.com/local-first/
|
||||
[binaries]: https://files.radicle.xyz/latest
|
||||
|
||||
@@ -0,0 +1,151 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Radicle installation script.
|
||||
#
|
||||
set -e
|
||||
|
||||
url() {
|
||||
echo "https://files.radicle.xyz/latest/$1/radicle-$1.tar.gz"
|
||||
}
|
||||
|
||||
info() {
|
||||
printf "\033[36m$*\033[0m\n"
|
||||
}
|
||||
|
||||
warn() {
|
||||
printf "\033[33m$*\033[0m\n"
|
||||
}
|
||||
|
||||
success() {
|
||||
printf "\033[32m✓\033[0m Radicle was installed successfully.\n"
|
||||
printf "\n"
|
||||
}
|
||||
|
||||
fatal() {
|
||||
printf "\033[31merror\033[0m: $*\n" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
target() {
|
||||
TARGET=""
|
||||
|
||||
case "$(uname)/$(uname -m)" in
|
||||
Darwin/arm64)
|
||||
TARGET="aarch64-apple-darwin" ;;
|
||||
Darwin/x86_64)
|
||||
TARGET="x86_64-apple-darwin" ;;
|
||||
Linux/arm64|Linux/aarch64)
|
||||
TARGET="aarch64-unknown-linux-musl" ;;
|
||||
Linux/x86_64)
|
||||
TARGET="x86_64-unknown-linux-musl" ;;
|
||||
*)
|
||||
fatal "Your operating system is currently unsupported. Sorry!" ;;
|
||||
esac
|
||||
echo $TARGET
|
||||
}
|
||||
|
||||
tempdir() {
|
||||
if [ -n "$TMPDIR" ]; then
|
||||
echo "$TMPDIR"
|
||||
elif [ -d "/tmp" ]; then
|
||||
echo "/tmp"
|
||||
else
|
||||
fatal "Could not locate temporary directory"
|
||||
fi
|
||||
}
|
||||
|
||||
in_path() {
|
||||
IFS=":"
|
||||
|
||||
for dir in $PATH; do
|
||||
if [ "$dir" = "$1" ]; then
|
||||
return 0 # The path is in $PATH
|
||||
fi
|
||||
done
|
||||
|
||||
return 1 # The path is not in $PATH
|
||||
}
|
||||
|
||||
main() {
|
||||
echo
|
||||
echo "👾 Welcome to Radicle"
|
||||
echo
|
||||
|
||||
RAD_HOME=${RAD_HOME:-"$HOME/.radicle"}
|
||||
RAD_PATH=${RAD_PATH:-"$RAD_HOME/bin"}
|
||||
RAD_MANPATH=${RAD_MANPATH:-"$RAD_HOME/man"}
|
||||
SHELL=${SHELL:-"/bin/sh"}
|
||||
|
||||
info "Detecting operating system..."
|
||||
TARGET=$(target)
|
||||
|
||||
if ! command -v tar >/dev/null 2>&1; then
|
||||
fatal "Please install 'tar' and try again"
|
||||
fi
|
||||
|
||||
if ! command -v curl >/dev/null 2>&1; then
|
||||
fatal "Please install 'curl' and try again"
|
||||
fi
|
||||
|
||||
info "Installing radicle into $RAD_PATH..."
|
||||
mkdir -p "$RAD_PATH"
|
||||
mkdir -p "$RAD_MANPATH/man1"
|
||||
curl -# -L "$(url "$TARGET")" | tar -xz --strip-components=1 -C "$RAD_PATH"
|
||||
chmod +x \
|
||||
$RAD_PATH/radicle-node \
|
||||
$RAD_PATH/radicle-httpd \
|
||||
$RAD_PATH/rad \
|
||||
$RAD_PATH/rad-web \
|
||||
$RAD_PATH/git-remote-rad
|
||||
|
||||
info "Installing manuals into $RAD_MANPATH..."
|
||||
mv "$RAD_PATH"/*.1 "$RAD_MANPATH"/man1/
|
||||
|
||||
if ! command -v git >/dev/null 2>&1; then
|
||||
warn
|
||||
warn "Warning: a Git installation was not detected on your system."
|
||||
warn "Warning: please install Git for Radicle to work correctly."
|
||||
fi
|
||||
|
||||
# If radicle is not in $PATH, add it here.
|
||||
if ! in_path $RAD_PATH; then
|
||||
PROFILE=""
|
||||
|
||||
case $SHELL in
|
||||
*/zsh)
|
||||
PROFILE=$HOME/.zshenv ;;
|
||||
*/bash)
|
||||
PROFILE=$HOME/.bashrc ;;
|
||||
*/fish)
|
||||
PROFILE=$HOME/.config/fish/config.fish ;;
|
||||
*/ash)
|
||||
PROFILE=$HOME/.profile ;;
|
||||
*/csh)
|
||||
PROFILE=$HOME/.cshrc ;;
|
||||
esac
|
||||
|
||||
if [ -z "$PROFILE" ]; then
|
||||
warn "Warning: unable to update your PATH variable."
|
||||
warn "Warning: please manually add $RAD_PATH to your PATH."
|
||||
else
|
||||
info "Configuring path variable in ~${PROFILE#$HOME}..."
|
||||
echo >> "$PROFILE"
|
||||
echo "# Added by Radicle." >> "$PROFILE"
|
||||
echo "export PATH=\"\$PATH:$RAD_PATH\"" >> "$PROFILE"
|
||||
echo
|
||||
|
||||
success
|
||||
|
||||
printf "Before running Radicle for the first time,\n"
|
||||
printf "run \033[34m\`source ~${PROFILE#$HOME}\`\033[0m or open a new terminal.\n"
|
||||
printf "\n"
|
||||
printf "Then, create your radicle key pair with \033[35m\`rad auth\`\033[0m.\n"
|
||||
fi
|
||||
else
|
||||
echo
|
||||
success
|
||||
printf "To get started, create your radicle key pair with \033[35m\`rad auth\`\033[0m.\n"
|
||||
fi
|
||||
}
|
||||
|
||||
main "$@"
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
input="$1"
|
||||
output="${input%.*}.medium.png"
|
||||
|
||||
echo "resizing $input -> $output"
|
||||
convert "$input" -resize 1280x1280 "$output"
|
||||
pngquant "$output" -o "$output.quant"
|
||||
|
||||
mv -f "$output.quant" "$output"
|
||||
|
||||
oxipng "$output"
|
||||