codexly-ui 0.10.109 → 0.10.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
::-webkit-scrollbar { width: 0.5rem; height: 0.5rem; }
|
|
29
29
|
::-webkit-scrollbar-track { background-color: transparent; }
|
|
30
30
|
::-webkit-scrollbar-thumb {
|
|
31
|
-
background-color: var(--clx-primary-light);
|
|
31
|
+
background-color: var(--clx-scroll-light, var(--clx-primary-light));
|
|
32
32
|
border-radius: 0.5rem;
|
|
33
33
|
}
|
|
34
|
-
::-webkit-scrollbar-thumb:hover { background-color: var(--clx-primary); }
|
|
34
|
+
::-webkit-scrollbar-thumb:hover { background-color: var(--clx-scroll, var(--clx-primary)); }
|
package/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -652,6 +652,7 @@ class ClxThemeService {
|
|
|
652
652
|
const cfg = this._config();
|
|
653
653
|
this._applyColorVar('--clx-primary', '--clx-primary-light', cfg.primaryColor);
|
|
654
654
|
this._applyColorVar('--clx-secondary', '--clx-secondary-light', cfg.secondaryColor);
|
|
655
|
+
this._applyColorVar('--clx-scroll', '--clx-scroll-light', cfg.scrollColor ?? cfg.primaryColor);
|
|
655
656
|
this._applyTextColor(cfg.textColor, this.isDark());
|
|
656
657
|
});
|
|
657
658
|
effect(() => {
|
|
@@ -10901,10 +10902,6 @@ class ClxProfileComponent {
|
|
|
10901
10902
|
const t = resolveColor(this._color());
|
|
10902
10903
|
return `focus-visible:${t.ringBase}`;
|
|
10903
10904
|
}, ...(ngDevMode ? [{ debugName: "_ringClass" }] : /* istanbul ignore next */ []));
|
|
10904
|
-
_avatarRingClass = computed(() => {
|
|
10905
|
-
const t = resolveColor(this._color());
|
|
10906
|
-
return `border-2 ${t.borderLight}`;
|
|
10907
|
-
}, ...(ngDevMode ? [{ debugName: "_avatarRingClass" }] : /* istanbul ignore next */ []));
|
|
10908
10905
|
// ── Methods ──────────────────────────────────────────────────────────────────
|
|
10909
10906
|
_toggle() { this._isOpen.update(v => !v); }
|
|
10910
10907
|
_close() { this._isOpen.set(false); }
|
|
@@ -10950,15 +10947,13 @@ class ClxProfileComponent {
|
|
|
10950
10947
|
|
|
10951
10948
|
<div class="w-72 bg-clx-surface rounded-2xl shadow-xl border border-clx-border-soft overflow-hidden mt-2">
|
|
10952
10949
|
|
|
10953
|
-
<!-- Header: avatar
|
|
10954
|
-
<div class="px-4 pt-
|
|
10955
|
-
<
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
size="md" />
|
|
10961
|
-
</div>
|
|
10950
|
+
<!-- Header: avatar + name + role badge -->
|
|
10951
|
+
<div class="px-4 pt-4 pb-3 flex items-center gap-3">
|
|
10952
|
+
<clx-avatar
|
|
10953
|
+
[initials]="_initials()"
|
|
10954
|
+
[src]="avatarSrc()"
|
|
10955
|
+
[color]="_color()"
|
|
10956
|
+
size="md" />
|
|
10962
10957
|
<div class="flex-1 min-w-0">
|
|
10963
10958
|
<p class="text-sm font-semibold text-clx-text-label truncate">{{ fullName() }}</p>
|
|
10964
10959
|
<p class="text-xs text-clx-text-muted truncate">{{ username() }}</p>
|
|
@@ -10968,6 +10963,9 @@ class ClxProfileComponent {
|
|
|
10968
10963
|
</div>
|
|
10969
10964
|
</div>
|
|
10970
10965
|
|
|
10966
|
+
<!-- Divider -->
|
|
10967
|
+
<div class="border-t border-clx-border-soft"></div>
|
|
10968
|
+
|
|
10971
10969
|
<!-- Menu items -->
|
|
10972
10970
|
@if (menuItems().length) {
|
|
10973
10971
|
<div class="py-1.5">
|
|
@@ -11026,15 +11024,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
11026
11024
|
|
|
11027
11025
|
<div class="w-72 bg-clx-surface rounded-2xl shadow-xl border border-clx-border-soft overflow-hidden mt-2">
|
|
11028
11026
|
|
|
11029
|
-
<!-- Header: avatar
|
|
11030
|
-
<div class="px-4 pt-
|
|
11031
|
-
<
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
size="md" />
|
|
11037
|
-
</div>
|
|
11027
|
+
<!-- Header: avatar + name + role badge -->
|
|
11028
|
+
<div class="px-4 pt-4 pb-3 flex items-center gap-3">
|
|
11029
|
+
<clx-avatar
|
|
11030
|
+
[initials]="_initials()"
|
|
11031
|
+
[src]="avatarSrc()"
|
|
11032
|
+
[color]="_color()"
|
|
11033
|
+
size="md" />
|
|
11038
11034
|
<div class="flex-1 min-w-0">
|
|
11039
11035
|
<p class="text-sm font-semibold text-clx-text-label truncate">{{ fullName() }}</p>
|
|
11040
11036
|
<p class="text-xs text-clx-text-muted truncate">{{ username() }}</p>
|
|
@@ -11044,6 +11040,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
11044
11040
|
</div>
|
|
11045
11041
|
</div>
|
|
11046
11042
|
|
|
11043
|
+
<!-- Divider -->
|
|
11044
|
+
<div class="border-t border-clx-border-soft"></div>
|
|
11045
|
+
|
|
11047
11046
|
<!-- Menu items -->
|
|
11048
11047
|
@if (menuItems().length) {
|
|
11049
11048
|
<div class="py-1.5">
|