-
Notifications
You must be signed in to change notification settings - Fork 9
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
Customized default theme interferes with other themes #2
Comments
Intentionally, I'm always loading the main css.
Disable all css once. |
Thanks for the quick reply! I gave the script a quick test.
Indeed, the script above causes this when loading the page for the first time. (disabled CSS is loaded first?) The script I use avoids the initial problem, but bare HTML can be seen for a split second depending on the complexity of the CSS. I managed to avoid this by removing empty urls in background-image properties. But I don't know how robust this is... Thanks so much again. |
Does not disable the main CSS. With this method, the main css will be loaded preferentially. And when another css is selected, the main css is not loaded. |
The code works well, thank you! I'll try using this.
Appreciate all the help! |
I saw the POTI-board on your site.
Soon, i'll push a theme to GitHub that addresses the double-tap zoom issue. |
Thanks for checking up! I was definitely breaking something but I had no idea what it was. Also I noticed the earlier issue
has sadly come back at full force. Whenever a theme gets switched from default, and loading different pages the bare HTML can be seen for a second or less. I'm not sure what's causing it, because it's happening with original themes as well. I'm assuming the javascript is disabling the default css fine, but reading lines and loading css causes some delay. I also tried the old script, but it's loading the default style first for a second instead. I did some searching and there's a script that can make a full replacement of "<link rel". Maybe this could help, but I'm not sure how to do it with many styles (0 javascript knowledge). |
|
Got it, thanks for the heads up. I don't know how but the latest javascript change seems to have improved it, or maybe it's just the server delay. I'd like to provide these themes for Potiboard, but I wonder what's the best way to implement it? I was thinking a seperate theme folder and changing the config file. |
Decide a new folder name and put it together there. If boxfries-san manages it on GitHub, you can pull request only the important changes. |
Hmm, this is a lot more complex than I thought! I'm very unfamiliar with github and pull requests, so I worry about holding back development. I'd prefer to give you the the files and let you do as you please with it. I can try setting it up on github and add changes when I feel like it, and you can do with them as you please (or I can add things if anything needs to be fixed). I'm not sure about licenses, I believe part of the css was based on sakots-san's themes, so I want to make sure proper credits are given. Let me know what works best for you. |
I wouldn't be burdened if I could get you to support and maintain this theme on GitHub.
|
配布/素材 - ドラ☆クロウ!オリジナルイラスト中心よろずサイト - |
It would be helpful if the person who created the theme manages it for himself. |
Another way ... Have sakots manage this theme. |
Oh I wouldn't want to bother him haha. I'll try to set it up on github. I'll likely mess things up, so please bear with me. Since I use the themes on my oekaki board, I'll be maintaining them anyways. I'll set it up soon after I'm done polishing things... |
You need a git client app to push, pull, and clone files to GitHub. |
Palm rejection issues on Ipad · Issue #36 · thenickdude/chickenpaint |
Can you test the iPad double tap zoom issue? |
I got it. I accidentally opened the issue with my old account (lol). Figured I may as well continue using it to avoid embarrassment... Thanks for the client suggestions. I'll check out tortoise git. I'm almost finished setting up the theme folders. I made one for Japanese and English. |
Hello! I've finally set it up. If there's anything that needs changing, feel free to let me know. |
I tried it. I thought it was a good light-colored theme.
'Creamy','Picto Junction','themeparty' |
Oh, I think I left creamy in there accidentally before deciding on the final name. As it's a collection of themes, please call it "themeparty". I'll try fixing it later. |
I understand. Thank you very much. |
I replaced the files. It took a few errors but I eventually got it. Thanks for linking my pages! |
Thank you for creating the theme. |
When customizing the default theme, adding new CSS properties causes these to "leak" through to other themes when their properties aren't set. This is because the default theme is persistent, and always loads regardless of which theme is selected.
Header styling from default theme leaking through to "Deep" theme.
I found a solution by adding "disabled" to the default CSS theme when changing themes, and removing it when switching back to each html file under themes. But I don't know if it's good code. (I only know some HTML/CSS)
The text was updated successfully, but these errors were encountered: