@pathscale/ui 1.1.17 → 1.1.19
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.
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.button--primary {
|
|
101
|
-
--button-bg: var(--color-
|
|
102
|
-
--button-bg-hover: color-mix(in oklab, var(--color-
|
|
103
|
-
--button-bg-pressed: color-mix(in oklab, var(--color-
|
|
104
|
-
--button-fg: var(--color-
|
|
101
|
+
--button-bg: var(--color-primary);
|
|
102
|
+
--button-bg-hover: color-mix(in oklab, var(--color-primary), #000 8%);
|
|
103
|
+
--button-bg-pressed: color-mix(in oklab, var(--color-primary), #000 12%);
|
|
104
|
+
--button-fg: var(--color-primary-content);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.button--secondary {
|
|
@@ -72,8 +72,8 @@ const GlassPanel = (props)=>{
|
|
|
72
72
|
...local.style || {}
|
|
73
73
|
};
|
|
74
74
|
if (!local.transparent) {
|
|
75
|
-
base.background = "color-mix(in srgb, var(--color-base-
|
|
76
|
-
base.border = "1px solid color-mix(in srgb, var(--color-base-content)
|
|
75
|
+
base.background = "color-mix(in srgb, var(--color-base-300) 50%, var(--color-base-200))";
|
|
76
|
+
base.border = "1px solid color-mix(in srgb, var(--color-base-content) 12%, transparent)";
|
|
77
77
|
}
|
|
78
78
|
if (local.glow) base["box-shadow"] = "inset 0 1px 0 color-mix(in srgb, var(--color-base-content) 5%, transparent)";
|
|
79
79
|
return base;
|
|
@@ -127,6 +127,7 @@ const ThemeColorPicker_ThemeColorPicker = (props)=>{
|
|
|
127
127
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__button_index_js_557db1f7__["default"], {
|
|
128
128
|
type: "button",
|
|
129
129
|
size: "sm",
|
|
130
|
+
variant: "ghost",
|
|
130
131
|
onClick: ()=>setIsOpen(!isOpen()),
|
|
131
132
|
get ["aria-label"] () {
|
|
132
133
|
return local["aria-label"] ?? "Change theme color";
|