Closed honkmaster closed 12 years ago
This seems to be a little bit tricky since Stud.IP does not have a set of default colors (or at least it's absolutely not obvious).
If you provide me the current default colors of the app, I can integrate them into an according route.
Problem left to untangle:
Colours in Hex: ColorDarkBlue 34578c ColorLightBlue 899ab9 ColorBackground e1e4e9
I would give the user a gui-element to set these values.
I will build the new route asap. Is /studip/colors fine with you?
The problem with the gui element is that it would be part of the plugin (for now) but it definitely belongs to a different part of Stud.IP although I can't really tell which one. I guess there just is no layout-related settings page. But you'd never expect such a page in a plugin context. But that's nothing you have to worry about. I'll find a place to put these settings. :)
And should the API return the colors with or without the hash sign? I'd prefer the version with the hash included but that's up to you...
Can you ask Cornelis where to put something like this? Or ask in the developer boards in our channel for mobile stud.Ip?
I dont care about the hash. I can parse it in the way i like;)...inside the app i am using a function like [UIColor colorWithHex:#abcdef]....
I will use your thread to post my question. Maybe someone will come up with a good location but in the end I think there is no suitable location for something like this yet.
But I guess with the recent integration of LESS and the general wish for a theming engine, this might be a good start for some layout-oriented changes.
It should be possible to get the colorscheme of an installation. Currently an prototype is developed which can be configured with two base colors (standard:light and darkblue) and one backgroundcolor (standard:gray). This route can help to easily adapt the app to different installations of stud.ip. And also the known color scheme gives the user an warm feeling because he feels at home ;)....