From 1cd340d7c8e30cce0abebebc96140466c5456f89 Mon Sep 17 00:00:00 2001 From: Dan Lebo Date: Sun, 5 Feb 2023 12:21:25 -0800 Subject: [PATCH] add tertiary variable --- beta/colors.js | 4 +++- beta/src/components/DocsFooter.tsx | 2 +- beta/src/components/Layout/HomeContent.js | 8 ++++---- beta/src/components/Layout/Sidebar/SidebarLink.tsx | 4 ++-- beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/beta/colors.js b/beta/colors.js index 9eeb9f3eb..63d923596 100644 --- a/beta/colors.js +++ b/beta/colors.js @@ -8,6 +8,8 @@ module.exports = { 'primary-dark': '#F6F7F9', // gray-5 secondary: '#404756', // gray-70 'secondary-dark': '#EBECF0', // gray-10 + tertiary: '#5E687E', // gray-50 + 'tertiary-dark': '#99A1B3', // gray-30 link: '#087EA4', // blue-50 'link-dark': '#149ECA', // blue-40 syntax: '#EBECF0', // gray-10 @@ -28,7 +30,7 @@ module.exports = { 'gray-80': '#343A46', 'gray-70': '#404756', 'gray-60': '#4E5769', - 'gray-50': '#5E687E', // unused + 'gray-50': '#5E687E', 'gray-40': '#78839B', 'gray-30': '#99A1B3', 'gray-20': '#BCC1CD', diff --git a/beta/src/components/DocsFooter.tsx b/beta/src/components/DocsFooter.tsx index 3932d0910..d2c2c25de 100644 --- a/beta/src/components/DocsFooter.tsx +++ b/beta/src/components/DocsFooter.tsx @@ -75,7 +75,7 @@ function FooterLink({ } )}> diff --git a/beta/src/components/Layout/HomeContent.js b/beta/src/components/Layout/HomeContent.js index ae9b71fea..e7efaae2b 100644 --- a/beta/src/components/Layout/HomeContent.js +++ b/beta/src/components/Layout/HomeContent.js @@ -344,7 +344,7 @@ function Example1() {
-

+

Comment.js

@@ -431,7 +431,7 @@ function Example2() {
-

+

CommentList.js

@@ -564,7 +564,7 @@ function Example3() {
-

+

PostPage.js

@@ -671,7 +671,7 @@ function BrowserChrome({children, setPostPromise, setCommentsPromise}) { return (
-
+
example.com diff --git a/beta/src/components/Layout/Sidebar/SidebarLink.tsx b/beta/src/components/Layout/Sidebar/SidebarLink.tsx index de5ea8ea7..bec9a4172 100644 --- a/beta/src/components/Layout/Sidebar/SidebarLink.tsx +++ b/beta/src/components/Layout/Sidebar/SidebarLink.tsx @@ -88,8 +88,8 @@ export function SidebarLink({ {isExpanded != null && !heading && !hideArrow && ( diff --git a/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx b/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx index 5a3b519c2..b8db801c6 100644 --- a/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx +++ b/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx @@ -153,7 +153,7 @@ export function SidebarRouteTree({ )}

{sectionHeader}