what theming is possible; tor section; a few icons

This commit is contained in:
Dan Ballard 2022-05-24 16:34:05 -07:00
parent d3e5ba9127
commit d3e5e4cafe
5 changed files with 64 additions and 1 deletions

View File

@ -6,6 +6,6 @@ sidebar_position: 5
When you restart Cwtch, if you used a [password](/docs/profiles/change-password/) on your profile, it will not be loaded by default, you need to unlock it.
1. Press the pink unlock icon
1. Press the pink unlock icon <img src="/img/lock_open-24px.webp" className="ui-button" alt="unlock icon" />
2. Input your password
3. Click “unlock your profile”

37
docs/tor.md Normal file
View File

@ -0,0 +1,37 @@
---
sidebar_position: 5
---
# Tor
Cwtch uses [Tor](https://www.torproject.org/) to provide routing and connections. Using Tor hidden services to host profiles and on the fly generated "ephemeral" connections when making a connection provides strong anonymity guarantees to users of Cwtch.
## Tor Pane
Since we are adding an additional networking layer to Cwtch, we provide a pane to view Tor network status and make changes. To access it
1. From the profile list pane, click the Tor icon ![tor icon](/img/Tor_icon.png)
2. View the tor network status
```
Tor Status: Online
Tor Version: 0.4.6.9
```
### Reset Tor
The Tor network itself can occasionally have stale connections that aren't detected immediatly by it or Cwtch (we're always trying to improve this). Sometimes a user may find contacts or groups appearing offline they feel should be online. If you'd like to restart all the networking connections in Cwtch, we provide a mechanism to reboot tor from within the app. The **reset** button will reboot Tor from within the Cwtch app.
### Cache Tor Consensus
By default we start a fresh Tor process every time the app boots, and it requires downloading some Tor network state before it can start. This process is not instant. If you want to speed up Cwtch booting, you can enable Caching Tor Conensus to speed up future boots. If you run into a boot problem where the data is stale or corrupted and Cwtch is reporting it cannot boot Tor, disable this feature and **reset** tor again, and it should work.
### Advanced Tor Configuration
We also offer the option to provide advance Tor configuration option in this section by allowing you to
- Specify a custom SOCKS port to connect to an existing Tor over
- Specify a custon Control port to connect to an existing Tor over
- and specify further options by entering custom `torrc` options

View File

@ -4,7 +4,16 @@
* work well for content-centric websites.
*/
:root {
--ifm-color-primary: #8E64A5;
--ifm-font-color-base: #350052;
--ifm-navbar-background-color: #FDF3FC;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* You can override the default Infima variables here. */
/* docusaurus light
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
@ -16,8 +25,18 @@
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
*/
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #DFB9DE;
--ifm-font-color-base: #FDF3FC;
--ifm-navbar-background-color: #281831;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
/* docusaurus dark
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
@ -28,3 +47,10 @@
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
*/
.ui-button {
background-color: #FDF3FC;
width: 24px;
height: 24px;
}

BIN
static/img/Tor_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B