Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Sass instead of Less #2141

Merged
merged 4 commits into from
Jan 24, 2017
Merged

Use Sass instead of Less #2141

merged 4 commits into from
Jan 24, 2017

Conversation

jpellizzari
Copy link
Contributor

Needed for #2133

Changes the Less files to Sass. We are standardizing around Sass on other projects.

@davkal and @bowenli Please review, specifically for styling regressions.

@jpellizzari jpellizzari requested review from davkal and bowenli January 19, 2017 19:06
@bowenli
Copy link
Contributor

bowenli commented Jan 19, 2017

looks fine to me

@jpellizzari jpellizzari force-pushed the convert-to-sass branch 3 times, most recently from 1296c84 to fdf90a0 Compare January 20, 2017 01:42
"html-webpack-plugin": "2.24.1",
"http-proxy-rules": "1.0.1",
"immutable-devtools": "0.0.7",
"jest-cli": "17.0.3",
"json-loader": "0.5.4",
"less": "2.7.1",
"less-loader": "2.2.3",
"node-sass": "^3.13.1",

This comment was marked as abuse.

"postcss-loader": "1.2.0",
"react-addons-perf": "15.4.1",
"redux-devtools": "3.3.1",
"redux-devtools-dock-monitor": "1.1.1",
"redux-devtools-log-monitor": "1.1.1",
"sass-loader": "^4.1.1",

This comment was marked as abuse.

},
{
test: /\.(scss|css)$/,
loader: 'style-loader!css-loader!sass-loader'

This comment was marked as abuse.

@davkal
Copy link
Contributor

davkal commented Jan 20, 2017

Works well. Small issues:

  • high contrast mode does not work (maybe different issue?)
  • build warning
WARNING in ./~/xterm/dist/xterm.js
Critical dependencies:
1:481-488 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/xterm/dist/xterm.js 1:481-488
  • matched search text looks different:

Before
screen shot 2017-01-20 at 12 49 26

After
screen shot 2017-01-20 at 12 53 33

@rade
Copy link
Member

rade commented Jan 20, 2017

high contrast mode does not work

#2138? I am guessing this PR was branched prior to the fix.

@jpellizzari
Copy link
Contributor Author

@davkal updated with the matched-text styles fixed, xterm warning suppressed, and post-css added back in.

@jpellizzari jpellizzari assigned davkal and unassigned jpellizzari Jan 20, 2017
@jpellizzari
Copy link
Contributor Author

Ping @davkal please review after my changes.

@body-background-color: linear-gradient(30deg, @background-color 0%, @background-lighter-color 100%);
@label-background-color: fade(@background-average-color, 70%);
$body-background-color: linear-gradient(30deg, $background-color 0%, $background-lighter-color 100%);
$label-background-color: fade-out($background-average-color, .7);

This comment was marked as abuse.

color: @text-tertiary-color;
background-color: fade(@background-average-color, 90%);
color: $text-tertiary-color;
background-color: fade-out($background-average-color, .9);

This comment was marked as abuse.

}

}

.search-item {
background-color: fade(@weave-blue, 20%);
border-radius: @border-radius / 2;
background-color: fade-out($weave-blue, .2);

This comment was marked as abuse.

@foot
Copy link
Contributor

foot commented Jan 24, 2017

LGTM!

@foot foot assigned jpellizzari and unassigned davkal Jan 24, 2017
@jpellizzari jpellizzari merged commit c896cf9 into master Jan 24, 2017
@jpellizzari jpellizzari deleted the convert-to-sass branch January 24, 2017 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants