@@ -151,7 +151,7 @@ const Overlay = styled.div`
151151` ;
152152
153153const ModalContainer = styled . div `
154- background: ${ theme . colors . neutral [ 0 ] } ;
154+ background: ${ ( p ) => p . theme . colors . neutral0 } ;
155155 border-radius: 16px;
156156 max-height: 90vh;
157157 overflow: hidden;
@@ -217,19 +217,19 @@ const ModalBody = styled.div`
217217
218218const ModalFooter = styled . div `
219219 padding: 16px 28px;
220- background: ${ theme . colors . neutral [ 100 ] } ;
221- border-top: 1px solid ${ theme . colors . neutral [ 200 ] } ;
220+ background: ${ ( p ) => p . theme . colors . neutral100 } ;
221+ border-top: 1px solid rgba(128, 128, 128, 0.25) ;
222222 display: flex;
223223 justify-content: flex-end;
224224 gap: 12px;
225225` ;
226226
227227const Section = styled . div < { $collapsed ?: boolean } > `
228228 margin-bottom: 20px;
229- border: 1px solid ${ theme . colors . neutral [ 200 ] } ;
229+ border: 1px solid rgba(128, 128, 128, 0.25) ;
230230 border-radius: 12px;
231231 overflow: hidden;
232- background: ${ theme . colors . neutral [ 0 ] } ;
232+ background: ${ ( p ) => p . theme . colors . neutral0 } ;
233233 transition: all 0.2s ease;
234234
235235 &:hover {
@@ -240,7 +240,7 @@ const Section = styled.div<{ $collapsed?: boolean }>`
240240const SectionHeader = styled . button < { $hasIcon ?: boolean } > `
241241 width: 100%;
242242 padding: 14px 16px;
243- background: ${ theme . colors . neutral [ 100 ] } ;
243+ background: ${ ( p ) => p . theme . colors . neutral100 } ;
244244 border: none;
245245 cursor: pointer;
246246 display: flex;
@@ -249,7 +249,7 @@ const SectionHeader = styled.button<{ $hasIcon?: boolean }>`
249249 transition: all 0.15s ease;
250250
251251 &:hover {
252- background: ${ theme . colors . neutral [ 200 ] } ;
252+ background: ${ ( p ) => p . theme . colors . neutral200 } ;
253253 }
254254` ;
255255
@@ -259,7 +259,7 @@ const SectionTitle = styled.div`
259259 gap: 10px;
260260 font-weight: 600;
261261 font-size: 0.875rem;
262- color: ${ theme . colors . neutral [ 800 ] } ;
262+ color: ${ ( p ) => p . theme . colors . neutral800 } ;
263263
264264 svg {
265265 width: 18px;
@@ -283,7 +283,7 @@ const ChevronIcon = styled.div<{ $collapsed?: boolean }>`
283283 svg {
284284 width: 18px;
285285 height: 18px;
286- color: ${ theme . colors . neutral [ 600 ] } ;
286+ color: ${ ( p ) => p . theme . colors . neutral600 } ;
287287 }
288288` ;
289289
@@ -292,7 +292,7 @@ const IconPicker = styled.div`
292292 grid-template-columns: repeat(8, 1fr);
293293 gap: 8px;
294294 padding: 12px;
295- background: ${ theme . colors . neutral [ 100 ] } ;
295+ background: ${ ( p ) => p . theme . colors . neutral100 } ;
296296 border-radius: 8px;
297297 max-height: 180px;
298298 overflow-y: auto;
@@ -317,15 +317,15 @@ const IconButton = styled.button<{ $isSelected?: boolean }>`
317317 justify-content: center;
318318 padding: 10px;
319319 border: 2px solid ${ props => props . $isSelected ? theme . colors . primary [ 500 ] : 'transparent' } ;
320- background: ${ props => props . $isSelected ? theme . colors . primary [ 100 ] : theme . colors . neutral [ 0 ] } ;
320+ background: ${ props => props . $isSelected ? theme . colors . primary [ 100 ] : props . theme . colors . neutral0 } ;
321321 border-radius: 8px;
322322 cursor: pointer;
323323 transition: all 0.15s ease;
324324
325325 svg {
326326 width: 20px;
327327 height: 20px;
328- color: ${ props => props . $isSelected ? theme . colors . primary [ 500 ] : theme . colors . neutral [ 600 ] } ;
328+ color: ${ props => props . $isSelected ? theme . colors . primary [ 500 ] : props . theme . colors . neutral600 } ;
329329 }
330330
331331 &:hover {
@@ -353,7 +353,7 @@ const SelectedIconCircle = styled.div`
353353 width: 52px;
354354 height: 52px;
355355 border-radius: 12px;
356- background: ${ theme . colors . neutral [ 0 ] } ;
356+ background: ${ ( p ) => p . theme . colors . neutral0 } ;
357357 border: 2px solid ${ theme . colors . primary [ 500 ] } ;
358358 display: flex;
359359 align-items: center;
@@ -372,7 +372,7 @@ const PublicToggleContainer = styled.div`
372372 align-items: center;
373373 justify-content: space-between;
374374 padding: 14px 16px;
375- background: ${ theme . colors . neutral [ 100 ] } ;
375+ background: ${ ( p ) => p . theme . colors . neutral100 } ;
376376 border-radius: 10px;
377377 margin-bottom: 16px;
378378` ;
@@ -432,9 +432,9 @@ const SwitchSlider = styled.span<{ $checked?: boolean }>`
432432const SelectionList = styled . div < { $disabled ?: boolean } > `
433433 max-height: 140px;
434434 overflow-y: auto;
435- border: 1px solid ${ theme . colors . neutral [ 200 ] } ;
435+ border: 1px solid rgba(128, 128, 128, 0.25) ;
436436 border-radius: 8px;
437- background: ${ props => props . $disabled ? theme . colors . neutral [ 100 ] : theme . colors . neutral [ 0 ] } ;
437+ background: ${ props => props . $disabled ? props . theme . colors . neutral100 : props . theme . colors . neutral0 } ;
438438 opacity: ${ props => props . $disabled ? 0.6 : 1 } ;
439439 pointer-events: ${ props => props . $disabled ? 'none' : 'auto' } ;
440440
@@ -458,7 +458,7 @@ const SelectionItem = styled.label<{ $selected?: boolean }>`
458458 gap: 12px;
459459 padding: 10px 14px;
460460 cursor: pointer;
461- border-bottom: 1px solid ${ theme . colors . neutral [ 200 ] } ;
461+ border-bottom: 1px solid rgba(128, 128, 128, 0.25) ;
462462 background: ${ props => props . $selected ? theme . colors . primary [ 100 ] : 'transparent' } ;
463463 transition: all 0.15s ease;
464464
@@ -467,15 +467,15 @@ const SelectionItem = styled.label<{ $selected?: boolean }>`
467467 }
468468
469469 &:hover {
470- background: ${ props => props . $selected ? theme . colors . primary [ 100 ] : theme . colors . neutral [ 100 ] } ;
470+ background: ${ props => props . $selected ? theme . colors . primary [ 100 ] : props . theme . colors . neutral100 } ;
471471 }
472472` ;
473473
474474const CustomCheckbox = styled . div < { $checked ?: boolean } > `
475475 width: 20px;
476476 height: 20px;
477477 border-radius: 4px;
478- border: 2px solid ${ props => props . $checked ? theme . colors . primary [ 500 ] : theme . colors . neutral [ 400 ] } ;
478+ border: 2px solid ${ props => props . $checked ? theme . colors . primary [ 500 ] : props . theme . colors . neutral400 } ;
479479 background: ${ props => props . $checked ? theme . colors . primary [ 500 ] : 'transparent' } ;
480480 display: flex;
481481 align-items: center;
@@ -493,7 +493,7 @@ const CustomCheckbox = styled.div<{ $checked?: boolean }>`
493493
494494const ItemLabel = styled . span < { $selected ?: boolean } > `
495495 font-size: 0.875rem;
496- color: ${ props => props . $selected ? theme . colors . primary [ 600 ] : theme . colors . neutral [ 800 ] } ;
496+ color: ${ props => props . $selected ? theme . colors . primary [ 600 ] : props . theme . colors . neutral800 } ;
497497 font-weight: ${ props => props . $selected ? 600 : 400 } ;
498498` ;
499499
@@ -518,13 +518,13 @@ const Label = styled.label`
518518 display: block;
519519 font-size: 0.875rem;
520520 font-weight: 600;
521- color: ${ theme . colors . neutral [ 800 ] } ;
521+ color: ${ ( p ) => p . theme . colors . neutral800 } ;
522522 margin-bottom: 8px;
523523` ;
524524
525525const HintText = styled . p `
526526 font-size: 0.75rem;
527- color: ${ theme . colors . neutral [ 600 ] } ;
527+ color: ${ ( p ) => p . theme . colors . neutral600 } ;
528528 margin-top: 6px;
529529 display: flex;
530530 align-items: center;
@@ -539,12 +539,12 @@ const HintText = styled.p`
539539
540540const PathDisplay = styled . div `
541541 padding: 12px 14px;
542- background: ${ theme . colors . neutral [ 100 ] } ;
543- border: 1px solid ${ theme . colors . neutral [ 200 ] } ;
542+ background: ${ ( p ) => p . theme . colors . neutral100 } ;
543+ border: 1px solid rgba(128, 128, 128, 0.25) ;
544544 border-radius: 8px;
545545 font-family: 'Monaco', 'Menlo', monospace;
546546 font-size: 0.8rem;
547- color: ${ theme . colors . neutral [ 600 ] } ;
547+ color: ${ ( p ) => p . theme . colors . neutral600 } ;
548548 word-break: break-all;
549549` ;
550550
@@ -565,7 +565,7 @@ const ErrorBox = styled.div`
565565const SectionLabel = styled . div `
566566 font-size: 0.75rem;
567567 font-weight: 600;
568- color: ${ theme . colors . neutral [ 600 ] } ;
568+ color: ${ ( p ) => p . theme . colors . neutral600 } ;
569569 text-transform: uppercase;
570570 letter-spacing: 0.5px;
571571 margin-bottom: 8px;
@@ -579,7 +579,7 @@ const SectionLabel = styled.div`
579579const StyledTextInput = styled ( TextInput ) `
580580 input {
581581 border-radius: 8px;
582- border: 1px solid ${ theme . colors . neutral [ 200 ] } ;
582+ border: 1px solid rgba(128, 128, 128, 0.25) ;
583583
584584 &:focus {
585585 border-color: ${ theme . colors . primary [ 500 ] } ;
@@ -591,7 +591,7 @@ const StyledTextInput = styled(TextInput)`
591591const StyledTextarea = styled ( Textarea ) `
592592 textarea {
593593 border-radius: 8px;
594- border: 1px solid ${ theme . colors . neutral [ 200 ] } ;
594+ border: 1px solid rgba(128, 128, 128, 0.25) ;
595595 min-height: 80px;
596596
597597 &:focus {
@@ -844,7 +844,7 @@ const CreateEditModal: React.FC<CreateEditModalProps> = ({
844844 < SelectedIcon />
845845 </ SelectedIconCircle >
846846 < div style = { { display : 'flex' , flexDirection : 'column' , gap : '2px' } } >
847- < Typography variant = "pi" fontWeight = "semiBold" style = { { color : theme . colors . neutral [ 800 ] , display : 'block' } } >
847+ < Typography variant = "pi" fontWeight = "semiBold" style = { { color : 'var(-- colors-neutral800, #32324D)' , display : 'block' } } >
848848 { BOOKMARK_ICONS . find ( i => i . id === icon ) ?. label || 'Bookmark' }
849849 </ Typography >
850850 < Typography variant = "pi" textColor = "neutral600" style = { { fontSize : '0.75rem' , display : 'block' } } >
@@ -893,10 +893,10 @@ const CreateEditModal: React.FC<CreateEditModalProps> = ({
893893 < PublicToggleInfo >
894894 < GlobeAltIcon />
895895 < div style = { { display : 'flex' , flexDirection : 'column' , gap : '2px' } } >
896- < Typography variant = "pi" fontWeight = "semiBold" style = { { color : theme . colors . neutral [ 800 ] , display : 'block' } } >
896+ < Typography variant = "pi" fontWeight = "semiBold" style = { { color : 'var(-- colors-neutral800, #32324D)' , display : 'block' } } >
897897 Public Bookmark
898898 </ Typography >
899- < Typography variant = "pi" style = { { fontSize : '0.75rem' , color : theme . colors . neutral [ 600 ] , display : 'block' } } >
899+ < Typography variant = "pi" style = { { fontSize : '0.75rem' , color : 'var(-- colors-neutral600, #666687)' , display : 'block' } } >
900900 All admin users can see this
901901 </ Typography >
902902 </ div >
@@ -1003,7 +1003,7 @@ const CreateEditModal: React.FC<CreateEditModalProps> = ({
10031003 < FormField >
10041004 < Label >
10051005 { formatMessage ( { id : `${ pluginId } .form.description` , defaultMessage : 'Description' } ) }
1006- < span style = { { fontWeight : 400 , color : theme . colors . neutral [ 600 ] } } > (Optional)</ span >
1006+ < span style = { { fontWeight : 400 , color : 'var(-- colors-neutral600, #666687)' } } > (Optional)</ span >
10071007 </ Label >
10081008 < StyledTextarea
10091009 placeholder = { formatMessage ( { id : `${ pluginId } .form.descriptionPlaceholder` , defaultMessage : 'Add a description...' } ) }
0 commit comments