
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@fw-components/fw-theme-builder
Advanced tools
Fw Theme Builder is used to interactively create your theme
npm i @fundwave/fw-theme-builder
const theme = {
fonts : {
"Title" : {
name : "DM Sans",
url: 'https://fonts.gstatic.com/s/dmsans/v11/rP2Hp2ywxg089UriCZOIHQ.woff2',
style: "'DM Sans', sans-serif",
},
"Body" : {
name : "DM Sans",
url: 'https://fonts.gstatic.com/s/dmsans/v11/rP2Hp2ywxg089UriCZOIHQ.woff2',
style: "'DM Sans', sans-serif",
}
},
sizes : {
"Tiny" : "10px",
"XS" : "14px",
"S" : "16px",
"M" : "18px",
"L" : "20px",
"XL" : "22px",
"Huge" : "48px",
},
colors : {
"Primary" : {
"Hex" : "#ad38d1",
"L1" : "#ba68d3",
"L2" : "#dcb5e7",
"L3" : "#e5d3eb",
"Contrast" : "#f0f0f0",
},
"Secondary" : {
"Hex" : "#4a48c7",
"L1" : "#5f5dce",
"L2" : "#706fd1",
"L3" : "#9190df",
"Contrast" : "#ebdbdb",
},
"Background" : {
"Hex" : "#eeeeee",
},
"Error" : {
"Hex" : "#e61e1e",
"L1" : "#f1b4b4",
},
"Text" : {
"Title" : "#1b1b1b",
"Subtitle" : "#1b1b1b",
"Body" : "#1b1b1b",
"Body-l1" : "#363636",
}
}
}
<fw-theme-builder
.theme=${theme}
@font-changed=${updateFont}
@size-changed=${updateSize}
@color-changed=${updateColor}
></fw-theme-builder>
| Name | Type | Description |
|---|---|---|
| theme | Object | Object contains properties for Font, Size and Color like above mentioned example |
| fontOptions | Array | List of font options where each object contains name, url and style |
Return the type and updated font for that type.
e.detail = {
type: "Type of updated font like Family, Title, etc",
value: {
url
name
style
}
}
Return the type and updated size value for that type.
e.detail = {
type: "Type of updated size like XL, M, etc",
value: "Value of given size type"
}
Return group and its type which got updated with hsl, rgb, and hex
e.detail = {
group: "Group value like Primary, Secondary, etc.",
type: "Type of updated color like hex, contrast, etc",
value: "Value of updated color type",
hsl: "HSL value of color selected",
rgb: "RGB value of color selected"
}
FAQs
Theme builder web component
We found that @fw-components/fw-theme-builder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.