Latest topics
» IconSkouliki Graphics
by skouliki Fri 20 Oct 2017, 05:08

» "Edit this page" feature
by skouliki Fri 20 Oct 2017, 01:37

» Dark Mode + Another Question
by Haggis Thu 19 Oct 2017, 10:36

» [GAME] Count to 1000 using even numbers Van-Helsing Edition
by Van-Helsing Tue 17 Oct 2017, 15:07

» [GAME] What are you thinking right now?
by Ace 1 Tue 17 Oct 2017, 08:09

» [GAME] Count to One Million!
by Ace 1 Tue 17 Oct 2017, 08:07

» [GAME] Last Letter Game
by Ace 1 Tue 17 Oct 2017, 08:06

» [GAME] World Snake
by Ace 1 Tue 17 Oct 2017, 08:06

» [GAME] Never have I ever..
by Ace 1 Tue 17 Oct 2017, 08:06

» [GAME] Animal Game
by universecat Mon 16 Oct 2017, 21:43

» [GAME] Post a random picture
by SLGray Mon 16 Oct 2017, 16:28

» Hi everyone!
by skouliki Mon 16 Oct 2017, 02:01

» Hai Guys~
by skouliki Mon 16 Oct 2017, 01:59

» Add a login popup for the toolbar
by Ape Sun 15 Oct 2017, 13:51

» Mobile Usability Test
by Ange Tuteur Sat 14 Oct 2017, 11:20

Recent Tutorials
Who is online?
In total there are 5 users online :: 0 Registered, 0 Hidden and 5 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

[SERIOUS REQUEST] Add KLM Flying Blue to the themes

View previous topic View next topic Go down

avatar
Guest
Guest
View all awards

PostGuest on Thu 22 Dec 2016, 16:08

I've got a real serious request here to add 'KLM Flying Blue' to the themes. Please, Google 'klm blue' or visit https://www.klm.com/home/us/en (gawd... 3,700 Euros for a round-trip to LA from Amsterdam for 2 adults and 3 kids in January Confused . Where's my magic wand to turn them into 0 year olds again? Razz ) for the shades. There are 2. A bright color of blue (#07a2de ?) (primary) and a dark blue color (#003145 ?) (secondary). The tertiary color is 'black', most likely. I don't know what formula you're using to add the color values for the JS. If I did, I could possibly add the theme to the JS myself.


Reason: Living next to Amsterdam Schiphol Airport lots of potential members work at the place. And KLM MAY BE one of our sponsors / partners, I've learned today. Which is kinda very very cool. Like... AWESOME!


Thanks for adding the KLM Flying Blue color scheme and your time.

Hello Samantha (on behalf of @Prometheus (and me)).


Last edited by Samantha on Fri 23 Dec 2016, 11:02; edited 1 time in total
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9540
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Fri 23 Dec 2016, 10:43

It can be added manually, but it requires editing the ALL.JS file on your forum. The way I create the palettes and different shades was like this :
Code:
'Danube' : [
  '#7AD', // ALL DIGITS +1
  '#69C', // BASE COLOR
  '#58B', // ALL DIGITS -1
  '#369', // ALL DIGITS -3
  '#345' // SEE BELOW
];
// 0 = 0
// 1 = 1
// 3 = 2
// 6 = 3
// 9 = 4
// C = 5
// F = 6
// USE DISCRETION FOR COLORS IN BETWEEN
( original post )

Basically I'd take a single color, then create 4 different shades by adding and subtracting digits. I used shorthand hex since it was easier to work with and took up less space. Anyway, the primary color is #69C and the secondary color is #345 -- the colors don't have to be of the same shade though. Wink

Using the colors you gave me, we could create something like this :
Code:
'KLM Blue' : ['#2BE', '#1AD', '#09C', '#07A', '#034']
( Note : I changed the hex to shorthand and rounded them to the nearest color ; you don't need to do this though, I only do it to make calculations easier )

Now that we have a palette we can add it to the theme selector. Go to Admin Panel > Modules > JS codes management > ALL.JS

Find
Code:
'Random theme' : [],
( line 78 ) and add your new palette after it. Make sure to add a comma after your palette since there will be other palettes after it. The end result should look something like this :
Code:
      'Select a theme' : [],
        'Random theme' : [],
            'KLM Blue' : ['#2BE', '#1AD', '#09C', '#07A', '#034'], // NEW THEME COLOR
              'Silver' : ['#DDD', '#CCC', '#BBB', '#999', '#555'], // hue 000
          'Dusty Gray' : ['#AAA', '#999', '#888', '#666', '#444'], // hue 000
Your new color doesn't have to be after "random theme" though, it can be anywhere. Wink
avatar
Guest
Guest
View all awards

PostGuest on Fri 23 Dec 2016, 10:49

Oh that's great! Thanks! Yeah I knew about the all.js and where it was and all I just can't figure out how you came to the shorthand codes based on what I gave you.
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9540
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Fri 23 Dec 2016, 10:59

No problem.

Shorthand hex is pretty simple to understand and use, once you know how it works. Basically #F60 in shorthand is equal to #FF6600. The first digit is red, second green, and third blue. Knowing this, it's easy to select and create colors by changing these three digits in shorthand. Wink Still, you sometimes might want to use the 6-digit notation since it allows for more exact colors. This has a pretty good explanation.
avatar
Guest
Guest
View all awards

PostGuest on Fri 23 Dec 2016, 11:00

Looks really great @Ange Tuteur! Smile

avatar
Guest
Guest
View all awards

PostGuest on Fri 23 Dec 2016, 11:06

Ange Tuteur wrote:No problem.

Shorthand hex is pretty simple to understand and use, once you know how it works. Basically #F60 in shorthand is equal to #FF6600. The first digit is red, second green, and third blue. Knowing this, it's easy to select and create colors by changing these three digits in shorthand. Wink Still, you sometimes might want to use the 6-digit notation since it allows for more exact colors. This has a pretty good explanation.

Thanks. I saved the link you gave me. I'll prolly have another look at this topic soon to try and make my own theme, so please store it somewhere safe. ty Wink

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum