From 02fa5e6d4edf1effdd07c9a80dc98c1f5dae8502 Mon Sep 17 00:00:00 2001 From: mathuramg Date: Mon, 20 Jun 2016 15:23:42 -0400 Subject: [PATCH] refactor css names --- images/exit.svg | 8 ++++---- images/minus.svg | 6 +++--- images/plus.svg | 8 ++++---- shared/components/Editor/Editor.jsx | 2 +- shared/components/Preferences/Preferences.jsx | 8 ++++---- styles/components/_preferences.scss | 8 ++++---- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/images/exit.svg b/images/exit.svg index 4c67ba03..c4b6bc27 100644 --- a/images/exit.svg +++ b/images/exit.svg @@ -1,12 +1,12 @@ - Combined Shape + Exit Created with Sketch. - + - + - \ No newline at end of file + diff --git a/images/minus.svg b/images/minus.svg index 8cdc54cc..95f8494b 100644 --- a/images/minus.svg +++ b/images/minus.svg @@ -1,12 +1,12 @@ - Rectangle 2 + Decrease Value Created with Sketch. - + - + diff --git a/images/plus.svg b/images/plus.svg index 93b3c44b..449abd95 100644 --- a/images/plus.svg +++ b/images/plus.svg @@ -1,12 +1,12 @@ - Combined Shape + Increase Value Created with Sketch. - + - + - \ No newline at end of file + diff --git a/shared/components/Editor/Editor.jsx b/shared/components/Editor/Editor.jsx index 87195feb..2d793b17 100644 --- a/shared/components/Editor/Editor.jsx +++ b/shared/components/Editor/Editor.jsx @@ -4,7 +4,7 @@ import 'codemirror/mode/javascript/javascript'; import 'codemirror/addon/selection/active-line' class Editor extends React.Component { - _cm: CodeMirror.Editor + _cm: CodeMirror.Editor componentDidMount() { this._cm = CodeMirror(this.refs.container, { diff --git a/shared/components/Preferences/Preferences.jsx b/shared/components/Preferences/Preferences.jsx index 89b849bd..7af63eb6 100644 --- a/shared/components/Preferences/Preferences.jsx +++ b/shared/components/Preferences/Preferences.jsx @@ -15,18 +15,18 @@ class Preferences extends React.Component { return (
-

Preferences

+

Preferences

-

Font Size

-

{this.props.fontSize}

-
diff --git a/styles/components/_preferences.scss b/styles/components/_preferences.scss index 0c415c99..c660148f 100644 --- a/styles/components/_preferences.scss +++ b/styles/components/_preferences.scss @@ -19,12 +19,12 @@ } } -.preferences__plus-button { +.preference__plus-button { @extend %preferences-button; margin-right: auto; } -.preferences__minus-button { +.preference__minus-button { @extend %preferences-button; } @@ -33,7 +33,7 @@ flex-direction: rows; margin-left: #{20 / $base-font-size}rem; } -.preferences__title-text { +.preferences__title { margin: 0 0; font-size: #{$menu-font-size}px; font-weight: 700; @@ -45,7 +45,7 @@ margin: 0 #{20 / $base-font-size}rem; } -.preference__title-text { +.preference__title { margin: 0 0; font-size: #{$base-font-size}px; font-weight: 400;