Comments (4)
Hey @bradley2083 that’s actually intentional — as that color’s value depends on the post’s accent color. For example, if you choose the purple color for that post, then any blocks using the “Accent” color would be painted that purple. And if you used the blue accent color on the post, that same block’s color would automatically change to blue.
Does that clear it up?
from wabi.
@richtabor Thanks for the reply. I understand the function of the accent color I guess I was just thinking the display text should show the hex to stay consistent with the other options. But maybe you're doing that so people know to use the var(--custom--color--accent) in the stylesheet should they want to add styles with that color.
from wabi.
But maybe you're doing that so people know to use the var(--custom--color--accent) in the stylesheet should they want to add styles with that color.
The value of that color picker is the CSS property — it's not a hex value. That accent color is set by which color you've selected to display as the post's accent color here:
You wouldn't need to modify the CSS selector here, but rather edit/choose an accent color.
Hope this is clearer :)
from wabi.
I get what you're saying. My original ticket was just saying that I thought the hex for the accent color should be displayed when you choose it (like in my screenshot) rather than "var(--wp--custom--color--accent)" - I think that makes sense to a developer but if it's a normal user of the theme, it seems like that would be confusing to them since the other default colors show the hex rather than "var(--wp--preset--color--primary)" etc.
from wabi.
Related Issues (11)
- 404 error on font file HOT 1
- Duplicate comments in functions.php
- Missing vertical space above tables HOT 4
- Alignwide doesn't work in posts
- header-w-button pattern: navigation block attributes - unwanted } for layout HOT 2
- Feature: Accent color customization HOT 1
- Accent colors preview missing in settings HOT 2
- Cannot change Social Media icons in Header HOT 1
- I don’t understand what I’m doing wrong with the template HOT 2
- Displaying the title of pages in the administrative part of the site when using the page template Without Title
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wabi.