typora-cobalt-theme icon indicating copy to clipboard operation
typora-cobalt-theme copied to clipboard

Folder Icons

Open SirGryphin opened this issue 3 years ago • 11 comments

Folder Icons not showing up, I'm using Windows with latest Typora. Only folder Icon shows not .md file icons.

Screenshot 2021-09-25 170600

SirGryphin avatar Sep 25 '21 16:09 SirGryphin

How did you get the icons? Icons are not showing up for me

hackorum avatar Oct 25 '21 13:10 hackorum

@hackorum I've not changed anything. This how it is for me I only have folder icons no file icons. I think it has something to do with how the CSS uses images, instead of linking to a image in theme folder they link to svg icons and it seems to be hit and miss.

SirGryphin avatar Oct 25 '21 13:10 SirGryphin

Ok, thanks for the quick response!

hackorum avatar Oct 25 '21 13:10 hackorum

@hackorum are the folder icons showing for you? like mine or are you missing everything?

File Icon Fix

  1. Open cobalt.css
  2. Find fill='#
  3. Replace with fill='%23

The CSS uses UTF-8 and it doesn't like # symbols in the color code, so it makes the Icon not show up. There should be 5 instances that need replacing.

Capture

SirGryphin avatar Oct 25 '21 16:10 SirGryphin

No icons at all :(

hackorum avatar Oct 26 '21 14:10 hackorum

@hackorum I've created a new version, I've convert the svg code into svg files and included them into the Cobalt theme folder. So it will load actual files. This should hopefully fix your problem with them not showing.

Just place the Cobalt folder and Cobalt.css in theme folder of typora like normal and let me know if it works, I've tested it on mine and it works but I'm not having same problem.

Also what version of typora you using and OS?

typora-cobalt-theme-icon-fix.zip

SirGryphin avatar Oct 26 '21 17:10 SirGryphin

Still no icons, I'm using Mac OS Big Sur on M1 mac and the version is 0.11.11

hackorum avatar Oct 27 '21 02:10 hackorum

I have no idea what causing it, I'm using it on Windows which is running 0.11.13. On typora github there is a lot of people with problems using it on the same MacOS Big Sur M1, mostly it just crashes and doesn't load. Supposedly it something on apple end causing problems, but I'm no expect just doing a quick search.

SirGryphin avatar Oct 27 '21 02:10 SirGryphin

It's ok, not having icons is not a big deal

hackorum avatar Oct 27 '21 03:10 hackorum

I can live without it

hackorum avatar Oct 27 '21 03:10 hackorum

Sorry I can't help, I just don't have a Mac. If you google SVG Big Sur it seems there a problem with how svg files are viewed, I don't know enough to make them compatible. Maybe someone else will post here. I did try to convert svg to png and load them into the theme but it just doesn't work.

SirGryphin avatar Oct 27 '21 04:10 SirGryphin