[6.0] Remove template special color#42017
Open
wilsonge wants to merge 5 commits intojoomla:6.0-devfrom
Open
Conversation
Quy
reviewed
Oct 2, 2023
|
Have tested this successfully. |
Member
|
@wilsonge deprecation is at least needed in the manual. is it critical to remove it in 5.0 or 5.x? |
rdeutz
reviewed
Oct 18, 2023
build/media_source/templates/site/cassiopeia/scss/tools/variables/_variables.scss
Show resolved
Hide resolved
4 tasks
Contributor
Member
|
This pull request has been automatically rebased to 5.2-dev. |
Member
|
@wilsonge could you update the PR to solve the conflicts? |
Member
|
@wilsonge Any news about this one? |
Contributor
|
I have solved ther conflicts this needs to be tested |
Contributor
|
Tested, btn-secondary resolved to same colour before and after patch. Special color gone from Atum options. No 'result selection' options in https://issues.joomla.org/tracker/joomla-cms/42017 |
QuyTon
reviewed
Feb 5, 2025
|
|
||
| INSERT INTO `#__template_styles` (`id`, `template`, `client_id`, `home`, `title`, `inheritable`, `parent`, `params`) VALUES | ||
| (10, 'atum', 1, '1', 'Atum - Default', 1, '', '{"hue":"hsl(214, 63%, 20%)","bg-light":"#f0f4fb","text-dark":"#495057","text-light":"#ffffff","link-color":"#2a69b8","special-color":"#001b4c","colorScheme":"os","monochrome":"0","loginLogo":"","loginLogoAlt":"","logoBrandLarge":"","logoBrandLargeAlt":"","logoBrandSmall":"","logoBrandSmallAlt":""}'), | ||
| (10, 'atum', 1, '1', 'Atum - Default', 1, '', '{"hue":"hsl(214, 63%, 20%)","bg-light":"#f0f4fb","text-dark":"#495057","text-light":"#ffffff","link-color":"#2a69b8","monochrome":"0","loginLogo":"","loginLogoAlt":"","logoBrandLarge":"","logoBrandLargeAlt":"","logoBrandSmall":"","logoBrandSmallAlt":""}'), |
Contributor
There was a problem hiding this comment.
Revert removing "colorScheme":"os"?
Contributor
|
@wilsonge Can you please have a look at this and see if it's still relevant |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary of Changes
Removes the template special color from core. The only potential place this is used is in toolbar secondary buttons. As far as I can tell no core extensions actually use this. But there is a chance third parties do. We now revert back to using the default bootstrap secondary color in this case.
This is a b/c break if other people are using this CSS Var. However I can't see any obvious way for us to actually deprecate CSS variables.
Testing Instructions
Change the class of an existing button from btn-*** (success/error/action) etc. to btn-secondary.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed