@redis-ui/styles 21.23.0 → 21.24.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/dist/index.js +21 -17
- package/dist/index.umd.cjs +2 -2
- package/dist/themes/themeDark/theme/components/codeBlock.js +4 -3
- package/dist/themes/themeDarkNext/theme/components/codeBlock.js +6 -5
- package/dist/themes/themeDarkNext/theme/components/copyToClipboardButton.js +3 -3
- package/dist/themes/themeLight/theme/components/codeBlock.js +4 -3
- package/dist/themes/themeLightNext/theme/components/codeBlock.js +4 -3
- package/dist/themes/types/theme/components/codeBlock.types.d.ts +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1011,11 +1011,12 @@ var p = {
|
|
|
1011
1011
|
bgColor: m.semantic.color.background.neutral100,
|
|
1012
1012
|
textColor: m.semantic.color.text.secondary950,
|
|
1013
1013
|
borderRadius: "0.5rem",
|
|
1014
|
+
border: "none",
|
|
1014
1015
|
fontFamily: m.core.font.fontFamily.sourceCodeProRegular,
|
|
1015
1016
|
lineHeight: "1.7",
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1017
|
+
paddingY: "1.4rem",
|
|
1018
|
+
paddingX: "1.6rem",
|
|
1019
|
+
paddingRightWithCopy: "4.8rem",
|
|
1019
1020
|
sizes: {
|
|
1020
1021
|
M: { fontSize: "1.25rem" },
|
|
1021
1022
|
S: { fontSize: "1.15rem" }
|
|
@@ -5529,11 +5530,12 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
5529
5530
|
bgColor: P.semantic.color.background.secondary900,
|
|
5530
5531
|
textColor: P.semantic.color.text.neutral0,
|
|
5531
5532
|
borderRadius: "0.5rem",
|
|
5533
|
+
border: "none",
|
|
5532
5534
|
fontFamily: P.core.font.fontFamily.sourceCodeProRegular,
|
|
5533
5535
|
lineHeight: "1.7",
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5536
|
+
paddingY: "1.4rem",
|
|
5537
|
+
paddingX: "1.6rem",
|
|
5538
|
+
paddingRightWithCopy: "4.8rem",
|
|
5537
5539
|
sizes: {
|
|
5538
5540
|
M: { fontSize: "1.25rem" },
|
|
5539
5541
|
S: { fontSize: "1.15rem" }
|
|
@@ -8621,11 +8623,12 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
8621
8623
|
bgColor: V.semantic.color.background.neutral100,
|
|
8622
8624
|
textColor: V.semantic.color.text.secondary950,
|
|
8623
8625
|
borderRadius: "0.5rem",
|
|
8626
|
+
border: "none",
|
|
8624
8627
|
fontFamily: V.core.font.fontFamily.sourceCodeProRegular,
|
|
8625
8628
|
lineHeight: "1.7",
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
+
paddingY: "1.4rem",
|
|
8630
|
+
paddingX: "1.6rem",
|
|
8631
|
+
paddingRightWithCopy: "4.8rem",
|
|
8629
8632
|
sizes: {
|
|
8630
8633
|
M: { fontSize: "1.25rem" },
|
|
8631
8634
|
S: { fontSize: "1.15rem" }
|
|
@@ -11764,14 +11767,15 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
11764
11767
|
padding: "1.2rem 1.6rem"
|
|
11765
11768
|
}
|
|
11766
11769
|
}, pa = {
|
|
11767
|
-
bgColor: q.semantic.color.background.
|
|
11768
|
-
textColor: q.semantic.color.text.
|
|
11770
|
+
bgColor: q.semantic.color.background.secondary990,
|
|
11771
|
+
textColor: q.semantic.color.text.secondary300,
|
|
11769
11772
|
borderRadius: "0.5rem",
|
|
11773
|
+
border: `1px solid ${q.semantic.color.border.secondary500}`,
|
|
11770
11774
|
fontFamily: q.core.font.fontFamily.sourceCodeProRegular,
|
|
11771
11775
|
lineHeight: "1.7",
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11776
|
+
paddingY: "1.4rem",
|
|
11777
|
+
paddingX: "1.6rem",
|
|
11778
|
+
paddingRightWithCopy: "4.8rem",
|
|
11775
11779
|
sizes: {
|
|
11776
11780
|
M: { fontSize: "1.25rem" },
|
|
11777
11781
|
S: { fontSize: "1.15rem" }
|
|
@@ -11792,9 +11796,9 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
11792
11796
|
iconColor: X.neutral0
|
|
11793
11797
|
},
|
|
11794
11798
|
copied: {
|
|
11795
|
-
bgColor: J.
|
|
11796
|
-
borderColor: Y.
|
|
11797
|
-
iconColor: X.
|
|
11799
|
+
bgColor: J.secondary950,
|
|
11800
|
+
borderColor: Y.secondary500,
|
|
11801
|
+
iconColor: X.success500
|
|
11798
11802
|
},
|
|
11799
11803
|
disabled: {
|
|
11800
11804
|
bgColor: J.secondary950,
|