@wordpress/base-styles 6.16.1-next.v.202602271551.0 → 6.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/_mixins.scss +17 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/_mixins.scss
CHANGED
|
@@ -667,6 +667,23 @@
|
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
+
@mixin inserter-toggle() {
|
|
671
|
+
// Basic look
|
|
672
|
+
background: colors.$gray-900;
|
|
673
|
+
color: colors.$white;
|
|
674
|
+
padding: 0;
|
|
675
|
+
|
|
676
|
+
// TODO: Consider passing size="small" to the Inserter toggle instead.
|
|
677
|
+
// Special dimensions for this button.
|
|
678
|
+
min-width: variables.$button-size-small;
|
|
679
|
+
height: variables.$button-size-small;
|
|
680
|
+
|
|
681
|
+
&:hover {
|
|
682
|
+
color: colors.$white;
|
|
683
|
+
background: var(--wp-admin-theme-color);
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
670
687
|
@mixin selected-block-outline($widthRatio: 1) {
|
|
671
688
|
outline-color: var(--wp-admin-theme-color);
|
|
672
689
|
outline-style: solid;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.17.0",
|
|
4
4
|
"description": "Base SCSS utilities and variables for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8bfc179b9aed74c0a6dd6e8edf7a49e40e4f87cc"
|
|
49
49
|
}
|