aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-23 19:34:35 +0800
committerGitHub <noreply@github.com>2018-10-23 19:34:35 +0800
commita4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5 (patch)
tree4939099dab84390b0cb03f6237e5ca0e002e73eb
parente624759bc787e826f8d7011352754f62d0a84a02 (diff)
downloaddexon-sol-tools-a4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5.tar
dexon-sol-tools-a4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5.tar.gz
dexon-sol-tools-a4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5.tar.bz2
dexon-sol-tools-a4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5.tar.lz
dexon-sol-tools-a4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5.tar.xz
dexon-sol-tools-a4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5.tar.zst
dexon-sol-tools-a4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5.zip
Feature/colors (#5)
* fix color variables * rename link var to type
-rw-r--r--packages/dev-tools-pages/ts/components/ContentBlock.tsx2
-rw-r--r--packages/dev-tools-pages/ts/context/compiler.tsx2
-rw-r--r--packages/dev-tools-pages/ts/context/cov.tsx2
-rw-r--r--packages/dev-tools-pages/ts/context/profiler.tsx2
-rw-r--r--packages/dev-tools-pages/ts/context/trace.tsx4
-rw-r--r--packages/dev-tools-pages/ts/globalStyles.tsx2
6 files changed, 7 insertions, 7 deletions
diff --git a/packages/dev-tools-pages/ts/components/ContentBlock.tsx b/packages/dev-tools-pages/ts/components/ContentBlock.tsx
index 39c99f6d9..6db4c3994 100644
--- a/packages/dev-tools-pages/ts/components/ContentBlock.tsx
+++ b/packages/dev-tools-pages/ts/components/ContentBlock.tsx
@@ -62,7 +62,7 @@ function ContentBlock(props: ContentBlockProps) {
return (
<Base>
- <Title color={props.colors.main}>{props.title}</Title>
+ <Title color={props.colors.type}>{props.title}</Title>
{children ? <Content>{children}</Content> : null}
</Base>
);
diff --git a/packages/dev-tools-pages/ts/context/compiler.tsx b/packages/dev-tools-pages/ts/context/compiler.tsx
index 63a051481..1c174ca2b 100644
--- a/packages/dev-tools-pages/ts/context/compiler.tsx
+++ b/packages/dev-tools-pages/ts/context/compiler.tsx
@@ -9,6 +9,6 @@ export default {
colors: {
main: '#1EADCD',
secondary: '#D1F4FC',
- link: '#D1F4FC',
+ type: '#30C3E3',
},
};
diff --git a/packages/dev-tools-pages/ts/context/cov.tsx b/packages/dev-tools-pages/ts/context/cov.tsx
index 4bf2b6ba7..c39c85eba 100644
--- a/packages/dev-tools-pages/ts/context/cov.tsx
+++ b/packages/dev-tools-pages/ts/context/cov.tsx
@@ -9,6 +9,6 @@ export default {
colors: {
main: '#BB9200',
secondary: '#F1DB8D',
- link: '#D7AE1B',
+ type: '#D7AE1B',
},
};
diff --git a/packages/dev-tools-pages/ts/context/profiler.tsx b/packages/dev-tools-pages/ts/context/profiler.tsx
index d8982c56f..891c2f0bb 100644
--- a/packages/dev-tools-pages/ts/context/profiler.tsx
+++ b/packages/dev-tools-pages/ts/context/profiler.tsx
@@ -9,6 +9,6 @@ export default {
colors: {
main: '#FF7144',
secondary: '#FED7CB',
- link: '#EB8666',
+ type: '#EB8666',
},
};
diff --git a/packages/dev-tools-pages/ts/context/trace.tsx b/packages/dev-tools-pages/ts/context/trace.tsx
index 22289091d..5a239f684 100644
--- a/packages/dev-tools-pages/ts/context/trace.tsx
+++ b/packages/dev-tools-pages/ts/context/trace.tsx
@@ -7,8 +7,8 @@ export default {
tagline: 'Immediately locate Solidity errors and rapidly debug failed transactions',
icon: Icon,
colors: {
- main: '#5C80FF',
+ main: '#4F76FF',
secondary: '#CDD8FF',
- link: '#557AFF',
+ type: '#7090FF',
},
};
diff --git a/packages/dev-tools-pages/ts/globalStyles.tsx b/packages/dev-tools-pages/ts/globalStyles.tsx
index f51ea4b1d..16adc61a7 100644
--- a/packages/dev-tools-pages/ts/globalStyles.tsx
+++ b/packages/dev-tools-pages/ts/globalStyles.tsx
@@ -50,7 +50,7 @@ const BaseStyles = createGlobalStyle`
}
a {
- color: ${(props: any) => props.colors.link};
+ color: ${(props: any) => props.colors.type};
text-decoration: none;
&:hover {