← Return to tool
Log in with itch.io to leave a comment.
Hello, any way to get the code for the Preview Theme switcher ? I would love to add a swicther like that in my page
Hi, the buttons are actually just radio-type <input> elements. I don’t think you can insert it in project pages directly, since input/form elements will be sanitized.
<input>
The project is open source. Here’s the snippet of the codes that makes the buttons if you’re interested: Script: https://github.com/nndda/Pitch/blob/80ac0c31949f5ef281493bcbb7d416ca868be869/src/app/scripts/themes.ts#L61C1-L74C7 Styling: https://github.com/nndda/Pitch/blob/80ac0c31949f5ef281493bcbb7d416ca868be869/src/app/styles/_input.scss#L107C1-L140C2
Thank you very much for your answer, it is awesome to see that you are still very active!
Hello, I liked the idea of the program, but I want a Linux version AppImage
This really helps a lot thank you :-)
any way to make those “Responsive layout adapts to different screen sizes “ boxes? :3
thats not a part of the css components actually 😅 but heres the html & css source code for those https://gist.github.com/nndda/63ff54c575dbb9e9f6158dc8a446c0db
awww tysm :D
← Return to tool
Comments
Log in with itch.io to leave a comment.
Hello, any way to get the code for the Preview Theme switcher ? I would love to add a swicther like that in my page
Hi, the buttons are actually just radio-type
<input>
elements. I don’t think you can insert it in project pages directly, since input/form elements will be sanitized.The project is open source. Here’s the snippet of the codes that makes the buttons if you’re interested:
Script: https://github.com/nndda/Pitch/blob/80ac0c31949f5ef281493bcbb7d416ca868be869/src/app/scripts/themes.ts#L61C1-L74C7
Styling: https://github.com/nndda/Pitch/blob/80ac0c31949f5ef281493bcbb7d416ca868be869/src/app/styles/_input.scss#L107C1-L140C2
Thank you very much for your answer, it is awesome to see that you are still very active!
Hello, I liked the idea of the program, but I want a Linux version AppImage
This really helps a lot thank you :-)
any way to make those “Responsive layout adapts to different screen sizes “ boxes? :3
thats not a part of the css components actually 😅 but heres the html & css source code for those https://gist.github.com/nndda/63ff54c575dbb9e9f6158dc8a446c0db
awww tysm :D