@wordpress/base-styles 6.12.1-next.8b30e05b0.0 → 6.12.1-next.8fd3f8831.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/_mixins.scss
CHANGED
|
@@ -681,3 +681,20 @@
|
|
|
681
681
|
left: 0;
|
|
682
682
|
@include selected-block-outline($widthRatio);
|
|
683
683
|
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Creates a checkerboard pattern background to indicate transparency.
|
|
687
|
+
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
688
|
+
*/
|
|
689
|
+
@mixin checkerboard-background($size: 12px) {
|
|
690
|
+
// The background image creates a checkerboard pattern. Ignore rtlcss to
|
|
691
|
+
// make it work both in LTR and RTL.
|
|
692
|
+
// See https://github.com/WordPress/gutenberg/pull/42510
|
|
693
|
+
/*rtl:begin:ignore*/
|
|
694
|
+
background-image:
|
|
695
|
+
repeating-linear-gradient(45deg, colors.$gray-200 25%, transparent 25%, transparent 75%, colors.$gray-200 75%, colors.$gray-200),
|
|
696
|
+
repeating-linear-gradient(45deg, colors.$gray-200 25%, transparent 25%, transparent 75%, colors.$gray-200 75%, colors.$gray-200);
|
|
697
|
+
background-position: 0 0, $size $size;
|
|
698
|
+
/*rtl:end:ignore*/
|
|
699
|
+
background-size: calc(2 * $size) calc(2 * $size);
|
|
700
|
+
}
|
|
@@ -83,6 +83,10 @@
|
|
|
83
83
|
/**
|
|
84
84
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
85
85
|
*/
|
|
86
|
+
/**
|
|
87
|
+
* Creates a checkerboard pattern background to indicate transparency.
|
|
88
|
+
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
89
|
+
*/
|
|
86
90
|
body.admin-color-light {
|
|
87
91
|
--wp-admin-theme-color: #0085ba;
|
|
88
92
|
--wp-admin-theme-color--rgb: 0, 133, 186;
|
|
@@ -83,6 +83,10 @@
|
|
|
83
83
|
/**
|
|
84
84
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
85
85
|
*/
|
|
86
|
+
/**
|
|
87
|
+
* Creates a checkerboard pattern background to indicate transparency.
|
|
88
|
+
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
89
|
+
*/
|
|
86
90
|
body.admin-color-light {
|
|
87
91
|
--wp-admin-theme-color: #0085ba;
|
|
88
92
|
--wp-admin-theme-color--rgb: 0, 133, 186;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "6.12.1-next.
|
|
3
|
+
"version": "6.12.1-next.8fd3f8831.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",
|
|
@@ -24,8 +24,26 @@
|
|
|
24
24
|
"node": ">=18.12.0",
|
|
25
25
|
"npm": ">=8.19.2"
|
|
26
26
|
},
|
|
27
|
+
"main": "index.js",
|
|
28
|
+
"module": "index.js",
|
|
29
|
+
"exports": {
|
|
30
|
+
"./package.json": "./package.json",
|
|
31
|
+
"./build-style/": "./build-style/",
|
|
32
|
+
"./_*.scss": "./_*.scss",
|
|
33
|
+
"./animations": "./_animations.scss",
|
|
34
|
+
"./breakpoints": "./_breakpoints.scss",
|
|
35
|
+
"./colors": "./_colors.scss",
|
|
36
|
+
"./colors.native": "./_colors.native.scss",
|
|
37
|
+
"./default-custom-properties": "./_default-custom-properties.scss",
|
|
38
|
+
"./functions": "./_functions.scss",
|
|
39
|
+
"./long-content-fade": "./_long-content-fade.scss",
|
|
40
|
+
"./mixins": "./_mixins.scss",
|
|
41
|
+
"./variables": "./_variables.scss",
|
|
42
|
+
"./z-index": "./_z-index.scss"
|
|
43
|
+
},
|
|
44
|
+
"wpScript": true,
|
|
27
45
|
"publishConfig": {
|
|
28
46
|
"access": "public"
|
|
29
47
|
},
|
|
30
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "e582b351bc4c4b8734bb087f63a3beec9875c3c7"
|
|
31
49
|
}
|