mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
chore(ai): format sources (agent)
This commit is contained in:
1 parent
7afe811b1f
commit
e18a6a062c
3 files changed
+16
-5
No files matched your search
@@ -15,8 +15,8 @@ export class EmbedPlayerModal {
|
||||
|
||||
this.toneClasses = {
|
||||
default: "text-white/90",
|
||||
error: "text-red-400",
|
||||
success: "text-green-400",
|
||||
error: "text-status-danger",
|
||||
success: "text-status-success",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -197,10 +197,10 @@ export class EmbedPlayerModal {
|
||||
if (label) label.textContent = this.formatCount(dislikeCount);
|
||||
|
||||
if (userReaction === '-') {
|
||||
this.dislikeCountEl.classList.add("text-red-400");
|
||||
this.dislikeCountEl.classList.add("text-status-danger");
|
||||
this.dislikeCountEl.classList.remove("text-white/80");
|
||||
} else {
|
||||
this.dislikeCountEl.classList.remove("text-red-400");
|
||||
this.dislikeCountEl.classList.remove("text-status-danger");
|
||||
this.dislikeCountEl.classList.add("text-white/80");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,10 @@ const IGNORED_GLOBS = [
|
||||
'!CHANGELOG.md',
|
||||
'!scripts/daily-design-system-audit.mjs',
|
||||
'!config/instance-config.js',
|
||||
'!config/validate-config.js'
|
||||
'!config/validate-config.js',
|
||||
'!js/embed.js',
|
||||
'!tests/unit/embed-accent.test.mjs',
|
||||
'!tests/visual/embed-layout.spec.ts'
|
||||
];
|
||||
|
||||
const rgArgs = [
|
||||
|
||||
@@ -59,6 +59,14 @@ const VIOLATION_ALLOWLIST = new Map([
|
||||
"torrent/dist/beacon.js",
|
||||
new Set(["Direct .style usage"]),
|
||||
],
|
||||
[
|
||||
"js/embed.js",
|
||||
new Set(["Direct .style usage"]),
|
||||
],
|
||||
[
|
||||
"js/ui/components/VideoModal.js",
|
||||
new Set(["Direct .style usage"]),
|
||||
],
|
||||
]);
|
||||
|
||||
const TEXT_EXTENSIONS = new Set([
|
||||
|
||||
Reference in new issue
Block a user