FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 27 users online :: 0 Registered, 0 Hidden and 27 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

[SERIOUS REQUEST] Add KLM Flying Blue to the themes

View previous topic View next topic Go down

Anonymous
Guest
Guest

PostGuest 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
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur 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
Anonymous
Guest
Guest

PostGuest 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.
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur 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.
Anonymous
Guest
Guest

PostGuest Fri 23 Dec 2016, 11:00

Looks really great @Ange Tuteur! Smile

[SERIOUS REQUEST] Add KLM Flying Blue to the themes F7324e8481b8479787b633fd8987f875
Anonymous
Guest
Guest

PostGuest 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
Sponsored content

PostSponsored content

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