Question about theme styling
-
I had a question about potential repercussions concerning how block themes and theme.json handle CSS. I’d really like to move to Twenty-Twenty-Three, but I’m concerned that the styling no longer comes from an external stylesheet. From what?I can tell, all the CSS that is generated?(through theme.json and the settings selected in the site editor UI)?are handled using inline styling or internal styling, and at times !important is added to the generated CSS. As a designer, I have a strong focus on creating sites that are?as?accessible as possible, and I know that some website visitors need to be able to override a website’s styles with their own custom style sheet. This leads me to wonder if block themes might create an issue around a website visitor’s ability to override the styles set.?I may be confused or misinformed and it may not be an issue at all (which I really hope is the case!),?but I thought I’d ask. ??
I also wonder – is there a problem with adding a lot of CSS through either the external stylesheet or in the ‘Additional CSS’ option in the site editor? I understand WordPress is encouraging people not to rely heavily on adding CSS and instead to make style changes in the site editor or theme.json, but is there some sort of technical issue that would result if I styled Twenty-Twenty-Three in an external stylesheet??
Thank you so much!???
- The topic ‘Question about theme styling’ is closed to new replies.