frst-components 0.36.8 → 0.36.9
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
CHANGED
|
@@ -5909,7 +5909,7 @@ const FeedAction = styled__default["default"].button `
|
|
|
5909
5909
|
`;
|
|
5910
5910
|
|
|
5911
5911
|
const Button$3 = styled__default["default"].div `
|
|
5912
|
-
${({ variant, disabled, active, theme, isTooltipActive, darkMode }) => {
|
|
5912
|
+
${({ variant, disabled, active, theme, isTooltipActive, darkMode, configColor }) => {
|
|
5913
5913
|
let styleVariant = {
|
|
5914
5914
|
'primary': styled.css `
|
|
5915
5915
|
display: flex;
|
|
@@ -5919,7 +5919,7 @@ const Button$3 = styled__default["default"].div `
|
|
|
5919
5919
|
gap: 8px;
|
|
5920
5920
|
width: fit-content;
|
|
5921
5921
|
height: 32px;
|
|
5922
|
-
background: ${disabled ? '#BDBDBD' : '#F26818'};
|
|
5922
|
+
background: ${disabled ? '#BDBDBD' : configColor ? configColor : '#F26818'};
|
|
5923
5923
|
border-radius: 8px;
|
|
5924
5924
|
cursor: ${disabled ? 'default' : 'pointer'};
|
|
5925
5925
|
font-family: 'Work Sans';
|
|
@@ -5932,7 +5932,7 @@ const Button$3 = styled__default["default"].div `
|
|
|
5932
5932
|
color: ${({ theme }) => theme.colors.shadeWhite};
|
|
5933
5933
|
user-select:none;
|
|
5934
5934
|
&:hover {
|
|
5935
|
-
background: ${disabled ? '#BDBDBD' : '#D14211'};
|
|
5935
|
+
background: ${disabled ? '#BDBDBD' : configColor ? `${configColor}80` : '#D14211'};
|
|
5936
5936
|
}
|
|
5937
5937
|
`,
|
|
5938
5938
|
'secondary': styled.css `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"miniButtonStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/mini-button/miniButtonStyle.ts"],"names":[],"mappings":"AAGA,UAAU,OAAO;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"miniButtonStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/mini-button/miniButtonStyle.ts"],"names":[],"mappings":"AAGA,UAAU,OAAO;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,MAAM,yEAyGlB,CAAA"}
|