✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
style carbonads toggle themes
AykutSarac1e75611cf495
diff --git a/src/constants/globalStyle.ts b/src/constants/globalStyle.tsindex 27528a2e..ba3a9dd1 100644--- a/src/constants/globalStyle.ts+++ b/src/constants/globalStyle.ts@@ -73,7 +73,7 @@ const GlobalStyle = createGlobalStyle`min-width: 18.75em;max-width: clamp(18.75em, 22.5em, 24.5em);min-height: 100px;- background-color: hsl(0, 0%, 10%);+ background-color: ${({ theme }) => theme.BACKGROUND_SECONDARY};box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.085),0 0 2px hsl(0deg 0% 0% / 0.085),0 0 4px hsl(0deg 0% 0% / 0.085),@@ -82,11 +82,11 @@ const GlobalStyle = createGlobalStyle`#carbonads a {text-decoration: none;- color: #ddd;+ color: ${({ theme }) => theme.INTERACTIVE_NORMAL};}#carbonads a:hover {- color: #ddd;+ color: ${({ theme }) => theme.INTERACTIVE_HOVER};}#carbonads span {@@ -119,8 +119,8 @@ const GlobalStyle = createGlobalStyle`#carbonads .carbon-poweredby {display: block;padding: 6px 8px;- color: #aaa;- background: #1e2021;+ color: ${({ theme }) => theme.TEXT_NORMAL};+ background: ${({ theme }) => theme.BACKGROUND_TERTIARY};text-align: center;text-transform: uppercase;letter-spacing: 0.1ch;