From 3b101d91ba87a628f70eb7df0ffda808ece49447 Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Thu, 13 Aug 2020 15:11:39 -0400 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=90=9B=20=20Fix=20link=20text=20color?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js index 9cd0b2c659..8ef5937c29 100644 --- a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js +++ b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js @@ -702,7 +702,7 @@ export const OpenAPIBlock = ({ specUrl }) => { } a[href] { - color: var(--spectrum-link-text-color, rgb(75, 156, 245)); + color: var(--spectrum-link-text-color, var(--spectrum-global-color-blue-600)); &:hover { text-decoration: underline; From 3dd3cdecde8c1312e84acff5df3d22c054e2bb39 Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Thu, 13 Aug 2020 16:22:10 -0400 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=90=9B=20=20Fix=20h2=20underline=20co?= =?UTF-8?q?lor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js index 8ef5937c29..93f9a9a1f6 100644 --- a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js +++ b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js @@ -625,7 +625,7 @@ export const OpenAPIBlock = ({ specUrl }) => { &:after { content: ''; border-radius: var(--spectrum-global-dimension-static-size-25); - background-color: rgb(227, 227, 227); + background-color: var(--spectrum-heading-l-text-color, var(--spectrum-alias-heading-text-color)); height: var(--spectrum-global-dimension-static-size-50); width: 100%; position: absolute; From 57318ce4a40466411422497574a2ba1a399aeeab Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Thu, 13 Aug 2020 16:33:46 -0400 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=90=9B=20=20Remove=20text=20shadow=20?= =?UTF-8?q?from=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js index 93f9a9a1f6..c9de476f91 100644 --- a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js +++ b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js @@ -318,6 +318,7 @@ export const OpenAPIBlock = ({ specUrl }) => { font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; text-align: left; + text-shadow: none; white-space: pre; word-spacing: normal; word-break: normal; From 74bebfb06f01f562e68f2396cc1f21560791f82b Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Thu, 13 Aug 2020 19:09:43 -0400 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=90=9B=20=20Colour=20drop=20down?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/OpenAPIBlock.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js index c9de476f91..7e1dd5a000 100644 --- a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js +++ b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js @@ -490,6 +490,20 @@ export const OpenAPIBlock = ({ specUrl }) => { color: var(--spectrum-global-color-red-400); } + button + div[aria-hidden] div { + color: rgb(227, 227, 227); + background-color: rgb(50, 50, 50); + } + + button + div[aria-hidden] div div[role='button'] div { + border-color: rgb(90, 90, 90); + background-color: rgb(37, 37, 37); + } + + button + div[aria-hidden] div div[role='button'] div span { + color: rgb(227, 227, 227); + } + div[data-tabs] ul[role='tablist'] { border-bottom-color: var(--spectrum-tabs-rule-color, rgb(62, 62, 62)); align-items: center; From 7e9fd978720a0e2d5c57f3208a7b568a5c186275 Mon Sep 17 00:00:00 2001 From: Simon MacDonald Date: Thu, 13 Aug 2020 19:17:34 -0400 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=90=9B=20=20Action=20Button=20colors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gatsby-theme-parliament/src/components/OpenAPIBlock.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js index 7e1dd5a000..4ec2c39d5b 100644 --- a/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js +++ b/packages/gatsby-theme-parliament/src/components/OpenAPIBlock.js @@ -601,9 +601,9 @@ export const OpenAPIBlock = ({ specUrl }) => { border-radius: var(--spectrum-actionbutton-border-radius, var(--spectrum-alias-border-radius-regular)); font-size: var(--spectrum-actionbutton-text-size, var(--spectrum-alias-font-size-default)); font-weight: var(--spectrum-actionbutton-text-font-weight, var(--spectrum-alias-body-text-font-weight)); - border-color: var(--spectrum-actionbutton-border-color, var(--spectrum-alias-border-color)); - background-color: black; - color: var(--spectrum-global-color-gray-50, var(--spectrum-global-color-gray-75)); + background-color: rgb(47, 47, 47); + border-color: rgb(90, 90, 90); + color: rgb(227, 227, 227); } h1 {