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

Folder Icons #21

Open
SirGryphin opened this issue Sep 25, 2021 · 11 comments
Open

Folder Icons #21

SirGryphin opened this issue Sep 25, 2021 · 11 comments

Comments

@SirGryphin
Copy link

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

@neilsabde
Copy link

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

@SirGryphin
Copy link
Author

@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.

@neilsabde
Copy link

Ok, thanks for the quick response!

@SirGryphin
Copy link
Author

SirGryphin commented Oct 25, 2021

@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

@neilsabde
Copy link

No icons at all :(

@SirGryphin
Copy link
Author

SirGryphin commented Oct 26, 2021

@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

@neilsabde
Copy link

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

@SirGryphin
Copy link
Author

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.

@neilsabde
Copy link

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

@neilsabde
Copy link

I can live without it

@SirGryphin
Copy link
Author

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.

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

No branches or pull requests

2 participants