fix: pull user from locals and theme picker default
This commit is contained in:
@@ -147,8 +147,10 @@
|
||||
</button>
|
||||
|
||||
<div
|
||||
style={`border-color: ${isCustomTheme ? $currentOrg.theme : 'dark:border-neutral-700'};`}
|
||||
class="group relative h-auto w-fit cursor-pointer rounded-full border-2"
|
||||
style={isCustomTheme ? `border-color: ${$currentOrg.theme};` : ''}
|
||||
class="group relative h-auto w-fit cursor-pointer rounded-full border-2 {!isCustomTheme
|
||||
? 'custom-theme-picker--empty'
|
||||
: ''}"
|
||||
>
|
||||
<!-- plus icon positioned over the color picker -->
|
||||
<div
|
||||
@@ -232,4 +234,12 @@
|
||||
:global(.color::before) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:global(.custom-theme-picker--empty .color) {
|
||||
background-color: #e5e7eb !important;
|
||||
}
|
||||
|
||||
:global(.dark .custom-theme-picker--empty .color) {
|
||||
background-color: #374151 !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user