Python Forum
New Theme - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Board (https://python-forum.io/forum-26.html)
+--- Thread: New Theme (/thread-30190.html)



New Theme - snippsat - Oct-11-2020

So we had a lot trouble with Forum lately,bye unwanted access.
Now that Forum is secure and updated,thanks to @D0X3D for all help we have gotten.

It's now a good time to test out a new good Responsive Theme.
I and @metulburr have talked about this before.

Down in right corner can Choose Light.py and Dark.py,we probably load Light as default so we can some feedback on it.
The Theme we go for is Deviance Dark & Light - Responsive Theme
A good looking Theme on all devices(have tested it on Phone).
There will be some work done on Theme going forward,so feedback and stuff to fix can be posted here.


RE: New Theme - rain - Oct-11-2020

can you activate my account so i can send you a private message? im the designer of this theme


RE: New Theme - snippsat - Oct-11-2020

Hi rain your account is activate,we have some restrictions when have less than 5 post.
I have moved you to Privileged User,so can use PM now.

Nice Themes that you have made [Image: thumbsup.png]


RE: New Theme - rain - Oct-11-2020

(Oct-11-2020, 06:40 PM)snippsat Wrote: Hi rain your account is activate,we have some restrictions when have less than 5 post.
I have moved you to Privileged User,so can use PM now.

Nice Themes that you have made [Image: thumbsup.png]

hey, i still dont have access, anyway, i activated your account on my forum and now you will be able to see theme documentation section on my forum, feel free to contact me anytime to help you out with the design


RE: New Theme - snippsat - Oct-11-2020

(Oct-11-2020, 07:22 PM)rain Wrote: hey, i still dont have access
Try again,think i missed a setting.
(Oct-11-2020, 07:22 PM)rain Wrote: i activated your account on my forum and now you will be able to see theme documentation section on my forum, feel free to contact me anytime to help you out with the design
Thanks,i look into it.

Trying now to add SyntaxHighlighter v4 that we where happy with on old Themes.

Have you tested some code syntax highlighter on your Theme?


RE: New Theme - rain - Oct-11-2020

(Oct-11-2020, 07:56 PM)snippsat Wrote: Trying now to add SyntaxHighlighter v4 that we where happy with on old Themes.

Have you tested some code syntax highlighter on your Theme?

hey, im happy to help you, feel free to contact me on discord to have a live chat "rain#8733".

i designed a highlighter in my css codes, that allows you to highlight a specific codes "thread-highlight", you can set it up using the default mybb "MyCode".


RE: New Theme - snippsat - Oct-11-2020

(Oct-11-2020, 08:10 PM)rain Wrote: i designed a highlighter in my css codes, that allows you to highlight a specific codes "thread-highlight", you can set it up using the default mybb "MyCode".
Okay look at that later.

I just added some test in Admin part of forum.
I can post it here to:

Testing syntaxhighlighter on Light Theme.
Edit: added for Dark Theme. 

Test python tag.
 
class Foo:
    def __init__(self, frob, frotz):
        self.frobnicate = frob
        self.frotz = frotz

class Bar(Foo):
    def __init__(self, frob, frizzle):
        super().__init__(frob, frizzle)
        self.frotz = 34
        self.frazzle = frizzle

bar = Bar(1,2)
print(f"frobnicate: {bar.frobnicate}")
print(f"frotz: {bar.frotz}")
Test of output tag.
Output:
  frobnicate: 1 frotz: 34
Quote:Test of quote The quick brown fox jumps over the lazy dog.

Error:
Test of error tag.
Test inline

Code and inline syntax work,problem with output and errors tags.
Call maybe default stuff?
Have to look more into it,we load Custom Code Tags (1.1) from stranac.

Think maybe most add those tags in YourCode,then aslo fix button in Editor.
Long time since have done this so have to try some stuff.


RE: New Theme - metulburr - Oct-11-2020

Once we have a working syntax highlighter and codebox, I would agree we can then default everyone to this theme for bug testing and syncing our customizations with this theme. To be honest, i first thought i would only use this theme for mobile purposes, but i am starting to like it on desktop too.


RE: New Theme - snippsat - Oct-12-2020

Yes the point is that Light Theme will be our default Theme as soon fixed stuff code and Rin editor. 
Responsive also make sense for Desktop and these Theme will be our face outwards.
I am not doing any job on Default Theme(only Light and Dark) when finish default now will just be keep as backup.


RE: New Theme - snippsat - Oct-12-2020

@rain look at Theme Midnight on post #7,add it temporality to move some stetting's over to new Themes. 
There you see how we had tags before,code syntax highlight is no problem as it now work fine in Light and dark.

Problem is Quote(not so much as it your css setup), output, error(not good).
So could we maybe move setting from global css over to your css for this.
Or maybe there is a other way,to get similar look?