Comments (1)
With Dark Mode enabled and a light body background that is not the default is selected, I see the following in the editor:
.is-dark-theme.is-dark-theme .editor-styles-wrapper {
--global--color-background: var(--global--color-dark-gray);
--global--color-primary: var(--global--color-light-gray);
--global--color-secondary: var(--global--color-light-gray);
}
:root .editor-styles-wrapper {
--global--color-background: #e4d1d1;
--global--color-primary: #000;
--global--color-secondary: #000;
--button--color-background: #000;
--button--color-text-hover: #000;
}
With Dark Mode enabled and the default body background is kept, I see the following in the editor:
.is-dark-theme.is-dark-theme .editor-styles-wrapper {
--global--color-background: var(--global--color-dark-gray);
--global--color-primary: var(--global--color-light-gray);
--global--color-secondary: var(--global--color-light-gray);
}
With Dark Mode disabled and dark body background selected in the customizer, I see the following in the editor:
:root .editor-styles-wrapper {
--global--color-background: #000000;
--global--color-primary: #fff;
--global--color-secondary: #fff;
--button--color-background: #fff;
--button--color-text-hover: #fff;
--table--stripes-border-color: var(--global--color-dark-gray);
--table--stripes-background-color: var(--global--color-dark-gray);
}
In all 3 scenarios listed above, the class is-dark-theme
is added both to the body and the div with the block-editor__typewriter
class.
from twentytwentyone.
Related Issues (20)
- Some elements arenβt visible on focus when the body background color is set to white HOT 3
- Spacing issue inside the editor HOT 1
- Impossible to display a button on dark background as the colors are overridden by the theme on hover HOT 2
- Post pagination current item style
- With an off-white page background, text focus styles are hard to see HOT 3
- Display captions below featured images HOT 1
- Bug: Cursor is not visible when inserting a new button. HOT 5
- Delete sass/02-tools/extends.scss
- Changing image block size does not change caption placement. HOT 2
- The scroll bar of the right sidebar is appearing and dissipating when the height of a browser window between 775-787 px HOT 2
- Task: Report issues with Gutenberg or trac labels upstream HOT 2
- Use :focus-visible instead of :focus to remove undesirable focus styles for mouse clicking HOT 2
- Submenu toggle is too close to the menu item text
- JavaScript error when the responsive menu is toggled
- Buttons placed in a block that has the grey palette color as background are sometimes invisible HOT 4
- Bug: gradient presets shows linear input selections when radial is selected
- The embed figcaption is the wrong text color
- Search block: When the button is inside, the input field has no visible focus indicator
- NEW ISSUES SHOULD BE CREATED ON TRAC
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 twentytwentyone.