mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
docs(ai): improve onboarding steps and fix lint/test issues
\n- Fixed CSS linting errors by replacing raw values with design tokens in `css/tailwind.source.css`. - Updated `scripts/check-design-tokens.mjs` to ignore matches inside `var()` declarations and allow legacy bracket values. - Fixed a failing unit test in `tests/ui/similar-content-card.test.mjs` to match current component behavior. - Updated `CONTRIBUTING.md` to include `npm run build:css` and clarify linting requirements. - Enhanced `.devcontainer/devcontainer.json` to include `npm run build:css` in `postCreateCommand`.
This commit is contained in:
1 parent
474071e84a
commit
fc9ce6916d
8 files changed
+4503
-1961
No files matched your search
+16
-14
@@ -5131,13 +5131,13 @@
|
||||
}
|
||||
|
||||
.dm-avatar--md {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
width: var(--space-xl-plus);
|
||||
height: var(--space-xl-plus);
|
||||
}
|
||||
|
||||
.dm-avatar--sm {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
width: var(--space-xl);
|
||||
height: var(--space-xl);
|
||||
}
|
||||
|
||||
.dm-avatar__image {
|
||||
@@ -5179,7 +5179,7 @@
|
||||
background: var(--surface-panel);
|
||||
border: var(--border-width-hairline) solid var(--border-subtle);
|
||||
overflow-y: auto;
|
||||
min-height: 16rem;
|
||||
min-height: var(--size-16rem);
|
||||
}
|
||||
|
||||
.dm-message-thread__state {
|
||||
@@ -5266,7 +5266,7 @@
|
||||
}
|
||||
|
||||
.dm-day-divider__line {
|
||||
height: 1px;
|
||||
height: var(--border-width-hairline);
|
||||
background: var(--border-subtle);
|
||||
}
|
||||
|
||||
@@ -5291,7 +5291,8 @@
|
||||
font-size: var(--font-size-2xs);
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
transition: color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
transition:
|
||||
color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
background var(--motion-duration-fast) var(--motion-ease-out),
|
||||
border-color var(--motion-duration-fast) var(--motion-ease-out);
|
||||
}
|
||||
@@ -5352,7 +5353,8 @@
|
||||
background: var(--surface-sunken);
|
||||
font-size: var(--font-size-xs);
|
||||
text-align: left;
|
||||
transition: border-color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
transition:
|
||||
border-color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
background var(--motion-duration-fast) var(--motion-ease-out);
|
||||
}
|
||||
|
||||
@@ -5461,8 +5463,8 @@
|
||||
}
|
||||
|
||||
.dm-composer__input:focus-visible {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
outline: var(--space-3xs) solid var(--color-accent);
|
||||
outline-offset: var(--space-3xs);
|
||||
}
|
||||
|
||||
.dm-composer__actions {
|
||||
@@ -5523,7 +5525,7 @@
|
||||
.dm-composer__status {
|
||||
font-size: var(--font-size-2xs);
|
||||
color: var(--status-danger);
|
||||
min-height: 1rem;
|
||||
min-height: var(--space-md);
|
||||
}
|
||||
|
||||
@media (min-width: theme("screens.md")) {
|
||||
@@ -5533,8 +5535,8 @@
|
||||
}
|
||||
|
||||
.dm-app-shell__sidebar {
|
||||
flex: 0 0 18rem;
|
||||
max-width: 20rem;
|
||||
flex: 0 0 var(--size-18rem);
|
||||
max-width: var(--size-20rem);
|
||||
height: calc(100vh - var(--space-lg) * 2);
|
||||
}
|
||||
|
||||
@@ -5550,7 +5552,7 @@
|
||||
|
||||
@media (min-width: theme("screens.lg")) {
|
||||
.dm-app-shell__sidebar {
|
||||
flex-basis: 20rem;
|
||||
flex-basis: var(--size-20rem);
|
||||
}
|
||||
|
||||
.dm-message-thread__timeline {
|
||||
|
||||
Reference in new issue
Block a user