Skip to content

Commit

Permalink
Generate built CSS file containing the admin color theme CSS custom p…
Browse files Browse the repository at this point in the history
…roperties (#69128)

Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: karmatosed <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
5 people authored Feb 17, 2025
1 parent ce2a651 commit bdef8a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/base-styles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ To make that work with [`sass`](https://www.npmjs.com/package/sass) or [`node-sa
}
```

### CSS Admin Themes

The package also includes a built version of the output generated by the `wordpress-admin-schemes()` mixin which can be used directly in your project. The CSS file is located at `node_modules/@wordpress/base-styles/build-style/admin-schemes.css`.

## Contributing to this package

This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to [npm](https://www.npmjs.com/) and used by [WordPress](https://make.wordpress.org/core/) as well as other software projects.
Expand Down
1 change: 1 addition & 0 deletions packages/base-styles/src/admin-schemes.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@include wordpress-admin-schemes();

0 comments on commit bdef8a7

Please sign in to comment.