Problem/Motivation

These changes are coming from the feedback that we've received from the patch submission that we've made on 9/23/2020.

  1. +++ b/core/themes/olivero/css/components/footer.pcss.css
    @@ -0,0 +1,42 @@
    +.site-footer {
    ...
    +  .menu {
    

    Should we create new component for the footer menu instead of allowing placing any menu in the footer?

  2. +++ b/core/themes/olivero/css/components/footer.pcss.css
    @@ -0,0 +1,42 @@
    +  /* @todo - #0c0d0e and #171e23 aren't currently variables */
    

    Let's create issue for this @todo and reference it here.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

proeung created an issue. See original summary.

proeung’s picture

Issue summary: View changes
mherchel’s picture

Title: [Code Review] footer.pcss.css - class clean up and add #0c0d0e and #171e23 as variables » Class clean up and add #0c0d0e and #171e23 as variables in Olivero's footer.pcss.css
Project: Olivero » Drupal core
Version: 8.x-1.x-dev » 9.1.x-dev
Component: Code » Olivero theme
kostyashupenko’s picture

kostyashupenko’s picture

About 2nd point.. I'm thinking maybe better to add it to existing issue https://www.drupal.org/project/drupal/issues/3129291 ? Since.. not clear right now how we can add 2 new variables without overriding others.

See here:

 --color--black: #000; /* Black */
  --color--gray-0: #0d1214; /* Black 1 */
  --color--gray-10: #313637; /* Black 2 */

These colours we have right now. But new color #0c0d0e which we have to move to variable - is darker than our current Black 1. So.. It smells like global issue with namings.

Any thoughts?

kostyashupenko’s picture

These variable namings needs more standardisation

starshaped’s picture

Version: 9.1.x-dev » 9.3.x-dev
Status: Active » Needs review
StatusFileSize
new1.21 KB

I went ahead and implemented the changes as requested in issue #2 above. kostayshupenko is correct in that there's an issue with the color naming -- #0c0d0e is darker than what we have set for the variable --color--gray-0. I ended up just adding #0c0d0e below --color--gray-0 as I see that this has been done with --color-blue-30 and --color-blue-50. Let me know if this works for now.

gauravvvv’s picture

StatusFileSize
new1.69 KB
new493 bytes

Re-rolled Patch #7, I think you forgot to compile postcss to CSS. Attached interdiff as well.

sakthivel m’s picture

StatusFileSize
new407.82 KB

Applied patch #8 Successfully and working as expected .Screenshot for the reference.

Moving to RTBC

sakthivel m’s picture

Status: Needs review » Reviewed & tested by the community
mherchel’s picture

RTBC +1.

Patch is still good!

  • lauriii committed 45515db on 9.3.x
    Issue #3173010 by Gauravmahlawat, starshaped: Class clean up and add #...

  • lauriii committed 9c182fa on 9.2.x
    Issue #3173010 by Gauravmahlawat, starshaped: Class clean up and add #...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Committed 45515db and pushed to 9.3.x. Also cherry-picked to 9.2.x because Olivero is experimental. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.