File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import React from 'react';
22import { useVisualSettings } from '../context/VisualSettingsContext' ;
33import BrutalistCodeModal from './BrutalistCodeModal' ;
44import LuxeCodeModal from './LuxeCodeModal' ;
5+ import TerracottaCodeModal from './TerracottaCodeModal' ;
56
67const CodeModal = ( props ) => {
78 const { fezcodexTheme } = useVisualSettings ( ) ;
89
9- if ( fezcodexTheme === 'luxe' ) {
10- return < LuxeCodeModal { ...props } /> ;
11- }
12-
10+ if ( fezcodexTheme === 'luxe' ) return < LuxeCodeModal { ...props } /> ;
11+ if ( fezcodexTheme === 'terracotta' ) return < TerracottaCodeModal { ...props } /> ;
1312 return < BrutalistCodeModal { ...props } /> ;
1413} ;
1514
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import React from 'react';
22import { useVisualSettings } from '../context/VisualSettingsContext' ;
33import BrutalistCommandPalette from './BrutalistCommandPalette' ;
44import LuxeCommandPalette from './LuxeCommandPalette' ;
5+ import TerracottaCommandPalette from './TerracottaCommandPalette' ;
56
67const CommandPalette = ( props ) => {
78 const { fezcodexTheme } = useVisualSettings ( ) ;
89
9- if ( fezcodexTheme === 'luxe' ) {
10- return < LuxeCommandPalette { ...props } /> ;
11- }
12-
10+ if ( fezcodexTheme === 'luxe' ) return < LuxeCommandPalette { ...props } /> ;
11+ if ( fezcodexTheme === 'terracotta' ) return < TerracottaCommandPalette { ...props } /> ;
1312 return < BrutalistCommandPalette { ...props } /> ;
1413} ;
1514
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import React from 'react';
22import { useVisualSettings } from '../context/VisualSettingsContext' ;
33import BrutalistModal from './BrutalistModal' ;
44import LuxeModal from './LuxeModal' ;
5+ import TerracottaModal from './TerracottaModal' ;
56
67const GenericModal = ( props ) => {
78 const { fezcodexTheme } = useVisualSettings ( ) ;
89
9- if ( fezcodexTheme === 'luxe' ) {
10- return < LuxeModal { ...props } /> ;
11- }
12-
10+ if ( fezcodexTheme === 'luxe' ) return < LuxeModal { ...props } /> ;
11+ if ( fezcodexTheme === 'terracotta' ) return < TerracottaModal { ...props } /> ;
1312 return < BrutalistModal { ...props } /> ;
1413} ;
1514
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import React from 'react';
22import { useVisualSettings } from '../context/VisualSettingsContext' ;
33import BrutalistImageModal from './BrutalistImageModal' ;
44import LuxeImageModal from './LuxeImageModal' ;
5+ import TerracottaImageModal from './TerracottaImageModal' ;
56
67const ImageModal = ( props ) => {
78 const { fezcodexTheme } = useVisualSettings ( ) ;
89
9- if ( fezcodexTheme === 'luxe' ) {
10- return < LuxeImageModal { ...props } /> ;
11- }
12-
10+ if ( fezcodexTheme === 'luxe' ) return < LuxeImageModal { ...props } /> ;
11+ if ( fezcodexTheme === 'terracotta' ) return < TerracottaImageModal { ...props } /> ;
1312 return < BrutalistImageModal { ...props } /> ;
1413} ;
1514
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import React from 'react';
22import { useVisualSettings } from '../context/VisualSettingsContext' ;
33import BrutalistSearch from './BrutalistSearch' ;
44import LuxeSearch from './LuxeSearch' ;
5+ import TerracottaSearch from './TerracottaSearch' ;
56
67const Search = ( props ) => {
78 const { fezcodexTheme } = useVisualSettings ( ) ;
89
9- if ( fezcodexTheme === 'luxe' ) {
10- return < LuxeSearch { ...props } /> ;
11- }
12-
10+ if ( fezcodexTheme === 'luxe' ) return < LuxeSearch { ...props } /> ;
11+ if ( fezcodexTheme === 'terracotta' ) return < TerracottaSearch { ...props } /> ;
1312 return < BrutalistSearch { ...props } /> ;
1413} ;
1514
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import React from 'react';
22import { useVisualSettings } from '../context/VisualSettingsContext' ;
33import BrutalistSidePanel from './BrutalistSidePanel' ;
44import LuxeSidePanel from './LuxeSidePanel' ;
5+ import TerracottaSidePanel from './TerracottaSidePanel' ;
56
67const SidePanel = ( props ) => {
78 const { fezcodexTheme } = useVisualSettings ( ) ;
89
9- if ( fezcodexTheme === 'luxe' ) {
10- return < LuxeSidePanel { ...props } /> ;
11- }
12-
10+ if ( fezcodexTheme === 'luxe' ) return < LuxeSidePanel { ...props } /> ;
11+ if ( fezcodexTheme === 'terracotta' ) return < TerracottaSidePanel { ...props } /> ;
1312 return < BrutalistSidePanel { ...props } /> ;
1413} ;
1514
You can’t perform that action at this time.
0 commit comments