@spark-ui/theme-utils 4.1.0 → 4.1.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.
- package/CHANGELOG.md +9 -0
- package/README.md +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.1.1](https://github.com/adevinta/spark/compare/@spark-ui/theme-utils@4.1.0...@spark-ui/theme-utils@4.1.1) (2023-10-13)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- doc ([5506203](https://github.com/adevinta/spark/commit/55062039dc67c3532be42a4661540052094163d9))
|
|
11
|
+
- **theme-utils:** doc ([3c74593](https://github.com/adevinta/spark/commit/3c745931f208f042a115bd4c21d5e29248c3b959))
|
|
12
|
+
- **theme-utils:** doc ([42872a5](https://github.com/adevinta/spark/commit/42872a55eb9c4a1bd6533bd04e49d90bd5c110ba))
|
|
13
|
+
- **theme-utils:** fix theme token values ([9ccaa12](https://github.com/adevinta/spark/commit/9ccaa1272ff37be7ecc4fe094ce41aff40ea0033))
|
|
14
|
+
|
|
6
15
|
# [4.1.0](https://github.com/adevinta/spark/compare/@spark-ui/theme-utils@4.0.2...@spark-ui/theme-utils@4.1.0) (2023-09-28)
|
|
7
16
|
|
|
8
17
|
### Features
|
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Theme
|
|
2
2
|
> @spark-ui/theme-utils
|
|
3
3
|
|
|
4
|
-
](https://sparkui.vercel.app/?path=/docs/utils-theme--docs)
|
|
5
|
+
[](https://sparkui-adv.vercel.app/docs/utils/theme)
|
|
6
|
+
[](https://github.com/adevinta/spark/issues/new?&projects=4&template=bug-report.yml&assignees=&labels=util,theme)
|
|
7
|
+
[](https://www.npmjs.com/package/@spark-ui/theme-utils)
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
This package is part of the [`@spark-ui`](https://github.com/adevinta/spark) react-js user interface component library project.
|
|
11
11
|
|
|
12
|
-

|
|
12
|
+
[](https://github.com/adevinta/spark/issues?q=is%3Aopen+label%3Autil+label%3Atheme)
|
|
13
|
+
[](https://github.com/adevinta/spark/blob/main/packages/utils/chip/LICENSE.md)
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("deepmerge"),e={borderRadius:{none:"0px",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem",full:"9999px"},borderWidth:{none:"0px",sm:"1px",md:"2px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.2)",DEFAULT:"0 4px 8px 0 rgb(0 0 0 / 0.2)",md:"0 6px 12px 0 rgb(0 0 0 / 0.2)",lg:"0 8px 16px 0 rgb(0 0 0 / 0.2)",xl:"0 12px 24px 0 rgb(0 0 0 / 0.2)",none:"none"},colors:{basic:"#35376A",onBasic:"#FFFFFF",basicHovered:"#4D4E7B",basicPressed:"#4D4E7B",basicFocused:"#4D4E7B",basicContainer:"#DCDCE5",onBasicContainer:"#1D1F58",basicContainerHovered:"#F4F4F7",basicContainerPressed:"#F4F4F7",basicContainerFocused:"#F4F4F7",accent:"#CC99FF",onAccent:"#1D1F2A",accentHovered:"#DBB7FF",accentPressed:"#DBB7FF",accentFocused:"#DBB7FF",accentContainer:"#EAD5FF",onAccentContainer:"#362555",accentContainerHovered:"#F9F3FF",accentContainerPressed:"#F9F3FF",accentContainerFocused:"#F9F3FF",accentVariant:"#513877",onAccentVariant:"#FFFFFF",accentVariantHovered:"#6E4D99",accentVariantPressed:"#6E4D99",accentVariantFocused:"#6E4D99",main:"#0052FF",onMain:"#FFFFFF",mainHovered:"#3173FF",mainPressed:"#3173FF",mainFocused:"#3173FF",mainContainer:"#C2D6FF",onMainContainer:"#002799",mainContainerHovered:"#F2F6FF",mainContainerPressed:"#F2F6FF",mainContainerFocused:"#F2F6FF",mainVariant:"#002799",onMainVariant:"#FFFFFF",mainVariantHovered:"#003BCC",mainVariantPressed:"#003BCC",mainVariantFocused:"#003BCC",support:"#35376A",onSupport:"#FFFFFF",supportHovered:"#4D4E7B",supportPressed:"#4D4E7B",supportFocused:"#4D4E7B",supportContainer:"#DCDCE5",onSupportContainer:"#1D1F58",supportContainerHovered:"#F4F4F7",supportContainerPressed:"#F4F4F7",supportContainerFocused:"#F4F4F7",supportVariant:"#4D4E7B",onSupportVariant:"#FFFFFF",supportVariantHovered:"#65668D",supportVariantPressed:"#65668D",supportVariantFocused:"#65668D",success:"#31A56B",onSuccess:"#FFFFFF",successHovered:"#64BC90",successPressed:"#64BC90",successFocused:"#64BC90",successContainer:"#E0F2E9",onSuccessContainer:"#1D6340",successContainerHovered:"#F5FBF8",successContainerPressed:"#F5FBF8",successContainerFocused:"#F5FBF8",alert:"#F4BF48",onAlert:"#1D1F2A",alertHovered:"#F7CF76",alertPressed:"#F7CF76",alertFocused:"#F7CF76",alertContainer:"#FDF5E4",onAlertContainer:"#624C1D",alertContainerHovered:"#FFFCF6",alertContainerPressed:"#FFFCF6",alertContainerFocused:"#FFFCF6",error:"#F65651",onError:"#FFFFFF",errorHovered:"#F8807D",errorPressed:"#F8807D",errorFocused:"#F8807D",errorContainer:"#FEE6E5",onErrorContainer:"#943431",errorContainerHovered:"#FFF7F6",errorContainerPressed:"#FFF7F6",errorContainerFocused:"#FFF7F6",info:"#07A0B8",onInfo:"#FFFFFF",infoHovered:"#45B8CA",infoPressed:"#45B8CA",infoFocused:"#45B8CA",infoContainer:"#DAF1F4",onInfoContainer:"#04606E",infoContainerHovered:"#F3FAFC",infoContainerPressed:"#F3FAFC",infoContainerFocused:"#F3FAFC",neutral:"#353741",onNeutral:"#FFFFFF",neutralHovered:"#4D4E57",neutralPressed:"#4D4E57",neutralFocused:"#4D4E57",neutralContainer:"#DCDCDE",onNeutralContainer:"#353741",neutralContainerHovered:"#F4F4F4",neutralContainerPressed:"#F4F4F4",neutralContainerFocused:"#F4F4F4",background:"#FFFFFF",onBackground:"#1D1F2A",backgroundVariant:"#F4F4F4",onBackgroundVariant:"#1D1F2A",surface:"#FFFFFF",onSurface:"#1D1F2A",surfaceHovered:"#F2F6FF",surfacePressed:"#F2F6FF",surfaceFocused:"#F2F6FF",surfaceInverse:"#353741",onSurfaceInverse:"#FFFFFF",surfaceInverseHovered:"#353741",surfaceInversePressed:"#353741",surfaceInverseFocused:"#353741",outline:"#DCDCDE",outlineHigh:"#1D1F2A",overlay:"#353741B8",onOverlay:"#FFFFFF"},fontFamily:{sans:'"Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',mono:'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},fontSize:{display1:{fontSize:"2.5rem",lineHeight:"3.5rem",fontWeight:"700"},display1Expanded:{fontSize:"3rem",lineHeight:"4rem",fontWeight:"700"},display2:{fontSize:"2rem",lineHeight:"2.75rem",fontWeight:"700"},display2Expanded:{fontSize:"2.5rem",lineHeight:"3.5rem",fontWeight:"700"},display3:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700"},display3Expanded:{fontSize:"2rem",lineHeight:"2.75rem",fontWeight:"700"},headline1:{fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"700"},headline1Expanded:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700"},headline2:{fontSize:"1.125rem",lineHeight:"1.5rem",fontWeight:"700"},headline2Expanded:{fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"700"},subhead:{fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700"},subheadExpanded:{fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700"},body1:{fontSize:"1rem",lineHeight:"1.5rem"},body2:{fontSize:"0.875rem",lineHeight:"1.25rem"},caption:{fontSize:"0.75rem",lineHeight:"1rem"},small:{fontSize:"0.625rem",lineHeight:"0.875rem"},body1Link:{fontSize:"1rem",lineHeight:"1.5rem"},body2Link:{fontSize:"0.875rem",lineHeight:"1.125rem"},captionLink:{fontSize:"0.75rem",lineHeight:"1rem"},callout:{fontSize:"1rem",lineHeight:"1.5rem"}},fontWeight:{regular:"400",medium:"500",semiBold:"600",bold:"700"},opacity:{0:"0",none:"1",dim1:"0.72",dim2:"0.56",dim3:"0.40",dim4:"0.16",dim5:"0.08"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},spacing:{auto:"auto",none:"0px",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"1.5rem","2xl":"2rem","3xl":"2.5rem"},zIndex:{hide:"-1",base:"0",raised:"1",dropdown:"1000",sticky:"1100",overlay:"1300",modal:"1400",popover:"1500",skipLink:"1600",toast:"1700",tooltip:"1800"}};function n(r,F=e){return o(F,r)}const a=n({colors:{basic:"#DCDCE5",onBasic:"#1D1F2A",basicHovered:"#C4C5D3",basicPressed:"#C4C5D3",basicFocused:"#C4C5D3",basicContainer:"#4D4E7B",onBasicContainer:"#FFFFFF",basicContainerHovered:"#35376A",basicContainerPressed:"#35376A",basicContainerFocused:"#35376A",accent:"#CC99FF",onAccent:"#1D1F2A",accentHovered:"#AC7DDD",accentPressed:"#AC7DDD",accentFocused:"#AC7DDD",accentContainer:"#8D64BB",onAccentContainer:"#FFFFFF",accentContainerHovered:"#6E4D99",accentContainerPressed:"#6E4D99",accentContainerFocused:"#6E4D99",accentVariant:"#DBB7FF",onAccentVariant:"#1D1F2A",accentVariantHovered:"#CC99FF",accentVariantPressed:"#CC99FF",accentVariantFocused:"#CC99FF",main:"#3173FF",onMain:"#FFFFFF",mainHovered:"#0052FF",mainPressed:"#0052FF",mainFocused:"#0052FF",mainContainer:"#001766",onMainContainer:"#FFFFFF",mainContainerHovered:"#000A33",mainContainerPressed:"#000A33",mainContainerFocused:"#000A33",mainVariant:"#91B5FF",onMainVariant:"#1D1F2A",mainVariantHovered:"#6194FF",mainVariantPressed:"#6194FF",mainVariantFocused:"#6194FF",support:"#DCDCE5",onSupport:"#1D1F2A",supportHovered:"#C4C5D3",supportPressed:"#C4C5D3",supportFocused:"#C4C5D3",supportContainer:"#4D4E7B",onSupportContainer:"#FFFFFF",supportContainerHovered:"#35376A",supportContainerPressed:"#35376A",supportContainerFocused:"#35376A",supportVariant:"#F4F4F7",onSupportVariant:"#1D1F2A",supportVariantHovered:"#DCDCE5",supportVariantPressed:"#DCDCE5",supportVariantFocused:"#DCDCE5",success:"#64BC90",onSuccess:"#1D1F2A",successHovered:"#31A56B",successPressed:"#31A56B",successFocused:"#31A56B",successContainer:"#14422B",onSuccessContainer:"#B7DFCB",successContainerHovered:"#14422B",successContainerPressed:"#14422B",successContainerFocused:"#14422B",alert:"#F7CF76",onAlert:"#1D1F2A",alertHovered:"#F4BF48",alertPressed:"#F4BF48",alertFocused:"#F4BF48",alertContainer:"#624C1D",onAlertContainer:"#FFFFFF",alertContainerHovered:"#3D3012",alertContainerPressed:"#3D3012",alertContainerFocused:"#3D3012",error:"#F8807D",onError:"#1D1F2A",errorHovered:"#F65651",errorPressed:"#F65651",errorFocused:"#F65651",errorContainer:"#622220",onErrorContainer:"#FFFFFF",errorContainerHovered:"#3E1514",errorContainerPressed:"#3E1514",errorContainerFocused:"#3E1514",info:"#45B8CA",onInfo:"#1D1F2A",infoHovered:"#07A0B8",infoPressed:"#07A0B8",infoFocused:"#07A0B8",infoContainer:"#03404A",onInfoContainer:"#FFFFFF",infoContainerHovered:"#02282E",infoContainerPressed:"#02282E",infoContainerFocused:"#02282E",neutral:"#ACADB1",onNeutral:"#1D1F2A",neutralHovered:"#94959A",neutralPressed:"#94959A",neutralFocused:"#94959A",neutralContainer:"#353741",onNeutralContainer:"#FFFFFF",neutralContainerHovered:"#1D1F2A",neutralContainerPressed:"#1D1F2A",neutralContainerFocused:"#1D1F2A",background:"#1D1F2A",onBackground:"#FFFFFF",backgroundVariant:"#000000",onBackgroundVariant:"#F4F4F4",surface:"#1D1F2A",onSurface:"#FFFFFF",surfaceHovered:"#000000",surfacePressed:"#000000",surfaceFocused:"#000000",surfaceInverse:"#F4F4F4",onSurfaceInverse:"#353741",surfaceInverseHovered:"#F4F4F4",surfaceInversePressed:"#F4F4F4",surfaceInverseFocused:"#F4F4F4",outline:"#4D4E57",outlineHigh:"#FFFFFF",overlay:"#353741B8",onOverlay:"#FFFFFF"}});exports.createTheme=n,exports.defaultTheme=e,exports.defaultThemeDark=a;
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import r from "deepmerge";
|
|
2
|
-
const
|
|
3
|
-
function
|
|
2
|
+
const F = { borderRadius: { none: "0px", sm: "0.25rem", md: "0.5rem", lg: "1rem", xl: "1.5rem", full: "9999px" }, borderWidth: { none: "0px", sm: "1px", md: "2px" }, boxShadow: { sm: "0 1px 2px 0 rgb(0 0 0 / 0.2)", DEFAULT: "0 4px 8px 0 rgb(0 0 0 / 0.2)", md: "0 6px 12px 0 rgb(0 0 0 / 0.2)", lg: "0 8px 16px 0 rgb(0 0 0 / 0.2)", xl: "0 12px 24px 0 rgb(0 0 0 / 0.2)", none: "none" }, colors: { basic: "#35376A", onBasic: "#FFFFFF", basicHovered: "#4D4E7B", basicPressed: "#4D4E7B", basicFocused: "#4D4E7B", basicContainer: "#DCDCE5", onBasicContainer: "#1D1F58", basicContainerHovered: "#F4F4F7", basicContainerPressed: "#F4F4F7", basicContainerFocused: "#F4F4F7", accent: "#CC99FF", onAccent: "#1D1F2A", accentHovered: "#DBB7FF", accentPressed: "#DBB7FF", accentFocused: "#DBB7FF", accentContainer: "#EAD5FF", onAccentContainer: "#362555", accentContainerHovered: "#F9F3FF", accentContainerPressed: "#F9F3FF", accentContainerFocused: "#F9F3FF", accentVariant: "#513877", onAccentVariant: "#FFFFFF", accentVariantHovered: "#6E4D99", accentVariantPressed: "#6E4D99", accentVariantFocused: "#6E4D99", main: "#0052FF", onMain: "#FFFFFF", mainHovered: "#3173FF", mainPressed: "#3173FF", mainFocused: "#3173FF", mainContainer: "#C2D6FF", onMainContainer: "#002799", mainContainerHovered: "#F2F6FF", mainContainerPressed: "#F2F6FF", mainContainerFocused: "#F2F6FF", mainVariant: "#002799", onMainVariant: "#FFFFFF", mainVariantHovered: "#003BCC", mainVariantPressed: "#003BCC", mainVariantFocused: "#003BCC", support: "#35376A", onSupport: "#FFFFFF", supportHovered: "#4D4E7B", supportPressed: "#4D4E7B", supportFocused: "#4D4E7B", supportContainer: "#DCDCE5", onSupportContainer: "#1D1F58", supportContainerHovered: "#F4F4F7", supportContainerPressed: "#F4F4F7", supportContainerFocused: "#F4F4F7", supportVariant: "#4D4E7B", onSupportVariant: "#FFFFFF", supportVariantHovered: "#65668D", supportVariantPressed: "#65668D", supportVariantFocused: "#65668D", success: "#31A56B", onSuccess: "#FFFFFF", successHovered: "#64BC90", successPressed: "#64BC90", successFocused: "#64BC90", successContainer: "#E0F2E9", onSuccessContainer: "#1D6340", successContainerHovered: "#F5FBF8", successContainerPressed: "#F5FBF8", successContainerFocused: "#F5FBF8", alert: "#F4BF48", onAlert: "#1D1F2A", alertHovered: "#F7CF76", alertPressed: "#F7CF76", alertFocused: "#F7CF76", alertContainer: "#FDF5E4", onAlertContainer: "#624C1D", alertContainerHovered: "#FFFCF6", alertContainerPressed: "#FFFCF6", alertContainerFocused: "#FFFCF6", error: "#F65651", onError: "#FFFFFF", errorHovered: "#F8807D", errorPressed: "#F8807D", errorFocused: "#F8807D", errorContainer: "#FEE6E5", onErrorContainer: "#943431", errorContainerHovered: "#FFF7F6", errorContainerPressed: "#FFF7F6", errorContainerFocused: "#FFF7F6", info: "#07A0B8", onInfo: "#FFFFFF", infoHovered: "#45B8CA", infoPressed: "#45B8CA", infoFocused: "#45B8CA", infoContainer: "#DAF1F4", onInfoContainer: "#04606E", infoContainerHovered: "#F3FAFC", infoContainerPressed: "#F3FAFC", infoContainerFocused: "#F3FAFC", neutral: "#353741", onNeutral: "#FFFFFF", neutralHovered: "#4D4E57", neutralPressed: "#4D4E57", neutralFocused: "#4D4E57", neutralContainer: "#DCDCDE", onNeutralContainer: "#353741", neutralContainerHovered: "#F4F4F4", neutralContainerPressed: "#F4F4F4", neutralContainerFocused: "#F4F4F4", background: "#FFFFFF", onBackground: "#1D1F2A", backgroundVariant: "#F4F4F4", onBackgroundVariant: "#1D1F2A", surface: "#FFFFFF", onSurface: "#1D1F2A", surfaceHovered: "#F2F6FF", surfacePressed: "#F2F6FF", surfaceFocused: "#F2F6FF", surfaceInverse: "#353741", onSurfaceInverse: "#FFFFFF", surfaceInverseHovered: "#353741", surfaceInversePressed: "#353741", surfaceInverseFocused: "#353741", outline: "#DCDCDE", outlineHigh: "#1D1F2A", overlay: "#353741B8", onOverlay: "#FFFFFF" }, fontFamily: { sans: '"Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"', mono: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace' }, fontSize: { display1: { fontSize: "2.5rem", lineHeight: "3.5rem", fontWeight: "700" }, display1Expanded: { fontSize: "3rem", lineHeight: "4rem", fontWeight: "700" }, display2: { fontSize: "2rem", lineHeight: "2.75rem", fontWeight: "700" }, display2Expanded: { fontSize: "2.5rem", lineHeight: "3.5rem", fontWeight: "700" }, display3: { fontSize: "1.5rem", lineHeight: "2rem", fontWeight: "700" }, display3Expanded: { fontSize: "2rem", lineHeight: "2.75rem", fontWeight: "700" }, headline1: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "700" }, headline1Expanded: { fontSize: "1.5rem", lineHeight: "2rem", fontWeight: "700" }, headline2: { fontSize: "1.125rem", lineHeight: "1.5rem", fontWeight: "700" }, headline2Expanded: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "700" }, subhead: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "700" }, subheadExpanded: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "700" }, body1: { fontSize: "1rem", lineHeight: "1.5rem" }, body2: { fontSize: "0.875rem", lineHeight: "1.25rem" }, caption: { fontSize: "0.75rem", lineHeight: "1rem" }, small: { fontSize: "0.625rem", lineHeight: "0.875rem" }, body1Link: { fontSize: "1rem", lineHeight: "1.5rem" }, body2Link: { fontSize: "0.875rem", lineHeight: "1.125rem" }, captionLink: { fontSize: "0.75rem", lineHeight: "1rem" }, callout: { fontSize: "1rem", lineHeight: "1.5rem" } }, fontWeight: { regular: "400", medium: "500", semiBold: "600", bold: "700" }, opacity: { 0: "0", none: "1", dim1: "0.72", dim2: "0.56", dim3: "0.40", dim4: "0.16", dim5: "0.08" }, screens: { sm: "640px", md: "768px", lg: "1024px", xl: "1280px" }, spacing: { auto: "auto", none: "0px", sm: "0.25rem", md: "0.5rem", lg: "1rem", xl: "1.5rem", "2xl": "2rem", "3xl": "2.5rem" }, zIndex: { hide: "-1", base: "0", raised: "1", dropdown: "1000", sticky: "1100", overlay: "1300", modal: "1400", popover: "1500", skipLink: "1600", toast: "1700", tooltip: "1800" } };
|
|
3
|
+
function o(e, n = F) {
|
|
4
4
|
return r(n, e);
|
|
5
5
|
}
|
|
6
|
-
const t =
|
|
6
|
+
const t = o({ colors: { basic: "#DCDCE5", onBasic: "#1D1F2A", basicHovered: "#C4C5D3", basicPressed: "#C4C5D3", basicFocused: "#C4C5D3", basicContainer: "#4D4E7B", onBasicContainer: "#FFFFFF", basicContainerHovered: "#35376A", basicContainerPressed: "#35376A", basicContainerFocused: "#35376A", accent: "#CC99FF", onAccent: "#1D1F2A", accentHovered: "#AC7DDD", accentPressed: "#AC7DDD", accentFocused: "#AC7DDD", accentContainer: "#8D64BB", onAccentContainer: "#FFFFFF", accentContainerHovered: "#6E4D99", accentContainerPressed: "#6E4D99", accentContainerFocused: "#6E4D99", accentVariant: "#DBB7FF", onAccentVariant: "#1D1F2A", accentVariantHovered: "#CC99FF", accentVariantPressed: "#CC99FF", accentVariantFocused: "#CC99FF", main: "#3173FF", onMain: "#FFFFFF", mainHovered: "#0052FF", mainPressed: "#0052FF", mainFocused: "#0052FF", mainContainer: "#001766", onMainContainer: "#FFFFFF", mainContainerHovered: "#000A33", mainContainerPressed: "#000A33", mainContainerFocused: "#000A33", mainVariant: "#91B5FF", onMainVariant: "#1D1F2A", mainVariantHovered: "#6194FF", mainVariantPressed: "#6194FF", mainVariantFocused: "#6194FF", support: "#DCDCE5", onSupport: "#1D1F2A", supportHovered: "#C4C5D3", supportPressed: "#C4C5D3", supportFocused: "#C4C5D3", supportContainer: "#4D4E7B", onSupportContainer: "#FFFFFF", supportContainerHovered: "#35376A", supportContainerPressed: "#35376A", supportContainerFocused: "#35376A", supportVariant: "#F4F4F7", onSupportVariant: "#1D1F2A", supportVariantHovered: "#DCDCE5", supportVariantPressed: "#DCDCE5", supportVariantFocused: "#DCDCE5", success: "#64BC90", onSuccess: "#1D1F2A", successHovered: "#31A56B", successPressed: "#31A56B", successFocused: "#31A56B", successContainer: "#14422B", onSuccessContainer: "#B7DFCB", successContainerHovered: "#14422B", successContainerPressed: "#14422B", successContainerFocused: "#14422B", alert: "#F7CF76", onAlert: "#1D1F2A", alertHovered: "#F4BF48", alertPressed: "#F4BF48", alertFocused: "#F4BF48", alertContainer: "#624C1D", onAlertContainer: "#FFFFFF", alertContainerHovered: "#3D3012", alertContainerPressed: "#3D3012", alertContainerFocused: "#3D3012", error: "#F8807D", onError: "#1D1F2A", errorHovered: "#F65651", errorPressed: "#F65651", errorFocused: "#F65651", errorContainer: "#622220", onErrorContainer: "#FFFFFF", errorContainerHovered: "#3E1514", errorContainerPressed: "#3E1514", errorContainerFocused: "#3E1514", info: "#45B8CA", onInfo: "#1D1F2A", infoHovered: "#07A0B8", infoPressed: "#07A0B8", infoFocused: "#07A0B8", infoContainer: "#03404A", onInfoContainer: "#FFFFFF", infoContainerHovered: "#02282E", infoContainerPressed: "#02282E", infoContainerFocused: "#02282E", neutral: "#ACADB1", onNeutral: "#1D1F2A", neutralHovered: "#94959A", neutralPressed: "#94959A", neutralFocused: "#94959A", neutralContainer: "#353741", onNeutralContainer: "#FFFFFF", neutralContainerHovered: "#1D1F2A", neutralContainerPressed: "#1D1F2A", neutralContainerFocused: "#1D1F2A", background: "#1D1F2A", onBackground: "#FFFFFF", backgroundVariant: "#000000", onBackgroundVariant: "#F4F4F4", surface: "#1D1F2A", onSurface: "#FFFFFF", surfaceHovered: "#000000", surfacePressed: "#000000", surfaceFocused: "#000000", surfaceInverse: "#F4F4F4", onSurfaceInverse: "#353741", surfaceInverseHovered: "#F4F4F4", surfaceInversePressed: "#F4F4F4", surfaceInverseFocused: "#F4F4F4", outline: "#4D4E57", outlineHigh: "#FFFFFF", overlay: "#353741B8", onOverlay: "#FFFFFF" } });
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
o as createTheme,
|
|
9
|
+
F as defaultTheme,
|
|
10
10
|
t as defaultThemeDark
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-ui/theme-utils",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "package for managing Spark theme configuration",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://sparkui.vercel.app",
|
|
37
37
|
"license": "MIT",
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "0a4ed96bc01808c9867fb970a571c261f283c400"
|
|
39
39
|
}
|