From 7a2d80d9db0a84aa59b06c49012f84ab4a359e8b Mon Sep 17 00:00:00 2001 From: Foster Irwin Date: Tue, 20 Dec 2022 22:26:17 -0700 Subject: [PATCH 1/3] fixed dark/light mode font readability --- src/pages/2.0/index.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/pages/2.0/index.tsx b/src/pages/2.0/index.tsx index 4b2432d6..c615a232 100644 --- a/src/pages/2.0/index.tsx +++ b/src/pages/2.0/index.tsx @@ -43,7 +43,7 @@ const TwoPointZero = (): JSX.Element => { ]; return ( -
+
{/* Hero section */}
@@ -73,23 +73,23 @@ const TwoPointZero = (): JSX.Element => {
-

+

Meshtastic 2.0 🎉🎉🎉

-

+

After 9 months in the making, we present to you the next milestone for the Meshtastic project.

-

+

As a part of the launch event, we are running a number of giveaways, so jump in and win some prizes.

Find Out More @@ -258,12 +258,12 @@ const TwoPointZero = (): JSX.Element => { > {/* Content area */}
-

+

A brief overview of all the changes and improvements

-
+

Monumental stuff!

-

+

  • Completely new LoRA band plan with faster messaging
  • @@ -293,7 +293,7 @@ const TwoPointZero = (): JSX.Element => {

    Nerd stuff!

    -

    +

  • New filesystem for ESP32 (LittleFS)
  • Upgraded Arduino framework for both NRF52 and ESP32 @@ -322,10 +322,10 @@ const TwoPointZero = (): JSX.Element => { key={stat.label} className="border-t-2 border-gray-100 pt-6" > -
    +
    {stat.label}
    -
    +
    {stat.value}
  • @@ -341,10 +341,10 @@ const TwoPointZero = (): JSX.Element => {
    -

    +

    All made possible by the amazing companies that support us.

    -

    +

    Running a project of this scale is no easy feat, without the generosity of many of our vendors and providers, none of this would be possible. From 522f7aa564c90d5af07d2624bc6e23962804823c Mon Sep 17 00:00:00 2001 From: Foster Irwin Date: Tue, 20 Dec 2022 22:37:31 -0700 Subject: [PATCH 2/3] made logo responsive to color changes --- src/css/custom.css | 4 ++++ src/pages/2.0/index.tsx | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index fb24cc70..2758c589 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -118,6 +118,10 @@ html[data-theme="dark"] .header-github-link:before { margin: 20px 36px; } +.responsive-color-svg { + fill: var(--ifm-heading-color) +} + .theme-doc-markdown { max-width: none; } diff --git a/src/pages/2.0/index.tsx b/src/pages/2.0/index.tsx index c615a232..0aa54cca 100644 --- a/src/pages/2.0/index.tsx +++ b/src/pages/2.0/index.tsx @@ -51,10 +51,11 @@ const TwoPointZero = (): JSX.Element => {

    Your Company
    From afffac51c315f58fb26eb8c47e99ca654ac6afa1 Mon Sep 17 00:00:00 2001 From: Foster Irwin Date: Wed, 21 Dec 2022 05:22:02 -0700 Subject: [PATCH 3/3] fixed logo light/dark appearance --- src/css/custom.css | 4 ---- src/pages/2.0/index.tsx | 25 ++++++++++++++++++------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index 2758c589..fb24cc70 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -118,10 +118,6 @@ html[data-theme="dark"] .header-github-link:before { margin: 20px 36px; } -.responsive-color-svg { - fill: var(--ifm-heading-color) -} - .theme-doc-markdown { max-width: none; } diff --git a/src/pages/2.0/index.tsx b/src/pages/2.0/index.tsx index 0aa54cca..53dd55ac 100644 --- a/src/pages/2.0/index.tsx +++ b/src/pages/2.0/index.tsx @@ -7,6 +7,8 @@ import { FiTwitter } from 'react-icons/fi'; import { ChevronRightIcon } from '@heroicons/react/20/solid'; import FlipClockCountdown from '@leenguyen/react-flip-clock-countdown'; import Layout from '@theme/Layout'; +import { Dark, Light } from '/src/components/ColorMode'; + const TwoPointZero = (): JSX.Element => { const stats = [ @@ -50,13 +52,22 @@ const TwoPointZero = (): JSX.Element => {
    - Meshtastic Logo + + Meshtastic Logo + + + Meshtastic Logo +