@pallasoft/ps-core-components 2.44.0 → 2.44.1
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.
|
@@ -9,15 +9,15 @@ exports.PsButtonSizeClassNames = {
|
|
|
9
9
|
};
|
|
10
10
|
exports.PsButtonVariantClassNames = {
|
|
11
11
|
danger: 'border-danger bg-danger text-white enabled:hover:opacity-90',
|
|
12
|
-
ghost: 'ps-
|
|
12
|
+
ghost: 'ps-control-surface text-ink enabled:hover:border-primary/40',
|
|
13
13
|
primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] enabled:hover:border-primary-dark enabled:hover:bg-primary-dark',
|
|
14
|
-
secondary: 'ps-
|
|
15
|
-
surface: 'ps-
|
|
14
|
+
secondary: 'ps-control-surface text-ink enabled:hover:border-primary/40 enabled:hover:text-primary dark:enabled:hover:text-white',
|
|
15
|
+
surface: 'ps-control-surface text-ink enabled:hover:border-primary/40',
|
|
16
16
|
};
|
|
17
17
|
exports.PsLinkButtonVariantClassNames = {
|
|
18
18
|
danger: 'border-danger bg-danger text-white hover:opacity-90',
|
|
19
|
-
ghost: 'ps-
|
|
19
|
+
ghost: 'ps-control-surface text-ink hover:border-primary/40',
|
|
20
20
|
primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] hover:border-primary-dark hover:bg-primary-dark',
|
|
21
|
-
secondary: 'ps-
|
|
22
|
-
surface: 'ps-
|
|
21
|
+
secondary: 'ps-control-surface text-ink hover:border-primary/40 hover:text-primary dark:hover:text-white',
|
|
22
|
+
surface: 'ps-control-surface text-ink hover:border-primary/40',
|
|
23
23
|
};
|
|
@@ -6,15 +6,15 @@ export const PsButtonSizeClassNames = {
|
|
|
6
6
|
};
|
|
7
7
|
export const PsButtonVariantClassNames = {
|
|
8
8
|
danger: 'border-danger bg-danger text-white enabled:hover:opacity-90',
|
|
9
|
-
ghost: 'ps-
|
|
9
|
+
ghost: 'ps-control-surface text-ink enabled:hover:border-primary/40',
|
|
10
10
|
primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] enabled:hover:border-primary-dark enabled:hover:bg-primary-dark',
|
|
11
|
-
secondary: 'ps-
|
|
12
|
-
surface: 'ps-
|
|
11
|
+
secondary: 'ps-control-surface text-ink enabled:hover:border-primary/40 enabled:hover:text-primary dark:enabled:hover:text-white',
|
|
12
|
+
surface: 'ps-control-surface text-ink enabled:hover:border-primary/40',
|
|
13
13
|
};
|
|
14
14
|
export const PsLinkButtonVariantClassNames = {
|
|
15
15
|
danger: 'border-danger bg-danger text-white hover:opacity-90',
|
|
16
|
-
ghost: 'ps-
|
|
16
|
+
ghost: 'ps-control-surface text-ink hover:border-primary/40',
|
|
17
17
|
primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] hover:border-primary-dark hover:bg-primary-dark',
|
|
18
|
-
secondary: 'ps-
|
|
19
|
-
surface: 'ps-
|
|
18
|
+
secondary: 'ps-control-surface text-ink hover:border-primary/40 hover:text-primary dark:hover:text-white',
|
|
19
|
+
surface: 'ps-control-surface text-ink hover:border-primary/40',
|
|
20
20
|
};
|