WordPress / twentytwentyfive

152 stars 105 forks source link

Dusk: Site title is colored #604

Closed juanfra closed 2 days ago

juanfra commented 3 weeks ago

Description The site title for Dusk is purple, but in the design, it's not colored.

Step-by-step reproduction instructions

  1. Activate the dusk variation.
  2. Check the site title color, and confirm it's not like in the designs.

Expected behavior

The expectation would be to match the designs.

Screenshots

Image

troychaplin commented 3 weeks ago

Just looking at this, I though removing the color references for site-title and the link element in styles/03-dusl.json would do the trick but it appears to not be the fix.

"core/site-title": {
    "color": {
        "text": "var:preset|color|accent-3"
    },
    "typography": {
        "fontFamily": "var:preset|font-family|vollkorn",
        "fontSize": "var:preset|font-size|x-large"
    },
    "elements": {
        "link": {
            "color": {
                "text": "var:preset|color|accent-3"
            }
        }
    }
}
juanfra commented 3 weeks ago

@troychaplin thank you for looking at this! That should be in combination with changes in styles/colors/03-dusk.json

troychaplin commented 3 weeks ago

@juanfra turns out it was an element style for links on the paragraph block