Skip to content

Commit

Permalink
Revert "fix text & button color"
Browse files Browse the repository at this point in the history
This reverts commit da5da68.
  • Loading branch information
adlk committed Dec 19, 2024
1 parent 10910aa commit 0ae8a7c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
6 changes: 3 additions & 3 deletions src/components/services/content/ServiceDisabled.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { observer } from 'mobx-react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Component } from 'react';
import { observer } from 'mobx-react';
import { defineMessages, intlShape } from 'react-intl';

import Button from '../../ui/Button';
Expand Down Expand Up @@ -39,7 +39,7 @@ export default @observer class ServiceDisabled extends Component {
<h1>{intl.formatMessage(messages.headline, { name })}</h1>
<Button
label={intl.formatMessage(messages.action, { name })}
buttonType="primary-inverted"
buttonType="inverted"
onClick={() => enable()}
/>
</div>
Expand Down
13 changes: 0 additions & 13 deletions src/styles/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,6 @@
}
}

&.franz-form__button--primary-inverted {
background: none;
border: 2px solid white;
color: white;
padding: 10px 20px;
transition: background .5s, color .5s;

&:hover {
background: darken($theme-brand-primary, 5%);
color: #FFF;
}
}

.loader {
display: inline-block;
height: 12px;
Expand Down
8 changes: 4 additions & 4 deletions src/styles/services.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
.theme__dark {
.services {
background: $dark-theme-gray-darkest;

.services__webview-wrapper { background: $dark-theme-gray-darkest; }
}

.services__no-service,
.services__info-layer {
background: $dark-theme-gray-darkest;

h1 { color: $dark-theme-gray-lightest; }
}
}
Expand Down Expand Up @@ -38,10 +38,10 @@
text-align: center;

h1 {
color: white;
color: $theme-gray-dark;
margin: 25px 0 40px;
}

a.button,
button { margin: 40px 0 20px; }
}
}

0 comments on commit 0ae8a7c

Please sign in to comment.