h16nning / typora-gitbook-theme

This is a Typora theme is inspired by gitbook.com. Most of the user interface has been overhauled. It contains three variants: two light variants and one dark theme.
GNU General Public License v3.0
307 stars 51 forks source link

add tag before headers #4

Closed dxc0ap closed 3 years ago

dxc0ap commented 3 years ago

awesome theme, we love it so much ~ could you pls add this little tag before headers, really helpful for us to add header on order, thx~

image

h16nning commented 3 years ago

Hello, just to be clear, should the tag always be visible or just when the cursor is in the specific line?

dxc0ap commented 3 years ago

Hello, just to be clear, should the tag always be visible or just when the cursor is in the specific line?

image

Hi, henning16, thx for the reply.

just like this theme, it could be always visible. (here is the link, if it helps: https://github.com/aCluelessDanny/typora-theme-ursine)

h16nning commented 3 years ago

Hi chill-swift, thx again for your feedback. I have added your suggestion to the latest version. I hope you like it.

dxc0ap commented 3 years ago

Hi chill-swift, thx again for your feedback. I have added your suggestion to the latest version. I hope you like it.

fabulous work! thx a lot~

ghost commented 3 years ago

I must say that the font format is amazing. But let me tell you that I prefer it to appear when the cursor passes over the title, as in the rest of the topics

dxc0ap commented 3 years ago

Hi chill-swift, thx again for your feedback. I have added your suggestion to the latest version. I hope you like it.

image Hey, Henning16, I found the code here(I'm not a professional css user, sorry...), so, if other users want "when the cursor is in the specific line", maybe you could change it back, I can fix it by myself.

thx for all~

h16nning commented 3 years ago

I slightly prefer the variant, where the tag only shows up if the cursor is in the same line, too, like @malbiack said. I think I’m going to change it to that behaviour in the next days, but keep the overall look of the tags, as they are right now.