Skip to content

Commit

Permalink
Theme: Set color on wrapper (#58095)
Browse files Browse the repository at this point in the history
* Theme: Set `color` on wrapper

* Update changelog
  • Loading branch information
mirka authored Jan 23, 2024
1 parent c9ce514 commit 982a517
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

- `BoxControl`: Update design ([#56665](https://github.com/WordPress/gutenberg/pull/56665)).
- `CustomSelect`: adjust `renderSelectedValue` to fix sizing ([#57865](https://github.com/WordPress/gutenberg/pull/57865)).
- `Theme`: Set `color` on wrapper div ([#58095](https://github.com/WordPress/gutenberg/pull/58095)).

## 25.15.0 (2024-01-10)

Expand Down
4 changes: 3 additions & 1 deletion packages/components/src/theme/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ export const colorVariables = ( { colors }: ThemeOutputValues ) => {
];
};

export const Wrapper = styled.div``;
export const Wrapper = styled.div`
color: var( --wp-components-color-foreground, currentColor );
`;

1 comment on commit 982a517

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 982a517.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7630311343
📝 Reported issues:

Please sign in to comment.