CoPilot icon indicating copy to clipboard operation
CoPilot copied to clipboard

Using SCSS/LESS instead of CSS

Open vpiskunov opened this issue 7 years ago • 11 comments

Added AdminLTE LESS files, and integrated them into the Webpack config to include LESS in the build process. Let me know if you have any thoughts for improvements, or if I've missed out on anything.

Included are the skin files as well, with the blue skin used by default - to change this, simply replace with respective colour named file in 'build/webpack.base.conf.js'

This is in response to the earlier issue: https://github.com/misterGF/CoPilot/issues/19 - as per @misterGF 's comment, here is the PR.

P.S. I see you've closed the issue earlier after euvl's commit - his commits did not tackle the full LESS support - but rather only partial modules being rewritten into SASS.

vpiskunov avatar Apr 23 '17 22:04 vpiskunov

I think a value addition to this would be linting for the LESS with either Lesshint (personal fav) or Stylelint.

shellscape avatar Apr 23 '17 23:04 shellscape

Thanks for this. Initial check looks good. Will look at it a little soon!

misterGF avatar Apr 27 '17 18:04 misterGF

@misterGF let me know how it goes!

vpiskunov avatar May 09 '17 17:05 vpiskunov

Hey @vpiskunov. I'm on it this week!

I added a bad commit in your PR while attempting to fix some dependency changes since you submitted. Could you remove it?

I also tested your fork and get this error. This is using node 6.9.

hyper_2017-05-15_16-34-24

Thoughts?

misterGF avatar May 15 '17 20:05 misterGF

Hey @misterGF ! Good to hear, I'll have a look at your bad commit tomorrow or day after, but in the mean time regarding errors in my fork - seems like the files could be missing or path is wrong.

Can you locate the .less files manually in that branch checked out? If so, let me know at which path they are placed.

vpiskunov avatar May 15 '17 20:05 vpiskunov

Still in progress?

cballou avatar Jul 31 '17 14:07 cballou

Yes, I haven't heard about any updates. @vpiskunov. Have you had a chance to look at this?

misterGF avatar Aug 06 '17 19:08 misterGF

@misterGF Hi, I asked you on your previous comment - haven't heard your feedback on:

seems like the files could be missing or path is wrong.

Can you locate the .less files manually in that branch checked out? If so, let me know at which path they are placed.

That's kind of crucial for me to understand where the errors could arise from - it worked in my environment. So let me know.

vpiskunov avatar Aug 07 '17 00:08 vpiskunov

Is development on this still active?

karmendra avatar May 20 '18 11:05 karmendra

I thought @misterGF had merged this long time back?

Also seems theres been a lot of changes since my initial pull request, so unless it was merged, might be easier to re-implement than fix.

vpiskunov avatar May 20 '18 13:05 vpiskunov

@vpiskunov. Could never get it to properly build. I’m still interested in getting this merged. If you could re-implement I can make it a priority to get this merged.

misterGF avatar May 21 '18 03:05 misterGF