Nass-O / DarkTube

Dark theme for youtube.com
GNU General Public License v3.0
13 stars 1 forks source link

Dashboard -> Creator studio & other #9

Closed pawelos076232 closed 2 years ago

zachthedev commented 7 years ago

How can I compile this theme to use in UserStyles?

pawelos076232 commented 7 years ago

@Zangoran I'm using PHP Storm and this guide should be helpfull: https://www.jetbrains.com/help/phpstorm/10.0/transpiling-sass-less-and-scss-to-css.html Compiled code to CSS you can import to your Stylish from: /V4/css/darktube-moz.css

pawelos076232 commented 7 years ago

However, note that this isn't the only way out. And it's not a complete finite style to publish it on UserStyles

zachthedev commented 7 years ago

@pawelos076232 Ok, cool. Thanks for the help!

pawelos076232 commented 7 years ago

@Zangoran no problem! Good luck!

zachthedev commented 7 years ago

@pawelos076232 Quick question. Is the file located in '/V4/css/darktube-moz.css' the already compiled scss? Or do I have to manually compile it myself in PHPStorm?

pawelos076232 commented 7 years ago

@Zangoran this file is already compiled from SCSS to CSS automatically by File Watcher and ready to go with Stylish ;)

zachthedev commented 7 years ago

@pawelos076232 I imported that file into stylish, and it is not working. I even made sure to add the link to apply it to YouTube.

pawelos076232 commented 7 years ago

@Zangoran huh... idk. This code should work. I tested it yesterday on my laptop and it worked. Only one fact that Stylish display a message about one problem, but it's ok. After import and save it really should work. Maby you paste wrong code? Try this one raw: https://raw.githubusercontent.com/pawelos076232/DarkTube/master/V4/css/darktube-moz.css

zachthedev commented 7 years ago

@pawelos076232 I used the raw one. Which turned out to be different than the one I was using before. But it still isnt working. Let me try a different install of chrome. See if that is the issue.

zachthedev commented 7 years ago

@pawelos076232 Trying it in a clean install of chrome did not work either.

pawelos076232 commented 7 years ago

@Zangoran are you really using import function in Stylish? (The button form the left panel, then you need to click "Overwrite style" button)

zachthedev commented 7 years ago

@pawelos076232 I am not importing, I am just copying and pasting the code into the input box. Is that what I should be doing?

pawelos076232 commented 7 years ago

@Zangoran That's why it's not working. It is in mozilla-format, so you need to use import button

zachthedev commented 7 years ago

@pawelos076232 Ahh, that would make sense. My bad. Thanks!