-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c40952
commit 222fae2
Showing
10 changed files
with
94 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import ColorSelector from "@/common/components/molecules/ColorSelector"; | ||
import BorderSelector from "@/common/components/molecules/BorderSelector"; | ||
import ShadowSelector from "@/common/components/molecules/ShadowSelector"; | ||
|
||
import { type FidgetFieldConfig } from "@/common/fidgets"; | ||
|
||
export const defaultStyleFields: FidgetFieldConfig[] = [ | ||
{ | ||
fieldName: "background", | ||
default: "var(--user-theme-fidget-background)", | ||
required: false, | ||
inputSelector: ColorSelector, | ||
group: "style", | ||
}, | ||
{ | ||
fieldName: "fidgetBorderWidth", | ||
default: "var(--user-theme-fidget-border-width)", | ||
required: false, | ||
inputSelector: BorderSelector, | ||
group: "style", | ||
}, | ||
{ | ||
fieldName: "fidgetBorderColor", | ||
default: "var(--user-theme-fidget-border-color)", | ||
required: false, | ||
inputSelector: ColorSelector, | ||
group: "style", | ||
}, | ||
{ | ||
fieldName: "fidgetShadow", | ||
default: "var(--user-theme-fidget-shadow)", | ||
required: false, | ||
inputSelector: ShadowSelector, | ||
group: "style", | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters