mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 17:34:52 +10:00
feat: implement style rules
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
||||
LayoutIcon,
|
||||
MessengerLogoIcon,
|
||||
NotepadIcon,
|
||||
PaintBrushBroadIcon,
|
||||
PaletteIcon,
|
||||
PhoneIcon,
|
||||
ReadCvLogoIcon,
|
||||
@@ -44,6 +45,7 @@ export type RightSidebarSection =
|
||||
| "layout"
|
||||
| "typography"
|
||||
| "design"
|
||||
| "styles"
|
||||
| "page"
|
||||
| "notes"
|
||||
| "sharing"
|
||||
@@ -78,6 +80,7 @@ export const rightSidebarSections: RightSidebarSection[] = [
|
||||
"layout",
|
||||
"typography",
|
||||
"design",
|
||||
"styles",
|
||||
"page",
|
||||
"notes",
|
||||
"sharing",
|
||||
@@ -116,6 +119,7 @@ export const getSectionTitle = (type: SidebarSection | CustomOnlyType): string =
|
||||
.with("layout", () => t`Layout`)
|
||||
.with("typography", () => t`Typography`)
|
||||
.with("design", () => t`Design`)
|
||||
.with("styles", () => t`Custom Styles`)
|
||||
.with("page", () => t`Page`)
|
||||
.with("notes", () => t`Notes`)
|
||||
.with("sharing", () => t`Sharing`)
|
||||
@@ -159,6 +163,7 @@ export const getSectionIcon = (type: SidebarSection | CustomOnlyType, props?: Ic
|
||||
.with("layout", () => <LayoutIcon {...iconProps} />)
|
||||
.with("typography", () => <TextTIcon {...iconProps} />)
|
||||
.with("design", () => <PaletteIcon {...iconProps} />)
|
||||
.with("styles", () => <PaintBrushBroadIcon {...iconProps} />)
|
||||
.with("page", () => <ReadCvLogoIcon {...iconProps} />)
|
||||
.with("notes", () => <NotepadIcon {...iconProps} />)
|
||||
.with("sharing", () => <ShareFatIcon {...iconProps} />)
|
||||
|
||||
Reference in New Issue
Block a user