Skip to content

Commit 392be76

Browse files
committed
Tweak donation link styles
- The front page one gets bold text and a lighter color. - The in-room one does not embed the button into the sentence, and the hue rotation is slower.
1 parent 50185fd commit 392be76

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

client/lib/main.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ iframe.js {
662662

663663
&.donations {
664664
background: @brand-color;
665-
animation: rotate-color 30s linear infinite;
665+
animation: rotate-color 180s linear infinite;
666666

667667
.content .actions button {
668668
color: black;

client/lib/ui/Main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ export default React.createClass({
308308
{this.state.update.get('ready') && <FastButton className="update-button" onClick={update.perform}><p>update ready<em>{Heim.isTouch ? 'tap' : 'click'} to reload</em></p></FastButton>}
309309
{this.state.donations.eligible && this.state.donations.url && this.state.ui.notices.has('donations') && <div className="notice dark donations">
310310
<div className="content">
311-
<span className="title">euphoria maintenance and development is enabled by</span>
311+
<span className="title">euphoria maintenance and development depends on you.</span>
312312
<span className="actions">
313-
<FastButton onClick={() => donations.openWindow()}>your donation</FastButton>
313+
<FastButton onClick={() => donations.openWindow()}>support us</FastButton>
314314
</span>
315315
</div>
316316
<FastButton className="close" onClick={() => ui.dismissNotice('donations')} />

client/site/site.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,8 +674,9 @@ body.welcome {
674674
padding: 4px;
675675
border-radius: 4px;
676676
font-size: 1.25em;
677+
font-weight: bold;
677678
background: white;
678-
color: black;
679+
color: #333333;
679680
text-decoration: none;
680681
box-shadow: 0 0 4px fade(black, 25%);
681682

0 commit comments

Comments
 (0)