@shoplflow/base 0.42.11 → 0.42.13
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/dist/index.cjs +3 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2327,9 +2327,11 @@ exports.CheckboxStyleVariants = {
|
|
|
2327
2327
|
LINE: "LINE"
|
|
2328
2328
|
};
|
|
2329
2329
|
var getSelectedStyle = (isHovered) => {
|
|
2330
|
+
const domain = exports.getDomain();
|
|
2331
|
+
const selectedStrokeColor = domain === "hada" ? exports.colorTokens.neutral700 : exports.colorTokens.primary300;
|
|
2330
2332
|
return react$1.css`
|
|
2331
2333
|
& > svg > circle {
|
|
2332
|
-
stroke: ${
|
|
2334
|
+
stroke: ${selectedStrokeColor};
|
|
2333
2335
|
}
|
|
2334
2336
|
${isHovered && react$1.css`
|
|
2335
2337
|
& > svg > circle {
|
package/dist/index.js
CHANGED
|
@@ -2300,9 +2300,11 @@ var CheckboxStyleVariants = {
|
|
|
2300
2300
|
LINE: "LINE"
|
|
2301
2301
|
};
|
|
2302
2302
|
var getSelectedStyle = (isHovered) => {
|
|
2303
|
+
const domain = getDomain();
|
|
2304
|
+
const selectedStrokeColor = domain === "hada" ? colorTokens.neutral700 : colorTokens.primary300;
|
|
2303
2305
|
return css`
|
|
2304
2306
|
& > svg > circle {
|
|
2305
|
-
stroke: ${
|
|
2307
|
+
stroke: ${selectedStrokeColor};
|
|
2306
2308
|
}
|
|
2307
2309
|
${isHovered && css`
|
|
2308
2310
|
& > svg > circle {
|