diff --git a/docs/profiles/unlock-profile.md b/docs/profiles/unlock-profile.md index 8a56338a..daca6a9b 100644 --- a/docs/profiles/unlock-profile.md +++ b/docs/profiles/unlock-profile.md @@ -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 unlock icon 2. Input your password 3. Click “unlock your profile” \ No newline at end of file diff --git a/docs/tor.md b/docs/tor.md new file mode 100644 index 00000000..1e8c2b89 --- /dev/null +++ b/docs/tor.md @@ -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 + diff --git a/src/css/custom.css b/src/css/custom.css index 2bc6a4cf..87d846bb 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -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; +} \ No newline at end of file diff --git a/static/img/Tor_icon.png b/static/img/Tor_icon.png new file mode 100644 index 00000000..0c871e9f Binary files /dev/null and b/static/img/Tor_icon.png differ diff --git a/static/img/lock_open-24px.webp b/static/img/lock_open-24px.webp new file mode 100644 index 00000000..a913757a Binary files /dev/null and b/static/img/lock_open-24px.webp differ