Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
dark theme first look
« previous
next »
Print
Pages:
1
[
2
]
3
4
...
7
Author
Topic: dark theme first look (Read 54727 times)
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: dark theme first look
«
Reply #15 on:
January 17, 2018, 02:08:42 pm »
You can just use the plugins.git on any OPNsense..
# opnsense-code plugins
Create a new directory:
# cd /usr/plugins
# mkdir -p themes/theme-dark/src
and populate src/ with the file structure that is used in core.git, find a Makefile in another plugin, try "make upgrade" should install the plugin ok.... at the end PR and done
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: dark theme first look
«
Reply #16 on:
January 17, 2018, 03:15:51 pm »
Took me a while to find out I needed to cd to the new directory... THEN the make worked.
OK, it works, now what, post it here or ...?
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: dark theme first look
«
Reply #17 on:
January 17, 2018, 03:35:52 pm »
Post GitHub branch URL or do a PR against plugins.git for inclusion.
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: dark theme first look
«
Reply #18 on:
January 17, 2018, 03:36:41 pm »
OK..
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: dark theme first look
«
Reply #19 on:
January 17, 2018, 03:55:35 pm »
PR posted.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
NilsS
Full Member
Posts: 176
Karma: 19
Re: dark theme first look
«
Reply #20 on:
January 17, 2018, 03:57:26 pm »
can‘t you use !important in css to overwrite the color attributes?
Nice work btw.
«
Last Edit: January 17, 2018, 04:06:03 pm by NilsS
»
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: dark theme first look
«
Reply #21 on:
January 17, 2018, 04:08:04 pm »
No, for example the widget issue the colours are defined within the widget php file, I cannot change them using the *.css.
The problem with the pie charts and other objects that use nv.d3 is there is a css file for those, but it lies outside the themes folder that's also the same issue with jquery.tokenize.css.
However, if you know how of a way to do it I'm always open to learning new tricks. Until last week I'd never touched a css file!
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: dark theme first look
«
Reply #22 on:
January 17, 2018, 04:12:59 pm »
No magic please, since is the first theme that is not branding colours only it will force cleanups for the benefit of future themes and lean styling everywhere.
I added minor review comments. So far so good.
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: dark theme first look
«
Reply #23 on:
January 18, 2018, 12:02:50 pm »
The first development version has been merged.
If anyone wants to try:
# opnsense-code plugins
# cd /usr/plugins/misc/theme-rebellion
# make upgrade
Go to System: Settings: General, select "rebellion" and save.
Cheers,
Franco
Modify message
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: dark theme first look
«
Reply #24 on:
January 18, 2018, 12:42:57 pm »
Tried it, and like it. But I have three comments:
1: In the screenshot you can kinda see I have my mouse cursor in the CPU graph.
The balloon is very dark, but perhaps that is not a problem when it actually shows the percentage ;-)
Looks like that text is still in black and therefore barely visible?
2: I have a feeling that the lines separating the lighter en darker coloured bars is unnecessary in the dark theme.
If you look on the left side, the menu doesn't have the lines either, and that looks much more calm to the eyes.
In my opinion of course.
I would like to see a version that doesn't have those lines.
3: Not too fond on the blue buttons. I can understand the green, and red if not running, but perhaps in style with the OPNsense logo, that orange colour would suite better?
It's not bright, so I don't think it will distract too much.
Other then that, I love it.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: dark theme first look
«
Reply #25 on:
January 18, 2018, 05:51:10 pm »
Thanks weust.
I know about the cpu graph, it's one of the issues I posted about in an earlier message and Franco does not wan't me attempting to overwrite stuff that's not part of the theme.
I quite liked the blue buttons
, but as we move forward with it perhaps we can have different variations.
It's a first shot, there are a couple of other dodgy colours, but we need to resolve getting all of the other scripts to follow the css AND/or get the dv css to follow or get it moved to the themes folder.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
weust
Hero Member
Posts: 650
Karma: 57
Re: dark theme first look
«
Reply #26 on:
January 18, 2018, 08:14:21 pm »
Hmm, so we need to kick Franco harder then ;-)
Variations is nice, but I think it would be a bad thing to have too many variations.
I mean, it's a firewall after all...
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: dark theme first look
«
Reply #27 on:
January 18, 2018, 08:44:07 pm »
YOU can kick Franco if you wish, getting a stable 18.1 delivered is more important than the theme at the moment, but it allows him to find out where there are issues.
You'll find many of the issues will be gone once the CSS files are all in the same place. We've just found another bunch that are related to a CSS file that's not in the themes folder.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
weust
Hero Member
Posts: 650
Karma: 57
Re: dark theme first look
«
Reply #28 on:
January 18, 2018, 10:25:13 pm »
hehe I will
But 18.1 out is indeed more important then fancy colours.
fun...
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: dark theme first look
«
Reply #29 on:
January 18, 2018, 10:42:27 pm »
I've just posted a new PR when Franco has time to pull it. It fixes the help text plus a couple of other slight colour changes.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
Print
Pages:
1
[
2
]
3
4
...
7
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
dark theme first look