-
Notifications
You must be signed in to change notification settings - Fork 6
Dev #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Dev #92
Changes from all commits
0e57640
88c00fc
cbf56ab
20b89db
34972eb
c0437c6
f2dd0dc
48707a2
dab6039
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,6 +94,10 @@ const icons = { | |
|
|
||
| pause: `<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="7" y="5" width="3" height="14" rx="1"></rect><rect x="14" y="5" width="3" height="14" rx="1"></rect></svg>`, | ||
|
|
||
| sun: `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sun" aria-hidden="true"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41"></path></svg>`, | ||
|
|
||
| moon: `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon" aria-hidden="true"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"></path></svg>`, | ||
|
|
||
| start: `<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 4 20 12 6 20 6 4" rx="1"></polygon></svg>`, | ||
| }; | ||
|
|
||
|
|
@@ -108,9 +112,9 @@ const wrapperClass = computed(() => { | |
| ]; | ||
|
|
||
| if (props.active) { | ||
| classes.push("text-ext-wf3"); | ||
| classes.push("text-ext-wf3 dark:text-indigo-400"); | ||
| } else { | ||
| classes.push("text-slate-400 group-hover:text-slate-600"); | ||
| classes.push("text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300"); | ||
|
Comment on lines
+115
to
+117
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Files:"
git ls-files | rg '(^|/)BaseIcon\.vue$|base/SvgRegistry|SvgRegistry|IconRegistry|icon.*registry' || true
echo
echo "BaseIcon outline/size:"
if [ -f assets/vue/components/base/BaseIcon.vue ]; then
wc -l assets/vue/components/base/BaseIcon.vue
ast-grep outline assets/vue/components/base/BaseIcon.vue --view expanded || true
fi
echo
echo "Context around lines 100-130:"
sed -n '1,180p' assets/vue/components/base/BaseIcon.vue
echo
echo "Search registry entries and text classes:"
rg -n "warning|template|public|list|copy|text-slate-500|wrapperClass|innerClass|svgClass|color|dark:text-indigo|text-ext-wf3|group-hover:text-slate-300" assets/vue/components/base -S || trueRepository: phpList/web-frontend Length of output: 22641 🏁 Script executed: #!/bin/bash
set -euo pipefail
python3 - <<'PY'
from pathlib import Path
p = Path("assets/vue/components/base/BaseIcon.vue")
if p.exists():
text = p.read_text()
state_classes = [
"text-ext-wf3",
"dark:text-indigo-400",
"group-hover:text-slate-600",
"dark:group-hover:text-slate-300",
"dark:text-slate-400"
]
entries = ["warning", "template", "public", "list", "copy"]
print("Has relevant state class in BaseIcon.vue:", any(c in text for c in state_classes))
for entry in entries:
idx = text.find(entry)
print(f"\nINDEX {entry}: {idx}")
if idx != -1:
lo=max(0, idx-500); hi=min(len(text), idx+500)
print(text[lo:hi])
else:
print("file missing")
PYRepository: phpList/web-frontend Length of output: 4808 Make inner SVG icons inherit or inherit wrapper colors.
🤖 Prompt for AI Agents |
||
| } | ||
|
|
||
| return classes.join(" "); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.