Default color "coral"? - prosilver French edition
Default color "coral"?
Hello Sir Cabot,
Is it possible to change default color to "coral"?
Thank you as always, Cabot!!
Is it possible to change default color to "coral"?
Thank you as always, Cabot!!
-
- Registered User
- Posts: 82
- Joined: Wed Aug 17, 2005 4:06 pm
Re: Default color "coral"?
Hello,
In custom_prosilver_fr.css, find :
Replace with:
In custom_prosilver_fr.css, find :
Code: Select all
--color01: #1e90ff;
Code: Select all
--color01: coral;
-
- Registered User
- Posts: 799
- Joined: Sat Jan 07, 2012 4:16 pm
Re: Default color "coral"?
Hi Cabot,
Doesn't appear to be working. I did do the delete cache on browser and even on phpBB.
It is still falling back to #1e90ff.
Doesn't appear to be working. I did do the delete cache on browser and even on phpBB.
It is still falling back to #1e90ff.
Code: Select all
/*
Force dark theme
*/
html,
[data-theme=light] {
--color01: coral;
--color02: #222;
--color03: #333;
--color04: #444;
--color05: #555;
--color06: #666;
--color07: #6b6b6b;
--color08: #7b7b7b;
--color09: #d31141;
--color10: #6a1b2e;
--color11: #fff;
--color12: #ccc;
--color13: #ddd;
--color14: #000;
--color15: #fff;
--contact-icon: var(--dark-contact-icon);
--online: var(--dark-online);
--offline: var(--dark-offine);
color-scheme: dark;
}
-
- Registered User
- Posts: 82
- Joined: Wed Aug 17, 2005 4:06 pm
Re: Default color "coral"?
Two things:
- You didn't undo this change as I suggested in this message.
It needs to be undone (or restore the original file) because by forcing the dark theme with the data attribute, colors declared in the original CSS file takes precedence. You no longer need to modify the HTML to add this attribute: the extension's CSS declarations allow the dark theme to be displayed.
As a reminder:cabot wrote:You can now put the two unmodified original styles back, the extension will do the job and you won't have to worry about updates. - It seems that the modification in the extension's custom_prosilver_fr.css file on your board has not been made.
-
- Registered User
- Posts: 799
- Joined: Sat Jan 07, 2012 4:16 pm
Re: Default color "coral"?
Did what you originally asked me to do, working as expected now!!cabot wrote:Two things:
- You didn't undo this change as I suggested in this message.
It needs to be undone (or restore the original file) because by forcing the dark theme with the data attribute, colors declared in the original CSS file takes precedence. You no longer need to modify the HTML to add this attribute: the extension's CSS declarations allow the dark theme to be displayed.
As a reminder:cabot wrote:You can now put the two unmodified original styles back, the extension will do the job and you won't have to worry about updates.- It seems that the modification in the extension's custom_prosilver_fr.css file on your board has not been made.
Thank you Cabot!!
All I need now is the first real visitor to Register on the forum.
I feel like I'm all dressed up in a tuxedo, with no date for the dance!
-
- Registered User
- Posts: 82
- Joined: Wed Aug 17, 2005 4:06 pm
Re: Default color "coral"?
Don't expect people to come on their own. You need to advertise your forum on social networks and encourage people to come. You also need content to attract them and encourage them to participate.
I wish you all the best for the future of your board!
I wish you all the best for the future of your board!
-
- Registered User
- Posts: 799
- Joined: Sat Jan 07, 2012 4:16 pm
Re: Default color "coral"?
Thank you for your kind words, Cabot, I appreciate them!!cabot wrote:Don't expect people to come on their own. You need to advertise your forum on social networks and encourage people to come. You also need content to attract them and encourage them to participate.
I wish you all the best for the future of your board!
-
- Registered User
- Posts: 82
- Joined: Wed Aug 17, 2005 4:06 pm
Re: Default color "coral"?
Got a bit confused here...
I have used the Proflat Dark Side and personal theme from the French website which seems easier to modify.
My forum wad (obviously) dark and a lime green text.
I have now installed Prosilver French Edition.
I also wanted the default setting for visitors to be dark theme and used the fix suggested in the overall header:
A couple of questions...
If I undo the overall header file changes, how/where to I force dark theme to be default?
If I swap the colours around - blue (color01) to lime green in the css file, does this affect the mouse over text pop up displaying the colour names in the palette selection?
This stuff would be nice as an FAQ topic.
Thanks
Andy
I have used the Proflat Dark Side and personal theme from the French website which seems easier to modify.
My forum wad (obviously) dark and a lime green text.
I have now installed Prosilver French Edition.
I also wanted the default setting for visitors to be dark theme and used the fix suggested in the overall header:
If I want to change the default text colour (color01) in the css file In custom_prosilver_fr.css, then I have to undo the changes in the overall header?Simply add data-theme="dark" to the <html> tag in overall_header.html
A couple of questions...
If I undo the overall header file changes, how/where to I force dark theme to be default?
If I swap the colours around - blue (color01) to lime green in the css file, does this affect the mouse over text pop up displaying the colour names in the palette selection?
This stuff would be nice as an FAQ topic.
Thanks
Andy
-
- Registered User
- Posts: 128
- Joined: Fri Nov 09, 2018 2:03 pm
- Location: Uk and sometimes Japan
- Name: andy duggan
Re: Default color "coral"?
Hello,
If you want to display "LimeGreen" as the default text colour, simply add data-color="LimeGreen" to the
If you want to display "LimeGreen" as the default text colour, simply add data-color="LimeGreen" to the
<html>
tag, in the same way as for data-theme. Code: Select all
<html dir="{{ S_CONTENT_DIRECTION }}" lang="{{ S_USER_LANG }}" data-theme="dark" data-color="LimeGreen">
-
- Registered User
- Posts: 799
- Joined: Sat Jan 07, 2012 4:16 pm
Re: Default color "coral"?
That works perfectly... thanks for the fix and a reply Sunday lunchtime!
Andy
Andy
-
- Registered User
- Posts: 128
- Joined: Fri Nov 09, 2018 2:03 pm
- Location: Uk and sometimes Japan
- Name: andy duggan
Re: Default color "coral"?
You can find the list of available colours in the
You can even add or remove items from the list!
config.html
file.You can even add or remove items from the list!
Code: Select all
{% DEFINE COLORS = ['Crimson', 'PaleVioletRed', 'MediumOrchid', 'BlueViolet', 'SlateBlue', 'RoyalBlue', 'DodgerBlue', 'DarkTurquoise', 'DarkCyan', 'LimeGreen', 'YellowGreen', 'Gold', 'Orange', 'Coral', 'Gray'] %}
-
- Registered User
- Posts: 799
- Joined: Sat Jan 07, 2012 4:16 pm