Browse Source

refactor: consolidate color palette

- update the color palette to reflect the latest designs.
- use theme agnostic color names for background colors.
- remove unused colors from the color palette.
- remove some unused styles.
renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
3dc3999473
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 8
      .storybook/config.js
  2. 42
      app/components/Activity/Activity.scss
  3. 4
      app/components/Activity/ActivityModal/ActivityModal.scss
  4. 4
      app/components/Activity/Invoice/Invoice.js
  5. 6
      app/components/Activity/InvoiceModal/InvoiceModal.scss
  6. 4
      app/components/Activity/PaymentModal/PaymentModal.scss
  7. 4
      app/components/Activity/Transaction/Transaction.js
  8. 89
      app/components/Activity/Transaction/Transaction.scss
  9. 4
      app/components/Activity/TransactionModal/TransactionModal.scss
  10. 2
      app/components/App/App.scss
  11. 25
      app/components/Contacts/AddChannel/AddChannel.scss
  12. 2
      app/components/Contacts/ChannelForm/ChannelForm.scss
  13. 2
      app/components/Contacts/ConnectManually/ConnectManually.scss
  14. 6
      app/components/Contacts/Network/Network.js
  15. 12
      app/components/Contacts/Network/Network.scss
  16. 4
      app/components/Contacts/SubmitChannelForm/SubmitChannelForm.scss
  17. 2
      app/components/Form/Form.scss
  18. 4
      app/components/LoadingBolt/LoadingBolt.scss
  19. 4
      app/components/Onboarding/FormContainer/FormContainer.scss
  20. 63
      app/components/Onboarding/InitWallet/InitWallet.scss
  21. 4
      app/components/Onboarding/Login/Login.scss
  22. 2
      app/components/Onboarding/RecoverForm/RecoverForm.scss
  23. 8
      app/components/Settings/Fiat/Fiat.scss
  24. 6
      app/components/Settings/Locale/Locale.scss
  25. 4
      app/components/Settings/Settings.scss
  26. 6
      app/components/Settings/Theme/Theme.scss
  27. 14
      app/components/Syncing/Syncing.scss
  28. 16
      app/components/UI/BackgroundDark.js
  29. 16
      app/components/UI/BackgroundLight.js
  30. 16
      app/components/UI/BackgroundLightest.js
  31. 16
      app/components/UI/BackgroundPrimary.js
  32. 16
      app/components/UI/BackgroundSecondary.js
  33. 16
      app/components/UI/BackgroundTertiary.js
  34. 4
      app/components/UI/Dropdown.js
  35. 2
      app/components/UI/GlobalStyle.js
  36. 4
      app/components/UI/MainContent.js
  37. 2
      app/components/UI/Modal.js
  38. 2
      app/components/UI/Page.js
  39. 2
      app/components/UI/QRCode.js
  40. 4
      app/components/UI/Select.js
  41. 4
      app/components/UI/Sidebar.js
  42. 6
      app/components/UI/index.js
  43. 8
      app/components/Wallet/ReceiveModal/ReceiveModal.scss
  44. 2
      app/components/Wallet/Wallet.scss
  45. 2
      app/main.dev.js
  46. 43
      app/styles/variables.scss
  47. 12
      app/themes/base.js
  48. 37
      app/themes/dark.js
  49. 37
      app/themes/light.js
  50. 21
      stories/color.stories.js
  51. 8
      stories/components/background.stories.js
  52. 2
      stories/components/form.stories.js
  53. 6
      stories/components/panel.stories.js
  54. 6
      test/unit/components/UI/BackgroundDark.spec.js
  55. 6
      test/unit/components/UI/BackgroundLight.spec.js
  56. 6
      test/unit/components/UI/BackgroundLightest.spec.js
  57. 10
      test/unit/components/UI/BackgroundPrimary.spec.js
  58. 4
      test/unit/components/UI/__snapshots__/BackgroundDark.spec.js.snap
  59. 4
      test/unit/components/UI/__snapshots__/BackgroundLight.spec.js.snap
  60. 4
      test/unit/components/UI/__snapshots__/BackgroundLightest.spec.js.snap
  61. 13
      test/unit/components/UI/__snapshots__/BackgroundPrimary.spec.js.snap
  62. 4
      test/unit/components/UI/__snapshots__/Input.spec.js.snap
  63. 4
      test/unit/components/UI/__snapshots__/LightningInvoiceInput.spec.js.snap
  64. 2
      test/unit/components/UI/__snapshots__/MainContent.spec.js.snap
  65. 2
      test/unit/components/UI/__snapshots__/Modal.spec.js.snap
  66. 2
      test/unit/components/UI/__snapshots__/Page.spec.js.snap
  67. 4
      test/unit/components/UI/__snapshots__/QRCode.spec.js.snap
  68. 2
      test/unit/components/UI/__snapshots__/Range.spec.js.snap
  69. 4
      test/unit/components/UI/__snapshots__/Select.spec.js.snap
  70. 2
      test/unit/components/UI/__snapshots__/Sidebar.spec.js.snap
  71. 4
      test/unit/components/UI/__snapshots__/TextArea.spec.js.snap
  72. 2
      test/unit/components/UI/__snapshots__/Toggle.spec.js.snap

8
.storybook/config.js

@ -13,11 +13,11 @@ import { setIntlConfig, withIntl } from 'storybook-addon-intl'
import StoryRouter from 'storybook-react-router'
import { dark, light } from 'themes'
import { getDefaultLocale, locales } from 'lib/i18n'
import { BackgroundDark, GlobalStyle } from 'components/UI'
import { BackgroundPrimary, GlobalStyle } from 'components/UI'
const BackgroundDarkWithTheme = withTheme(({ theme, ...rest }) => (
const BackgroundPrimaryWithTheme = withTheme(({ theme, ...rest }) => (
<div className={theme.name}>
<BackgroundDark p={3} css={{ height: '100vh', 'overflow-y': 'scroll !important' }} {...rest} />
<BackgroundPrimary p={3} css={{ height: '100vh', 'overflow-y': 'scroll !important' }} {...rest} />
</div>
))
@ -73,7 +73,7 @@ addDecorator(
addDecorator(story => (
<React.Fragment>
<GlobalStyle />
<BackgroundDarkWithTheme>{story()}</BackgroundDarkWithTheme>
<BackgroundPrimaryWithTheme>{story()}</BackgroundPrimaryWithTheme>
</React.Fragment>
))

42
app/components/Activity/Activity.scss

@ -3,7 +3,7 @@
.search {
height: 55px;
padding: 2px;
border-bottom: 1px solid $darkgrey;
border-bottom: 1px solid var(--tertiaryColor);
.input {
display: inline-block;
@ -31,14 +31,13 @@
}
.activities {
background: var(--darkestBackground);
background: var(--primaryColor);
.header {
background: var(--darkestBackground);
background: var(--primaryColor);
color: var(--primaryText);
margin: 0 auto;
padding: 0 60px;
border-bottom: 1px solid $spaceborder;
display: flex;
flex-direction: row;
justify-content: space-between;
@ -62,13 +61,13 @@
font-size: 20px;
line-height: 24px;
letter-spacing: 1px;
color: var(--primaryColor);
color: var(--primaryText);
width: 100%;
}
.xIcon {
cursor: pointer;
color: var(--white);
color: var(--primaryText);
}
}
@ -87,6 +86,10 @@
opacity: 1;
}
&:hover {
opacity: 1;
}
&:nth-child(1) {
margin-left: 0;
}
@ -100,7 +103,7 @@
svg {
width: 14px;
height: 14px;
color: var(--primaryColor);
color: var(--primaryText);
opacity: 0.5;
cursor: pointer;
transition: all 0.25s;
@ -151,31 +154,6 @@
border-bottom: 0.2px solid #a0a0a0;
padding: 10px 0;
}
.left,
.center,
.right {
display: inline-block;
vertical-align: top;
}
.center,
.right {
width: 10%;
}
.left {
width: 80%;
color: $black;
}
.center {
text-align: center;
}
.right {
text-align: right;
}
}
.container {

4
app/components/Activity/ActivityModal/ActivityModal.scss

@ -3,7 +3,7 @@
.container {
position: relative;
height: 100vh;
background: var(--lightBackground);
background: var(--tertiaryColor);
}
.closeContainer {
@ -21,6 +21,6 @@
}
svg {
color: $white;
color: var(--primaryText);
}
}

4
app/components/Activity/Invoice/Invoice.js

@ -44,9 +44,7 @@ const Invoice = ({ invoice, ticker, currentTicker, showActivityModal, currencyNa
</div>
</div>
<div
className={`hint--top-left ${styles.amount} ${
invoice.settled ? styles.positive : styles.negative
}`}
className={`hint--top-left ${styles.amount}`}
data-hint={intl.formatMessage({ ...messages.amount })}
>
<span>

6
app/components/Activity/InvoiceModal/InvoiceModal.scss

@ -8,7 +8,7 @@
display: flex;
flex-direction: row;
align-items: center;
background: var(--darkestBackground);
background: var(--primaryColor);
width: 85%;
margin: 50px auto;
padding: 30px 0;
@ -32,7 +32,7 @@
.right {
width: 75%;
min-height: 220px;
border-left: 1px solid $spaceborder;
border-left: 1px solid var(--highlight);
padding: 10px 60px;
.details {
@ -104,7 +104,7 @@
margin: 35px 10px;
width: 235px;
padding: 20px 10px;
background: var(--lightestBackground);
background: var(--secondaryColor);
cursor: pointer;
transition: 0.25s all;
opacity: 0.75;

4
app/components/Activity/PaymentModal/PaymentModal.scss

@ -5,7 +5,7 @@
font-size: 12px;
width: 75%;
margin: 0 auto;
background: var(--darkestBackground);
background: var(--primaryColor);
}
.header {
@ -69,7 +69,7 @@
}
.footer {
background: var(--lightestBackground);
background: var(--secondaryColor);
margin: 20px 0 50px 0;
padding: 20px;
text-align: center;

4
app/components/Activity/Transaction/Transaction.js

@ -43,9 +43,7 @@ const Transaction = ({
</div>
</div>
<div
className={`hint--top-left ${styles.amount} ${
transaction.received ? styles.positive : styles.negative
}`}
className={`hint--top-left ${styles.amount}`}
data-hint={intl.formatMessage({ ...messages.amount })}
>
<span>

89
app/components/Activity/Transaction/Transaction.scss

@ -1,89 +0,0 @@
@import 'styles/variables.scss';
.container {
display: flex;
flex-direction: row;
cursor: pointer;
max-width: 960px;
margin: 0 auto;
height: 76px;
align-items: center;
border-bottom: 1px solid $grey;
font-size: 14px;
transition: background-color 0.1s linear;
transition-delay: 0.1s;
color: $darkestgrey;
position: relative;
}
.icon {
display: block;
margin-right: 20px;
flex: none;
position: relative;
width: 36px;
height: 36px;
border: 1px solid $darkestgrey;
border-radius: 50%;
svg {
color: $main;
font-size: 16px;
vertical-align: middle;
display: flex;
top: 0;
left: 50%;
height: 100%;
margin: 0 auto;
}
}
.data {
display: flex;
flex-direction: row;
flex: 6 0;
.title {
flex: 8 0;
}
.subtitle {
padding-left: 20px;
flex: 2 0;
}
}
.subtitle,
.date {
text-align: center;
}
.date {
padding-left: 20px;
flex: 1 0;
}
.amount {
flex: 1 0;
padding-left: 20px;
&.positive {
color: $main;
}
span {
display: block;
&:nth-child(1) {
font-size: 14px;
}
&:nth-child(2) {
font-size: 10px;
}
.value {
font-size: 14px;
}
}
}

4
app/components/Activity/TransactionModal/TransactionModal.scss

@ -5,7 +5,7 @@
font-size: 12px;
width: 75%;
margin: 0 auto;
background: var(--darkestBackground);
background: var(--primaryColor);
}
.header {
@ -78,7 +78,7 @@
}
.footer {
background: var(--lightestBackground);
background: var(--secondaryColor);
padding: 20px;
text-align: center;

2
app/components/App/App.scss

@ -6,6 +6,6 @@
display: inline-block;
vertical-align: top;
overflow-y: auto;
background: var(--lightestBackground);
background: var(--secondaryColor);
padding-top: 20px;
}

25
app/components/Contacts/AddChannel/AddChannel.scss

@ -6,7 +6,7 @@
display: inline-block;
vertical-align: top;
height: 100vh;
background: var(--darkestBackground);
background: var(--primaryColor);
}
.header {
@ -15,13 +15,13 @@
justify-content: space-between;
background: var(--gradient);
padding: 15px 10px;
color: var(--white);
color: var(--primaryText);
input {
background: transparent;
outline: 0;
border: 0;
color: var(--white);
color: var(--primaryText);
font-size: 14px;
width: 90%;
}
@ -42,7 +42,7 @@
}
.nodes {
background: var(--lightestBackground);
background: var(--secondaryColor);
.networkResults {
overflow-y: auto;
@ -73,7 +73,7 @@
&:nth-child(2) {
display: block;
color: $darkestgrey;
color: var(--gray);
font-size: 8px;
margin-top: 5px;
}
@ -82,12 +82,12 @@
.connect {
cursor: pointer;
color: $darkestgrey;
color: var(--gray);
transition: all 0.25s;
font-size: 10px;
&:hover {
color: darken($darkestgrey, 10%);
opacity: 0.5;
}
}
@ -97,19 +97,20 @@
vertical-align: top;
&.online {
color: $green;
color: var(--superGreen);
}
&.offline {
color: $darkestgrey;
color: var(--gray);
}
&.pending {
color: $orange;
color: var(--lightningOrange);
}
&.private {
color: darken($darkestgrey, 50%);
color: var(--gray);
opacity: 0.5;
}
}
}
@ -117,7 +118,7 @@
}
.manualForm {
color: $white;
color: var(--primaryText);
text-align: center;
margin: 0 25px;

2
app/components/Contacts/ChannelForm/ChannelForm.scss

@ -6,7 +6,7 @@
z-index: z('contact-form', 'modal');
height: 100vh;
width: 100%;
background: var(--darkestBackground);
background: var(--primaryColor);
}
.closeContainer {

2
app/components/Contacts/ConnectManually/ConnectManually.scss

@ -51,7 +51,7 @@
.header {
text-align: center;
padding-bottom: 20px;
border-bottom: 1px solid $spaceborder;
border-bottom: 1px solid var(--highlight);
h1 {
font-size: 22px;

6
app/components/Contacts/Network/Network.js

@ -7,7 +7,7 @@ import FaAngleDown from 'react-icons/lib/fa/angle-down'
import { btc, blockExplorer } from 'lib/utils'
import Plus from 'components/Icon/Plus'
import Search from 'components/Icon/Search'
import { BackgroundLight, Text, Value } from 'components/UI'
import { BackgroundTertiary, Text, Value } from 'components/UI'
import { FormattedNumber, FormattedMessage, injectIntl } from 'react-intl'
import messages from './messages'
@ -164,7 +164,7 @@ class Network extends Component {
)
const { refreshing } = this.state
return (
<BackgroundLight className={styles.network}>
<BackgroundTertiary className={styles.network}>
<header className={styles.header}>
<section>
<h2>
@ -383,7 +383,7 @@ class Network extends Component {
/>
</footer>
)}
</BackgroundLight>
</BackgroundTertiary>
)
}
}

12
app/components/Contacts/Network/Network.scss

@ -40,7 +40,7 @@
&:hover {
svg {
background: var(--lightestBackground);
background: var(--secondaryColor);
}
}
}
@ -65,7 +65,7 @@
transition: color 0.25s;
&:hover {
color: $darkestgrey;
opacity: 0.5;
}
}
@ -89,7 +89,7 @@
color: var(--primaryText);
&:hover {
color: $darkestgrey;
opacity: 0.5;
}
}
}
@ -176,11 +176,11 @@
}
.offline {
color: $darkestgrey;
color: var(--gray);
}
.closing {
color: var(--superRed);
color: var(--gray);
}
svg {
@ -195,7 +195,7 @@
bottom: 0;
width: 100%;
padding: 10px 20px;
border-top: 1px solid $darkestgrey;
border-top: 1px solid var(--gray);
background: var(--darkBackground);
.input {

4
app/components/Contacts/SubmitChannelForm/SubmitChannelForm.scss

@ -8,7 +8,7 @@
.header {
padding: 20px 0;
text-align: center;
border-bottom: 1px solid $spaceborder;
border-bottom: 1px solid var(--highlight);
h1 {
margin: 10px 0 15px 0;
@ -31,7 +31,7 @@
h2 {
font-size: 10px;
background: var(--lightBackground);
background: var(--tertiaryColor);
padding: 10px;
border-radius: 17.5px;
display: inline;

2
app/components/Form/Form.scss

@ -6,7 +6,7 @@
z-index: z('form', 'container');
height: 100vh;
width: 100%;
background: var(--lightestBackground);
background: var(--secondaryColor);
}
.closeContainer {

4
app/components/LoadingBolt/LoadingBolt.scss

@ -12,8 +12,8 @@
-45deg,
rgba(255, 189, 89, 1) 10%,
rgba(253, 152, 0, 1),
var(--lightestBackground),
var(--darkestBackground)
var(--secondaryColor),
var(--primaryColor)
);
background-size: 400% 400%;
animation: Gradient 15s ease infinite;

4
app/components/Onboarding/FormContainer/FormContainer.scss

@ -3,7 +3,7 @@
.container {
position: relative;
height: 100vh;
background: var(--lightBackground);
background: var(--tertiaryColor);
}
.header {
@ -44,7 +44,7 @@
.content {
position: relative;
background: var(--darkestBackground);
background: var(--primaryColor);
height: 100vh;
padding: 20px 40px;
}

63
app/components/Onboarding/InitWallet/InitWallet.scss

@ -1,63 +0,0 @@
@import 'styles/variables.scss';
.container {
position: relative;
}
.password {
background: transparent;
outline: none;
border: 1px solid #404040;
border-radius: 4px;
padding: 15px;
color: $gold;
-webkit-text-fill-color: $white;
font-size: 22px;
}
.password::-webkit-input-placeholder {
text-shadow: none;
-webkit-text-fill-color: initial;
}
.buttons {
margin-top: 15%;
text-align: center;
div {
color: $white;
&:nth-child(1) {
text-align: center;
margin-bottom: 40px;
span {
padding: 15px 35px;
background: $darkspaceblue;
font-size: 14px;
opacity: 0.5;
transition: all 0.25s;
&.active {
opacity: 1;
cursor: pointer;
&:hover {
background: lighten($darkspaceblue, 10%);
}
}
}
}
&:nth-child(2),
&:nth-child(3) {
font-size: 12px;
cursor: pointer;
margin: 10px 0;
&:hover {
text-decoration: underline;
}
}
}
}

4
app/components/Onboarding/Login/Login.scss

@ -16,7 +16,7 @@
transition: all 0.25s;
&.inputError {
border: 1px solid $red;
border: 1px solid var(--superRed);
}
}
@ -28,7 +28,7 @@
.error {
margin-top: 20px;
height: 20px;
color: $red;
color: var(--superRed);
visibility: hidden;
font-size: 12px;
transition: all 0.25s;

2
app/components/Onboarding/RecoverForm/RecoverForm.scss

@ -31,7 +31,7 @@
.word {
margin: 0 3px;
background-color: var(--darkestBackground);
background-color: var(--primaryText);
outline: 0;
border: none;
padding: 8px 10px 6px 10px;

8
app/components/Settings/Fiat/Fiat.scss

@ -2,7 +2,7 @@
.submenuHeader {
padding: 20px;
background: var(--darkestBackground);
background: var(--primaryColor);
font-size: 10px;
display: flex;
flex-direction: row;
@ -20,13 +20,13 @@
overflow-y: scroll;
li {
background: var(--lightestBackground);
background: var(--secondaryColor);
cursor: pointer;
opacity: 0.75;
transition: 0.25s hover;
&:hover {
background: var(--lightBackground);
background: var(--tertiaryColor);
}
&.active {
@ -35,7 +35,7 @@
svg {
height: 10px;
width: 10px;
color: $green;
color: var(--superGreen);
}
}

6
app/components/Settings/Locale/Locale.scss

@ -2,7 +2,7 @@
.submenuHeader {
padding: 20px;
background: var(--darkestBackground);
background: var(--primaryColor);
font-size: 10px;
display: flex;
flex-direction: row;
@ -20,13 +20,13 @@
overflow-y: scroll;
li {
background: var(--lightestBackground);
background: var(--secondaryColor);
cursor: pointer;
opacity: 0.75;
transition: 0.25s hover;
&:hover {
background: var(--lightBackground);
background: var(--tertiaryColor);
}
&.active {

4
app/components/Settings/Settings.scss

@ -1,7 +1,7 @@
@import 'styles/variables.scss';
.container {
background: var(--lightestBackground);
background: var(--secondaryColor);
position: absolute;
width: 200px;
top: 30px;
@ -18,7 +18,7 @@
transition: all 0.25s;
&:hover {
background: var(--darkestBackground);
background: var(--primaryColor);
}
}
}

6
app/components/Settings/Theme/Theme.scss

@ -2,7 +2,7 @@
.submenuHeader {
padding: 20px;
background: var(--darkestBackground);
background: var(--primaryColor);
font-size: 10px;
display: flex;
flex-direction: row;
@ -17,13 +17,13 @@
.themes {
li {
background: var(--lightestBackground);
background: var(--secondaryColor);
cursor: pointer;
opacity: 0.75;
transition: 0.25s hover;
&:hover {
background: var(--lightBackground);
background: var(--tertiaryColor);
}
&.active {

14
app/components/Syncing/Syncing.scss

@ -4,13 +4,13 @@
position: relative;
width: 100%;
height: 100vh;
background: var(--darkestBackground);
background: var(--primaryColor);
}
.content {
color: var(--primaryText);
text-align: center;
background: var(--darkestBackground);
background: var(--primaryColor);
header {
text-align: left;
@ -37,7 +37,7 @@
}
.address {
background: var(--darkestBackground);
background: var(--primaryColor);
.textAddress {
margin-top: 20px;
@ -46,12 +46,12 @@
font-size: 12px;
&.text {
background: var(--lightBackground);
background: var(--tertiaryColor);
padding: 10px;
}
&.icon {
background: var(--lightestBackground);
background: var(--secondaryColor);
padding: 10px;
cursor: pointer;
transition: all 0.25s;
@ -81,7 +81,7 @@
color: var(--primaryText);
text-align: center;
padding: 40px 0;
background: var(--lightestBackground);
background: var(--secondaryColor);
position: absolute;
height: 31vh;
width: 100%;
@ -97,7 +97,7 @@
margin: 0 auto;
height: 10px;
border-radius: 5px;
background: var(--darkestBackground);
background: var(--primaryColor);
}
.progress {

16
app/components/UI/BackgroundDark.js

@ -1,16 +0,0 @@
import React from 'react'
import { Box } from 'rebass'
/**
* @render react
* @name BackgroundDark
* @example
* <BackgroundDark />
*/
class BackgroundDark extends React.Component {
render() {
return <Box bg="darkestBackground" color="primaryText" {...this.props} />
}
}
export default BackgroundDark

16
app/components/UI/BackgroundLight.js

@ -1,16 +0,0 @@
import React from 'react'
import { Box } from 'rebass'
/**
* @render react
* @name BackgroundLight
* @example
* <BackgroundLight />
*/
class BackgroundLight extends React.Component {
render() {
return <Box bg="lightBackground" color="primaryText" {...this.props} />
}
}
export default BackgroundLight

16
app/components/UI/BackgroundLightest.js

@ -1,16 +0,0 @@
import React from 'react'
import { Box } from 'rebass'
/**
* @render react
* @name BackgroundLightest
* @example
* <BackgroundLightest />
*/
class BackgroundLightest extends React.Component {
render() {
return <Box bg="lightestBackground" color="primaryText" {...this.props} />
}
}
export default BackgroundLightest

16
app/components/UI/BackgroundPrimary.js

@ -0,0 +1,16 @@
import React from 'react'
import { Box } from 'rebass'
/**
* @render react
* @name BackgroundPrimary
* @example
* <BackgroundPrimary />
*/
class BackgroundPrimary extends React.Component {
render() {
return <Box bg="primaryColor" color="primaryText" {...this.props} />
}
}
export default BackgroundPrimary

16
app/components/UI/BackgroundSecondary.js

@ -0,0 +1,16 @@
import React from 'react'
import { Box } from 'rebass'
/**
* @render react
* @name BackgroundSecondary
* @example
* <BackgroundSecondary />
*/
class BackgroundSecondary extends React.Component {
render() {
return <Box bg="secondaryColor" color="primaryText" {...this.props} />
}
}
export default BackgroundSecondary

16
app/components/UI/BackgroundTertiary.js

@ -0,0 +1,16 @@
import React from 'react'
import { Box } from 'rebass'
/**
* @render react
* @name BackgroundTertiary
* @example
* <BackgroundTertiary />
*/
class BackgroundTertiary extends React.Component {
render() {
return <Box bg="tertiaryColor" color="primaryText" {...this.props} />
}
}
export default BackgroundTertiary

4
app/components/UI/Dropdown.js

@ -62,7 +62,7 @@ Menu.defaultProps = {
m: 0,
mt: 1,
p: 0,
bg: 'lightestBackground'
bg: 'secondaryColor'
}
/**
@ -71,7 +71,7 @@ Menu.defaultProps = {
const MenuItem = styled(Box)`
cursor: pointer;
&:hover {
background-color: ${props => props.theme.colors.darkestBackground};
background-color: ${props => props.theme.colors.primaryColor};
}
`
MenuItem.defaultProps = {

2
app/components/UI/GlobalStyle.js

@ -82,7 +82,7 @@ const GlobalStyle = createGlobalStyle`
[data-hint]::after {
content: attr(data-hint);
background: ${props => props.theme.colors.lightestBackground};
background: ${props => props.theme.colors.secondaryColor};
color: ${props => props.theme.colors.primaryText};
border: 1px solid ${props => props.theme.colors.gray};
border-radius: 3px;

4
app/components/UI/MainContent.js

@ -1,5 +1,5 @@
import React from 'react'
import { BackgroundDark } from 'components/UI'
import { BackgroundPrimary } from 'components/UI'
/**
* @render react
@ -8,7 +8,7 @@ import { BackgroundDark } from 'components/UI'
* <MainContent>Some content</MainContent>
*/
const MainContent = props => (
<BackgroundDark as="article" width={1} p={3} css={{ height: '100%' }} {...props} />
<BackgroundPrimary as="article" width={1} p={3} css={{ height: '100%' }} {...props} />
)
export default MainContent

2
app/components/UI/Modal.js

@ -33,7 +33,7 @@ class Modal extends React.Component {
const { hover } = this.state
const { children, onClose } = this.props
return (
<Flex flexDirection="column" width={1} p={3} bg="darkestBackground" css={{ height: '100%' }}>
<Flex flexDirection="column" width={1} p={3} bg="primaryColor" css={{ height: '100%' }}>
<Flex justifyContent="flex-end" as="header" color="primaryText">
<Box
css={{ cursor: 'pointer', opacity: hover ? 0.6 : 1 }}

2
app/components/UI/Page.js

@ -10,7 +10,7 @@ import { Flex } from 'rebass'
const Page = ({ css, ...rest }) => (
<Flex
alignItems="stretch"
bg="darkestBackground"
bg="primaryColor"
as="article"
css={Object.assign(
{

2
app/components/UI/QRCode.js

@ -70,7 +70,7 @@ class ZapQRCode extends React.PureComponent {
static defaultProps = {
size: '150px',
color: 'darkestBackground',
color: 'primaryColor',
bg: 'primaryText'
}

4
app/components/UI/Select.js

@ -19,7 +19,7 @@ const SelectOptionList = styled.ul`
outline: 0;
transition: opacity 0.1s ease;
border: ${props => (props.isOpen ? null : 'none')};
background-color: ${props => props.theme.colors.lightestBackground};
background-color: ${props => props.theme.colors.secondaryColor};
`
const SelectOptionItem = styled(
@ -28,7 +28,7 @@ const SelectOptionItem = styled(
extend: Box,
as: 'li',
p: 3,
backgroundColor: 'lightestBackground'
backgroundColor: 'secondaryColor'
},
'space',
'color'

4
app/components/UI/Sidebar.js

@ -1,5 +1,5 @@
import React from 'react'
import { BackgroundLight } from 'components/UI'
import { BackgroundTertiary } from 'components/UI'
/**
* @render react
@ -7,7 +7,7 @@ import { BackgroundLight } from 'components/UI'
* @example
* <Sidebar>Some content</Sidebar>
*/
const Sidebar = props => <BackgroundLight as="aside" p={3} width={4 / 12} {...props} />
const Sidebar = props => <BackgroundTertiary as="aside" p={3} width={4 / 12} {...props} />
Sidebar.small = props => <Sidebar {...props} width={3 / 12} />
Sidebar.medium = props => <Sidebar {...props} width={4 / 12} />

6
app/components/UI/index.js

@ -1,7 +1,7 @@
export AmountInput from './AmountInput'
export BackgroundDark from './BackgroundDark'
export BackgroundLight from './BackgroundLight'
export BackgroundLightest from './BackgroundLightest'
export BackgroundPrimary from './BackgroundPrimary'
export BackgroundTertiary from './BackgroundTertiary'
export BackgroundSecondary from './BackgroundSecondary'
export Bar from './Bar'
export Button from './Button'
export Countdown from './Countdown'

8
app/components/Wallet/ReceiveModal/ReceiveModal.scss

@ -3,7 +3,7 @@
.container {
position: relative;
height: 100vh;
background: var(--darkestBackground);
background: var(--primaryColor);
}
.closeContainer {
@ -29,7 +29,7 @@
display: flex;
flex-direction: row;
align-items: center;
background: var(--lightBackground);
background: var(--tertiaryColor);
width: 85%;
margin: 10% auto 50px auto;
color: var(--primaryText);
@ -101,7 +101,7 @@
flex-direction: row;
align-items: center;
font-size: 10px;
background: var(--lightestBackground);
background: var(--secondaryColor);
.data,
.copy {
@ -114,7 +114,7 @@
}
.copy {
background: var(--darkestBackground);
background: var(--primaryColor);
color: var(--primaryText);
cursor: pointer;
transition: all 0.25s;

2
app/components/Wallet/Wallet.scss

@ -1,7 +1,7 @@
@import 'styles/variables.scss';
.wallet {
background: var(--lightestBackground);
background: var(--secondaryColor);
color: var(--primaryText);
height: 200px;
padding: 20px 40px;

2
app/main.dev.js

@ -118,7 +118,7 @@ app.on('ready', async () => {
height: 600,
minWidth: 950,
minHeight: 425,
backgroundColor: get(theme, 'colors.darkestBackground', '#242633')
backgroundColor: get(theme, 'colors.primaryColor', '#242633')
})
// Initialise the updater.

43
app/styles/variables.scss

@ -1,42 +1,15 @@
$white: #fff;
$black: #000;
$gray: #959595;
$invisibleGray: #555;
$main: #ebb864;
$secondary: #1d1d1d;
$grey: #f2f2f2;
$traditionalgrey: #ccc;
$lightgrey: #f7f7f7;
$darkgrey: #ebebeb;
$darkestgrey: #999;
$bluegrey: #2a2d38;
$spacegrey: #222e2b;
$spaceblue: #252832;
$darkspaceblue: #1c1e26;
$spaceborder: #404040;
$gold: #dea326;
$green: #0bb634;
$terminalgreen: #0f0;
$red: #ff556a;
$blue: #007bb6;
$orange: #ff8a65;
$yellow: #fff680;
$curve: cubic-bezier(0.65, 0, 0.45, 1);
:root {
--white: #fff;
--black: #000;
--gray: #959595;
--invisibleGray: #555;
--lightningOrange: #fd9800;
--superGreen: #39e673;
--superRed: #e63939;
--darkestBackground: #242633;
--lightBackground: #313340;
--lightestBackground: #373947;
--primaryColor: #242633;
--secondaryColor: #373947;
--tertiaryColor: #313340;
--primaryText: #fff;
--highlight: #353745;
--gradient: linear-gradient(270deg, #868b9f 0%, #333c5e 100%);
}
@ -44,14 +17,14 @@ $curve: cubic-bezier(0.65, 0, 0.45, 1);
--white: #fff;
--black: #000;
--gray: #959595;
--invisibleGray: #555;
--lightningOrange: #fd9800;
--superGreen: #39e673;
--superRed: #e63939;
--darkestBackground: #fff;
--lightBackground: #ebebeb;
--lightestBackground: #f3f3f3;
--primaryColor: #fff;
--secondaryColor: #ebebeb;
--tertiaryColor: #f3f3f3;
--primaryText: #000;
--highlight: #f2f2f2;
--gradient: linear-gradient(270deg, #fd9800 0%, #ffbd59 100%);
}

12
app/themes/base.js

@ -2,17 +2,21 @@ export const space = [0, 4, 8, 16, 32, 45, 72, 108]
export const palette = {
white: '#ffffff',
black: '#000',
gray: '#959595',
black: '#000000',
lightningOrange: '#fd9800',
lightningBrown: '#4a2c00',
deepseaBlue: '#242633',
seaBlue: '#313340',
underwaterBlue: '#353745',
hoverSeaBlue: '#353745',
underwaterBlue: '#373947',
seaGray: '#f3f3f3',
hoverSeaGray: '#f2f2f2',
underwaterGray: '#ebebeb',
superGreen: '#39e673',
pineGreen: '#0d331a',
superRed: '#e63939',
mudBrown: '#330d0d'
mudBrown: '#330d0d',
gray: '#959595'
}
export const fontSizes = {

37
app/themes/dark.js

@ -1,19 +1,38 @@
import base, { palette } from './base'
const {
white,
lightningOrange,
lightningBrown,
deepseaBlue,
seaBlue,
hoverSeaBlue,
underwaterBlue,
superGreen,
pineGreen,
superRed,
mudBrown,
gray
} = palette
const colors = {
...palette,
invisibleGray: '#555',
darkestBackground: '#242633',
lightBackground: '#313340',
lightestBackground: '#373947',
highlight: '#353745',
primaryText: '#fff',
gradient: 'linear-gradient(270deg, #868b9f 0%, #333c5e 100%)'
primaryText: white,
lightningOrange,
lightningBrown,
superGreen,
pineGreen,
superRed,
mudBrown,
gray,
primaryColor: deepseaBlue,
secondaryColor: underwaterBlue,
tertiaryColor: seaBlue,
highlight: hoverSeaBlue
}
const buttons = {
normal: {
backgroundColor: colors.lightBackground,
backgroundColor: colors.tertiaryColor,
color: colors.lightningOrange,
'&:hover:enabled': {
backgroundColor: colors.highlight

37
app/themes/light.js

@ -1,19 +1,38 @@
import base, { palette } from './base'
const {
white,
black,
lightningOrange,
lightningBrown,
seaGray,
hoverSeaGray,
underwaterGray,
superGreen,
pineGreen,
superRed,
mudBrown,
gray
} = palette
const colors = {
...palette,
invisibleGray: '#555',
darkestBackground: '#fff',
lightBackground: '#ebebeb',
lightestBackground: '#f3f3f3',
highlight: '#f6f6f6',
primaryText: '#000',
gradient: 'linear-gradient(270deg, #fd9800 0%, #ffbd59 100%)'
primaryText: black,
lightningOrange,
lightningBrown,
superGreen,
pineGreen,
superRed,
mudBrown,
gray,
primaryColor: white,
secondaryColor: underwaterGray,
tertiaryColor: seaGray,
highlight: hoverSeaGray
}
const buttons = {
normal: {
backgroundColor: colors.lightBackground,
backgroundColor: colors.tertiaryColor,
color: colors.lightningOrange,
'&:hover:enabled': {
backgroundColor: colors.highlight

21
stories/color.stories.js

@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
import { storiesOf } from '@storybook/react'
import { ThemeProvider, withTheme } from 'styled-components'
import { Box, Card, Flex } from 'rebass'
import { BackgroundDark, Text } from 'components/UI'
import { BackgroundPrimary, Text } from 'components/UI'
import { dark, light } from 'themes'
import { Column, Group, Element } from './helpers'
@ -11,13 +11,16 @@ const Swatch = ({ name, color }) => (
<Element>
<Flex mb={2}>
<Card
bg={color}
// bg={color}
width={50}
css={{ height: '50px' }}
mr={21}
borderRadius={8}
borderColor="primaryText"
border="solid 1px"
css={{
background: color,
height: '50px'
}}
/>
<Box>
<Text fontWeight="normal">{name}</Text>
@ -33,8 +36,8 @@ Swatch.propTypes = {
const Palette = withTheme(({ theme, ...rest }) => (
<Box {...rest}>
{Object.keys(theme.palette).map(key => (
<Swatch key={key} name={key} color={theme.palette[key]} />
{Object.keys(theme.colors).map(key => (
<Swatch key={key} name={key} color={theme.colors[key]} />
))}
</Box>
))
@ -58,9 +61,9 @@ storiesOf('Welcome', module).addWithChapters('Color palette', {
<Column>
<Group title="Dark">
<ThemeProvider theme={dark}>
<BackgroundDark p={3}>
<BackgroundPrimary p={3}>
<Palette />
</BackgroundDark>
</BackgroundPrimary>
</ThemeProvider>
</Group>
</Column>
@ -68,9 +71,9 @@ storiesOf('Welcome', module).addWithChapters('Color palette', {
<Column>
<Group title="Light">
<ThemeProvider theme={light}>
<BackgroundDark p={3}>
<BackgroundPrimary p={3}>
<Palette />
</BackgroundDark>
</BackgroundPrimary>
</ThemeProvider>
</Group>
</Column>

8
stories/components/background.stories.js

@ -1,24 +1,24 @@
import React from 'react'
import { storiesOf } from '@storybook/react'
import { BackgroundDark, BackgroundLight, BackgroundLightest } from 'components/UI'
import { BackgroundPrimary, BackgroundTertiary, BackgroundSecondary } from 'components/UI'
storiesOf('Components.Background', module)
.add('dark', () => (
<BackgroundDark
<BackgroundPrimary
css={{
height: '50vh'
}}
/>
))
.add('light', () => (
<BackgroundLight
<BackgroundTertiary
css={{
height: '50vh'
}}
/>
))
.add('lightest', () => (
<BackgroundLightest
<BackgroundSecondary
css={{
height: '50vh'
}}

2
stories/components/form.stories.js

@ -229,7 +229,7 @@ storiesOf('Components.Form', module)
<Button>Submit</Button>
</Box>
<Box bg="lightestBackground">
<Box bg="tertiaryColor">
<pre>{JSON.stringify(formState, null, 2)}</pre>
</Box>
</React.Fragment>

6
stories/components/panel.stories.js

@ -4,8 +4,8 @@ import { Panel } from 'components/UI'
storiesOf('Components.Panel', module).add('Panel', () => (
<Panel css={{ height: '500px' }}>
<Panel.Header bg="lightBackground">Header here</Panel.Header>
<Panel.Body bg="lightestBackground">Body here</Panel.Body>
<Panel.Footer bg="lightBackground">Footer here</Panel.Footer>
<Panel.Header bg="secondaryColor">Header here</Panel.Header>
<Panel.Body bg="tertiaryColor">Body here</Panel.Body>
<Panel.Footer bg="secondaryColor">Footer here</Panel.Footer>
</Panel>
))

6
test/unit/components/UI/BackgroundDark.spec.js

@ -1,10 +1,10 @@
import React from 'react'
import renderer from 'react-test-renderer'
import { BackgroundDark } from 'components/UI'
import { BackgroundPrimary } from 'components/UI'
describe('component.UI.BackgroundDark', () => {
describe('component.UI.BackgroundPrimary', () => {
it('should render correctly', () => {
const tree = renderer.create(<BackgroundDark />).toJSON()
const tree = renderer.create(<BackgroundPrimary />).toJSON()
expect(tree).toMatchSnapshot()
})
})

6
test/unit/components/UI/BackgroundLight.spec.js

@ -1,10 +1,10 @@
import React from 'react'
import renderer from 'react-test-renderer'
import { BackgroundLight } from 'components/UI'
import { BackgroundTertiary } from 'components/UI'
describe('component.UI.BackgroundLight', () => {
describe('component.UI.BackgroundTertiary', () => {
it('should render correctly', () => {
const tree = renderer.create(<BackgroundLight />).toJSON()
const tree = renderer.create(<BackgroundTertiary />).toJSON()
expect(tree).toMatchSnapshot()
})
})

6
test/unit/components/UI/BackgroundLightest.spec.js

@ -1,10 +1,10 @@
import React from 'react'
import renderer from 'react-test-renderer'
import { BackgroundLightest } from 'components/UI'
import { BackgroundSecondary } from 'components/UI'
describe('component.UI.BackgroundLightest', () => {
describe('component.UI.BackgroundSecondary', () => {
it('should render correctly', () => {
const tree = renderer.create(<BackgroundLightest />).toJSON()
const tree = renderer.create(<BackgroundSecondary />).toJSON()
expect(tree).toMatchSnapshot()
})
})

10
test/unit/components/UI/BackgroundPrimary.spec.js

@ -0,0 +1,10 @@
import React from 'react'
import renderer from 'react-test-renderer'
import { BackgroundPrimary } from 'components/UI'
describe('component.UI.BackgroundPrimary', () => {
it('should render correctly', () => {
const tree = renderer.create(<BackgroundPrimary />).toJSON()
expect(tree).toMatchSnapshot()
})
})

4
test/unit/components/UI/__snapshots__/BackgroundDark.spec.js.snap

@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`component.UI.BackgroundDark should render correctly 1`] = `
exports[`component.UI.BackgroundPrimary should render correctly 1`] = `
.c0 {
color: primaryText;
background-color: darkestBackground;
background-color: primaryColor;
}
<div

4
test/unit/components/UI/__snapshots__/BackgroundLight.spec.js.snap

@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`component.UI.BackgroundLight should render correctly 1`] = `
exports[`component.UI.BackgroundTertiary should render correctly 1`] = `
.c0 {
color: primaryText;
background-color: lightBackground;
background-color: tertiaryColor;
}
<div

4
test/unit/components/UI/__snapshots__/BackgroundLightest.spec.js.snap

@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`component.UI.BackgroundLightest should render correctly 1`] = `
exports[`component.UI.BackgroundSecondary should render correctly 1`] = `
.c0 {
color: primaryText;
background-color: lightestBackground;
background-color: secondaryColor;
}
<div

13
test/unit/components/UI/__snapshots__/BackgroundPrimary.spec.js.snap

@ -0,0 +1,13 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`component.UI.BackgroundPrimary should render correctly 1`] = `
.c0 {
color: primaryText;
background-color: primaryColor;
}
<div
className="c0"
color="primaryText"
/>
`;

4
test/unit/components/UI/__snapshots__/Input.spec.js.snap

@ -15,9 +15,9 @@ exports[`component.UI.Input should render correctly 1`] = `
padding: 16px;
width: 100%;
font-size: 13px;
color: #fff;
color: #ffffff;
background-color: transparent;
color: #fff;
color: #ffffff;
background-color: transparent;
font-family: Roboto,system-ui,sans-serif;
font-weight: 300;

4
test/unit/components/UI/__snapshots__/LightningInvoiceInput.spec.js.snap

@ -15,9 +15,9 @@ exports[`component.UI.LightningInvoiceInput should render correctly 1`] = `
padding: 16px;
width: 100%;
font-size: 13px;
color: #fff;
color: #ffffff;
background-color: transparent;
color: #fff;
color: #ffffff;
background-color: transparent;
font-family: Roboto,system-ui,sans-serif;
font-weight: 300;

2
test/unit/components/UI/__snapshots__/MainContent.spec.js.snap

@ -5,7 +5,7 @@ exports[`component.UI.MainContent should render correctly 1`] = `
padding: 16px;
width: 100%;
color: primaryText;
background-color: darkestBackground;
background-color: primaryColor;
height: 100%;
}

2
test/unit/components/UI/__snapshots__/Modal.spec.js.snap

@ -19,7 +19,7 @@ exports[`component.UI.Modal should render correctly 1`] = `
.c0 {
padding: 16px;
width: 100%;
background-color: darkestBackground;
background-color: primaryColor;
height: 100%;
display: -webkit-box;
display: -webkit-flex;

2
test/unit/components/UI/__snapshots__/Page.spec.js.snap

@ -2,7 +2,7 @@
exports[`component.UI.Page should render correctly 1`] = `
.c0 {
background-color: darkestBackground;
background-color: primaryColor;
height: 100%;
min-width: 950px;
min-height: 600px;

4
test/unit/components/UI/__snapshots__/QRCode.spec.js.snap

@ -107,7 +107,7 @@ exports[`component.UI.QRCode should render correctly 1`] = `
<svg
bg="primaryText"
className="c6"
color="darkestBackground"
color="primaryColor"
height="80%"
shapeRendering="crispEdges"
viewBox="0 0 21 21"
@ -119,7 +119,7 @@ exports[`component.UI.QRCode should render correctly 1`] = `
/>
<path
d="M0 0h7v1H0zM8 0h1v1H8zM12 0h1v1H12zM14,0 h7v1H14zM0 1h1v1H0zM6 1h1v1H6zM8 1h2v1H8zM11 1h1v1H11zM14 1h1v1H14zM20,1 h1v1H20zM0 2h1v1H0zM2 2h3v1H2zM6 2h1v1H6zM8 2h5v1H8zM14 2h1v1H14zM16 2h3v1H16zM20,2 h1v1H20zM0 3h1v1H0zM2 3h3v1H2zM6 3h1v1H6zM8 3h1v1H8zM10 3h1v1H10zM12 3h1v1H12zM14 3h1v1H14zM16 3h3v1H16zM20,3 h1v1H20zM0 4h1v1H0zM2 4h3v1H2zM6 4h1v1H6zM9 4h4v1H9zM14 4h1v1H14zM16 4h3v1H16zM20,4 h1v1H20zM0 5h1v1H0zM6 5h1v1H6zM8 5h1v1H8zM10 5h1v1H10zM12 5h1v1H12zM14 5h1v1H14zM20,5 h1v1H20zM0 6h7v1H0zM8 6h1v1H8zM10 6h1v1H10zM12 6h1v1H12zM14,6 h7v1H14zM0 8h2v1H0zM4 8h3v1H4zM12 8h1v1H12zM15 8h1v1H15zM17,8 h4v1H17zM1 9h4v1H1zM8 9h1v1H8zM12 9h3v1H12zM17 9h2v1H17zM0 10h1v1H0zM4 10h3v1H4zM10 10h1v1H10zM12 10h2v1H12zM18 10h2v1H18zM1 11h1v1H1zM3 11h2v1H3zM7 11h6v1H7zM15 11h1v1H15zM19 11h1v1H19zM1 12h1v1H1zM3 12h5v1H3zM10 12h2v1H10zM14 12h3v1H14zM19,12 h2v1H19zM8 13h2v1H8zM11 13h2v1H11zM17 13h2v1H17zM0 14h7v1H0zM11 14h1v1H11zM14 14h3v1H14zM19 14h1v1H19zM0 15h1v1H0zM6 15h1v1H6zM8 15h2v1H8zM13 15h2v1H13zM16 15h1v1H16zM20,15 h1v1H20zM0 16h1v1H0zM2 16h3v1H2zM6 16h1v1H6zM8 16h1v1H8zM10 16h1v1H10zM12 16h3v1H12zM16 16h2v1H16zM20,16 h1v1H20zM0 17h1v1H0zM2 17h3v1H2zM6 17h1v1H6zM9 17h2v1H9zM12 17h5v1H12zM18,17 h3v1H18zM0 18h1v1H0zM2 18h3v1H2zM6 18h1v1H6zM12 18h2v1H12zM16 18h3v1H16zM0 19h1v1H0zM6 19h1v1H6zM8 19h5v1H8zM15 19h2v1H15zM0 20h7v1H0zM8 20h2v1H8zM11 20h1v1H11zM14 20h2v1H14zM17 20h1v1H17zM20,20 h1v1H20z"
fill="darkestBackground"
fill="primaryColor"
/>
</svg>
</div>

2
test/unit/components/UI/__snapshots__/Range.spec.js.snap

@ -26,7 +26,7 @@ exports[`component.UI.Range should render correctly 1`] = `
appearance: none;
height: 8px;
cursor: ew-resize;
background: #fff;
background: #ffffff;
box-shadow: -1000px 0 0 1000px orange;
}

4
test/unit/components/UI/__snapshots__/Select.spec.js.snap

@ -15,9 +15,9 @@ exports[`component.UI.Toggle should render correctly 1`] = `
padding: 16px;
width: 100%;
font-size: 13px;
color: #fff;
color: #ffffff;
background-color: transparent;
color: #fff;
color: #ffffff;
background-color: transparent;
font-family: Roboto,system-ui,sans-serif;
font-weight: 300;

2
test/unit/components/UI/__snapshots__/Sidebar.spec.js.snap

@ -5,7 +5,7 @@ exports[`component.UI.Sidebar should render correctly 1`] = `
padding: 16px;
width: 33.33333333333333%;
color: primaryText;
background-color: lightBackground;
background-color: tertiaryColor;
}
<aside

4
test/unit/components/UI/__snapshots__/TextArea.spec.js.snap

@ -15,9 +15,9 @@ exports[`component.UI.Input should render correctly 1`] = `
padding: 16px;
width: 100%;
font-size: 13px;
color: #fff;
color: #ffffff;
background-color: transparent;
color: #fff;
color: #ffffff;
background-color: transparent;
font-family: Roboto,system-ui,sans-serif;
font-weight: 300;

2
test/unit/components/UI/__snapshots__/Toggle.spec.js.snap

@ -42,7 +42,7 @@ exports[`component.UI.Toggle should render correctly 1`] = `
-webkit-transition: 0.4s;
transition: 0.4s;
border-radius: 50%;
box-shadow: 1px 1px 3px #555;
box-shadow: 1px 1px 3px;
}
.c0 input:checked + .slider {

Loading…
Cancel
Save