Adds theme-aware CSS for "user" pages
This commit is contained in:
parent
e210d8ce06
commit
5e74be46fd
8 changed files with 15 additions and 6 deletions
|
@ -37,7 +37,7 @@ class AccountView extends React.Component {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<section className="form-container form-container--align-top form-container--align-left account-container">
|
||||
<section className="form-container form-container--align-top form-container--align-left user">
|
||||
<Helmet>
|
||||
<title>p5.js Web Editor | Account</title>
|
||||
</Helmet>
|
||||
|
|
|
@ -65,7 +65,7 @@ class EmailVerificationView extends React.Component {
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="form-container">
|
||||
<div className="form-container user">
|
||||
<Helmet>
|
||||
<title>p5.js Web Editor | Email Verification</title>
|
||||
</Helmet>
|
||||
|
|
|
@ -34,7 +34,7 @@ class LoginView extends React.Component {
|
|||
return null;
|
||||
}
|
||||
return (
|
||||
<div className="form-container">
|
||||
<div className="form-container user">
|
||||
<Helmet>
|
||||
<title>p5.js Web Editor | Login</title>
|
||||
</Helmet>
|
||||
|
|
|
@ -31,7 +31,8 @@ class NewPasswordView extends React.Component {
|
|||
const newPasswordClass = classNames({
|
||||
'new-password': true,
|
||||
'new-password--invalid': this.props.user.resetPasswordInvalid,
|
||||
'form-container': true
|
||||
'form-container': true,
|
||||
'user': true
|
||||
});
|
||||
return (
|
||||
<div className={newPasswordClass}>
|
||||
|
|
|
@ -30,7 +30,8 @@ class ResetPasswordView extends React.Component {
|
|||
const resetPasswordClass = classNames({
|
||||
'reset-password': true,
|
||||
'reset-password--submitted': this.props.user.resetPasswordInitiate,
|
||||
'form-container': true
|
||||
'form-container': true,
|
||||
'user': true
|
||||
});
|
||||
return (
|
||||
<div className={resetPasswordClass}>
|
||||
|
|
|
@ -34,7 +34,7 @@ class SignupView extends React.Component {
|
|||
return null;
|
||||
}
|
||||
return (
|
||||
<div className="form-container">
|
||||
<div className="form-container user">
|
||||
<Helmet>
|
||||
<title>p5.js Web Editor | Signup</title>
|
||||
</Helmet>
|
||||
|
|
6
client/styles/layout/_user.scss
Normal file
6
client/styles/layout/_user.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
.user {
|
||||
@include themify() {
|
||||
color: getThemifyVariable('primary-text-color');
|
||||
background-color: getThemifyVariable('background-color');
|
||||
}
|
||||
}
|
|
@ -48,3 +48,4 @@
|
|||
|
||||
@import 'layout/ide';
|
||||
@import 'layout/fullscreen';
|
||||
@import 'layout/user';
|
||||
|
|
Loading…
Reference in a new issue