Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
db0dc43
fix(light-theme): fixed failing WCAG AA checks - I1263
elit-altum Apr 20, 2020
642016a
Update light theme to try to be WCAG AA compliant, adjust Toolbar sty…
catarak Apr 21, 2020
b70f49f
Remove unused theme variables, redce the number of different grays, l…
catarak Apr 22, 2020
7c54b71
Fix right nav items alignment
catarak Apr 22, 2020
e8c3587
Move all light theme variables to new design grayscale
catarak Apr 22, 2020
3461c96
Update dark theme colors
catarak Apr 22, 2020
6b11adf
Continue to update dark theme, remove many unused theme variables
catarak Apr 24, 2020
c6f946d
Adjust size of file name input, start updaing high contrast theme
catarak Apr 24, 2020
a0d6b71
Update dark code theme
catarak Apr 24, 2020
edb5187
Update high contrast theme
catarak Apr 24, 2020
451a05f
Make minor adjustments in all themes
catarak Apr 27, 2020
436f6c7
Update console colors for light and dark themes
catarak Apr 27, 2020
ad77cd8
Update high contrast console theme
catarak Apr 27, 2020
677148e
Update code syntax and console colors
catarak Apr 27, 2020
3b62c3b
Mildly adjust colors in light and dark code editing themes
catarak Apr 27, 2020
e75a977
Update console-feed styles to match code editor theme
catarak Apr 27, 2020
91bf1e6
Adjust stylng of find box
catarak Apr 27, 2020
bd43db1
Add file that was accidentally unsaved
catarak Apr 27, 2020
4b4b31e
Update failing tests to match new code
catarak Apr 28, 2020
d768df0
Adjust styling of find setting switches, update button styling for ne…
catarak Apr 28, 2020
7bd3755
Fixes #1255, make sidebar expand/contract buttonmore notceable, also …
catarak Apr 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client/components/Nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class Nav extends React.PureComponent {
onBlur={this.handleBlur}
>
Save
<span className="nav__keyboard-shortcut">{metaKeyName}+s</span>
<span className="nav__keyboard-shortcut">{metaKeyName}+S</span>
</button>
</li> }
{ this.props.project.id && this.props.user.authenticated &&
Expand Down Expand Up @@ -541,13 +541,13 @@ class Nav extends React.PureComponent {
return (
<ul className="nav__items-right" title="user-menu">
<li className="nav__item">
<Link to="/login">
<Link to="/login" className="nav__auth-button">
<span className="nav__item-header">Log in</span>
</Link>
</li>
<span className="nav__item-spacer">or</span>
<span className="nav__item-or">or</span>
<li className="nav__item">
<Link to="/signup">
<Link to="/signup" className="nav__auth-button">
<span className="nav__item-header">Sign up</span>
</Link>
</li>
Expand Down
2 changes: 1 addition & 1 deletion client/components/PreviewNav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PreviewNav = ({ owner, project }) => (
<nav className="nav preview-nav">
<div className="nav__items-left">
<div className="nav__item-logo">
<InlineSVG src={logoUrl} alt="p5.js logo" />
<InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" />
</div>
<Link className="nav__item" to={`/${owner.username}/sketches/${project.id}`}>{project.name}</Link>
<p className="toolbar__project-owner">by</p>
Expand Down
3 changes: 2 additions & 1 deletion client/components/__test__/FileNode.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ describe('<FileNode />', () => {
showFolderChildren: jest.fn(),
hideFolderChildren: jest.fn(),
canEdit: true,
authenticated: false
authenticated: false,
openUploadFileModal: jest.fn()
};
component = shallow(<FileNode {...props} />);
});
Expand Down
10 changes: 5 additions & 5 deletions client/components/__test__/__snapshots__/Nav.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ exports[`Nav renders correctly 1`] = `
<span
className="nav__keyboard-shortcut"
>
Ctrl
+F
</span>
</button>
Expand All @@ -161,7 +161,7 @@ exports[`Nav renders correctly 1`] = `
<span
className="nav__keyboard-shortcut"
>
Ctrl
+G
</span>
</button>
Expand All @@ -180,7 +180,7 @@ exports[`Nav renders correctly 1`] = `
>
+
Ctrl
+G
</span>
</button>
Expand Down Expand Up @@ -242,7 +242,7 @@ exports[`Nav renders correctly 1`] = `
<span
className="nav__keyboard-shortcut"
>
Ctrl
+Enter
</span>
</button>
Expand All @@ -261,7 +261,7 @@ exports[`Nav renders correctly 1`] = `
>
+
Ctrl
+Enter
</span>
</button>
Expand Down
54 changes: 54 additions & 0 deletions client/images/console-debug-contrast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/console-debug-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions client/images/console-error-contrast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions client/images/console-info-contrast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/console-info-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/console-info-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions client/images/console-warn-contrast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/console-warn-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions client/images/down-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/exit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/triangle-arrow-down-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/triangle-arrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/images/triangle-arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions client/images/up-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading