From ccbc004a65b2c47489519368169b797de3879a7a Mon Sep 17 00:00:00 2001 From: Miroslav Jonas Date: Tue, 25 Jul 2023 09:48:27 +0200 Subject: [PATCH] feat(nx-dev): increase contrast of borders on light theme --- .../feature-doc-viewer/src/lib/table-of-contents.tsx | 2 +- .../src/lib/ui/package-reference.tsx | 2 +- .../feature-search/src/lib/algolia-search.global.css | 12 ++++++------ nx-dev/feature-search/src/lib/algolia-search.tsx | 2 +- nx-dev/ui-community/src/lib/create-nx-plugin.tsx | 4 ++-- nx-dev/ui-home/src/lib/nx-statistics.tsx | 2 +- nx-dev/ui-markdoc/src/lib/tags/graph.component.tsx | 2 +- .../src/lib/tags/nx-cloud-section.component.tsx | 2 +- .../ui-markdoc/src/lib/tags/personas.component.tsx | 4 ++-- nx-dev/ui-markdoc/src/lib/tags/tabs.component.tsx | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/nx-dev/feature-doc-viewer/src/lib/table-of-contents.tsx b/nx-dev/feature-doc-viewer/src/lib/table-of-contents.tsx index 5428e884bdc8e..d7afc3a502e8b 100644 --- a/nx-dev/feature-doc-viewer/src/lib/table-of-contents.tsx +++ b/nx-dev/feature-doc-viewer/src/lib/table-of-contents.tsx @@ -71,7 +71,7 @@ export function TableOfContents({
diff --git a/nx-dev/feature-search/src/lib/algolia-search.global.css b/nx-dev/feature-search/src/lib/algolia-search.global.css index a7bac510ac54e..bdcccdbe01ee1 100644 --- a/nx-dev/feature-search/src/lib/algolia-search.global.css +++ b/nx-dev/feature-search/src/lib/algolia-search.global.css @@ -38,7 +38,7 @@ body .DocSearch-Container { .DocSearch-SearchBar { z-index: 1; padding: 0 1rem; - @apply relative flex flex-none items-center border-b border-slate-100 dark:border-slate-800; + @apply relative flex flex-none items-center border-b border-slate-200 dark:border-slate-800; } .DocSearch-Form { @@ -74,7 +74,7 @@ body .DocSearch-Container { .DocSearch-Hit > a { position: relative; font-size: 0.875rem; - @apply border-b border-slate-100 dark:border-slate-800; + @apply border-b border-slate-200 dark:border-slate-800; } .DocSearch-Hit--Result { @@ -132,7 +132,7 @@ body .DocSearch-Container { font-size: 0; border-radius: 0.375rem; padding: 0.25rem 0.375rem; - @apply border border-slate-900/5 hover:border-slate-900/10 dark:border-slate-100/10 dark:hover:border-slate-100/20; + @apply border border-slate-900/5 hover:border-slate-900/10 dark:border-slate-200/10 dark:hover:border-slate-200/20; width: 1.75rem; height: 1.5rem; /* esc icon */ @@ -255,7 +255,7 @@ body .DocSearch-Container { } .DocSearch-Hit:first-child > a { - @apply border-t border-slate-100 dark:border-slate-800; + @apply border-t border-slate-200 dark:border-slate-800; } .DocSearch-Hit--Result { @@ -296,7 +296,7 @@ body .DocSearch-Container { } .DocSearch-Footer { - @apply flex flex-none justify-end border-t border-slate-100 py-4 px-6 dark:border-slate-800; + @apply flex flex-none justify-end border-t border-slate-200 py-4 px-6 dark:border-slate-800; } .DocSearch-Commands { @@ -435,5 +435,5 @@ body .DocSearch-Container { } .DocSearch-Hit-action + .DocSearch-Hit-action { - @apply ml-3 border-l border-slate-100 pl-3 dark:border-slate-800; + @apply ml-3 border-l border-slate-200 pl-3 dark:border-slate-800; } diff --git a/nx-dev/feature-search/src/lib/algolia-search.tsx b/nx-dev/feature-search/src/lib/algolia-search.tsx index 1ce1304a27589..1010abe7098c0 100644 --- a/nx-dev/feature-search/src/lib/algolia-search.tsx +++ b/nx-dev/feature-search/src/lib/algolia-search.tsx @@ -114,7 +114,7 @@ export function AlgoliaSearch({ > Press diff --git a/nx-dev/ui-community/src/lib/create-nx-plugin.tsx b/nx-dev/ui-community/src/lib/create-nx-plugin.tsx index 2582d97d84fa8..f4c9105be1be8 100644 --- a/nx-dev/ui-community/src/lib/create-nx-plugin.tsx +++ b/nx-dev/ui-community/src/lib/create-nx-plugin.tsx @@ -86,7 +86,7 @@ export function CreateNxPlugin(): JSX.Element {
-
+
@@ -113,7 +113,7 @@ export function CreateNxPlugin(): JSX.Element {
-
+
diff --git a/nx-dev/ui-home/src/lib/nx-statistics.tsx b/nx-dev/ui-home/src/lib/nx-statistics.tsx index ec6dff3a11895..ccc4624ae8618 100644 --- a/nx-dev/ui-home/src/lib/nx-statistics.tsx +++ b/nx-dev/ui-home/src/lib/nx-statistics.tsx @@ -19,7 +19,7 @@ export function NxStatistics(): JSX.Element {
-
+
diff --git a/nx-dev/ui-markdoc/src/lib/tags/graph.component.tsx b/nx-dev/ui-markdoc/src/lib/tags/graph.component.tsx index f354fee0d7ab2..36bcbc1669a77 100644 --- a/nx-dev/ui-markdoc/src/lib/tags/graph.component.tsx +++ b/nx-dev/ui-markdoc/src/lib/tags/graph.component.tsx @@ -6,7 +6,7 @@ export function Loading() { return (
Loading... diff --git a/nx-dev/ui-markdoc/src/lib/tags/nx-cloud-section.component.tsx b/nx-dev/ui-markdoc/src/lib/tags/nx-cloud-section.component.tsx index 762cc35aa561d..b8808318f47e1 100644 --- a/nx-dev/ui-markdoc/src/lib/tags/nx-cloud-section.component.tsx +++ b/nx-dev/ui-markdoc/src/lib/tags/nx-cloud-section.component.tsx @@ -3,7 +3,7 @@ import { ReactNode } from 'react'; export function NxCloudSection({ children }: { children: ReactNode }) { return (
-