Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions app/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,6 @@ dd {
margin: 0;
}

/* Reset button styles */
button {
cursor: pointer;
}

/* Selection */
::selection {
background-color: var(--fg-muted);
Expand Down
6 changes: 1 addition & 5 deletions app/components/ColumnPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@ function handleReset() {
v-for="column in toggleableColumns"
:key="column.id"
class="flex gap-2 items-center px-3 py-2 transition-colors duration-200"
:class="
column.disabled
? 'opacity-50 cursor-not-allowed'
: 'hover:bg-bg-muted cursor-pointer'
"
:class="column.disabled ? 'opacity-50 cursor-not-allowed' : 'hover:bg-bg-muted'"
>
<input
type="checkbox"
Expand Down
2 changes: 1 addition & 1 deletion app/components/DependencyPathPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function parsePackageString(pkg: string): { name: string; version: string } {
<!-- Path badge button -->
<button
type="button"
class="path-badge font-mono text-3xs px-1.5 py-0.5 rounded bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400 cursor-pointer transition-all duration-200 ease-out whitespace-nowrap flex items-center gap-1 hover:bg-amber-500/20 hover:border-amber-500/50"
class="path-badge font-mono text-3xs px-1.5 py-0.5 rounded bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400 transition-all duration-200 ease-out whitespace-nowrap flex items-center gap-1 hover:bg-amber-500/20 hover:border-amber-500/50"
:aria-expanded="isOpen"
@click.stop="togglePopup"
>
Expand Down
2 changes: 1 addition & 1 deletion app/components/Header/AuthModal.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ watch(handleInput, newHandleInput => {

<details class="text-sm">
<summary
class="text-fg-subtle cursor-pointer hover:text-fg-muted transition-colors duration-200 focus-visible:(outline-2 outline-accent/70)"
class="text-fg-subtle hover:text-fg-muted transition-colors duration-200 focus-visible:(outline-2 outline-accent/70)"
>
{{ $t('auth.modal.what_is_atmosphere') }}
</summary>
Expand Down
4 changes: 1 addition & 3 deletions app/components/Header/ConnectorModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ function handleDisconnect() {
</div>

<details class="text-sm">
<summary
class="text-fg-subtle cursor-pointer hover:text-fg-muted transition-colors duration-200"
>
<summary class="text-fg-subtle hover:text-fg-muted transition-colors duration-200">
{{ $t('connector.modal.advanced') }}
</summary>
<div class="mt-3">
Expand Down
2 changes: 1 addition & 1 deletion app/components/Org/OperationsQueue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ watch(isExecuting, executing => {
<!-- Completed operations log (collapsed by default) -->
<details v-if="hasCompletedOperations" class="mt-4 border-t border-border pt-4">
<summary
class="flex items-center gap-2 font-mono text-xs text-fg-muted cursor-pointer hover:text-fg transition-colors duration-200 select-none"
class="flex items-center gap-2 font-mono text-xs text-fg-muted hover:text-fg transition-colors duration-200 select-none"
>
<span
class="i-carbon:chevron-right rtl-flip w-3 h-3 transition-transform duration-200 [[open]>&]:rotate-90"
Expand Down
2 changes: 1 addition & 1 deletion app/components/Package/ClaimPackageModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ const previewPackageJson = computed(() => {
<!-- Expandable package.json preview -->
<details class="border border-border rounded-md overflow-hidden">
<summary
class="px-3 py-2 text-sm text-fg-muted bg-bg-subtle cursor-pointer hover:text-fg transition-colors select-none"
class="px-3 py-2 text-sm text-fg-muted bg-bg-subtle hover:text-fg transition-colors select-none"
>
{{ $t('claim.modal.preview_json') }}
</summary>
Expand Down
2 changes: 1 addition & 1 deletion app/components/Package/ListControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const showFilteredCount = computed(() => {
<select
id="package-sort"
v-model="sortValue"
class="appearance-none bg-bg-subtle border border-border rounded-lg ps-3 pe-8 py-2 font-mono text-sm text-fg cursor-pointer transition-colors duration-200 focus:(border-border-hover outline-none) hover:border-border-hover"
class="appearance-none bg-bg-subtle border border-border rounded-lg ps-3 pe-8 py-2 font-mono text-sm text-fg transition-colors duration-200 focus:(border-border-hover outline-none) hover:border-border-hover"
>
<option v-for="option in sortOptions" :key="option.value" :value="option.value">
{{ option.label }}
Expand Down
2 changes: 1 addition & 1 deletion app/components/Package/ListToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function getSortKeyLabelKey(key: SortKey): string {
<select
id="sort-select"
:value="currentSort.key"
class="appearance-none bg-bg-subtle border border-border rounded-md ps-3 pe-8 py-1.5 font-mono text-sm text-fg cursor-pointer transition-colors duration-200 hover:border-border-hover"
class="appearance-none bg-bg-subtle border border-border rounded-md ps-3 pe-8 py-1.5 font-mono text-sm text-fg transition-colors duration-200 hover:border-border-hover"
@change="handleSortKeyChange"
>
<option
Expand Down
2 changes: 1 addition & 1 deletion app/components/Package/ManagerSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function handleKeydown(event: KeyboardEvent) {
:key="pm.id"
role="option"
:aria-selected="selectedPM === pm.id"
class="flex items-center gap-2 px-3 py-1.5 font-mono text-xs cursor-pointer transition-colors duration-150"
class="flex items-center gap-2 px-3 py-1.5 font-mono text-xs transition-colors duration-150"
:class="[
selectedPM === pm.id ? 'text-fg' : 'text-fg-subtle',
highlightedIndex === index ? 'bg-bg-elevated' : 'hover:bg-bg-elevated',
Expand Down
7 changes: 3 additions & 4 deletions app/components/Package/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function getColumnLabel(id: ColumnId): string {
scope="col"
class="py-3 px-3 text-xs text-start text-fg-muted font-mono font-medium uppercase tracking-wider whitespace-nowrap select-none focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-inset focus-visible:outline-none"
:class="{
'cursor-pointer hover:text-fg transition-colors duration-200': isSortable('name'),
'hover:text-fg transition-colors duration-200': isSortable('name'),
}"
:aria-sort="
isColumnSorted('name')
Expand Down Expand Up @@ -169,8 +169,7 @@ function getColumnLabel(id: ColumnId): string {
scope="col"
class="py-3 px-3 text-xs text-start text-fg-muted font-mono font-medium uppercase tracking-wider whitespace-nowrap select-none text-end focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-inset focus-visible:outline-none"
:class="{
'cursor-pointer hover:text-fg transition-colors duration-200':
isSortable('downloads'),
'hover:text-fg transition-colors duration-200': isSortable('downloads'),
}"
:aria-sort="
isColumnSorted('downloads')
Expand Down Expand Up @@ -204,7 +203,7 @@ function getColumnLabel(id: ColumnId): string {
scope="col"
class="py-3 px-3 text-xs text-start text-fg-muted font-mono font-medium uppercase tracking-wider whitespace-nowrap select-none text-end focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-inset focus-visible:outline-none"
:class="{
'cursor-pointer hover:text-fg transition-colors duration-200': isSortable('updated'),
'hover:text-fg transition-colors duration-200': isSortable('updated'),
}"
:aria-sort="
isColumnSorted('updated')
Expand Down
2 changes: 1 addition & 1 deletion app/components/PaginationControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function handlePageSizeChange(event: Event) {
<select
id="page-size"
:value="pageSize"
class="appearance-none bg-bg-subtle border border-border rounded-md ps-3 pe-8 py-1 font-mono text-sm text-fg cursor-pointer transition-colors duration-200 hover:border-border-hover"
class="appearance-none bg-bg-subtle border border-border rounded-md ps-3 pe-8 py-1 font-mono text-sm text-fg transition-colors duration-200 hover:border-border-hover"
@change="handlePageSizeChange"
>
<option v-for="size in PAGE_SIZE_OPTIONS" :key="size" :value="size">
Expand Down
4 changes: 2 additions & 2 deletions app/components/Settings/AccentColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ onPrehydrate(el => {
<label
v-for="color in accentColors"
:key="color.id"
class="size-6 rounded-full transition-transform duration-150 motion-safe:hover:scale-110 cursor-pointer has-[:checked]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) has-[:focus-visible]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle)"
class="size-6 rounded-full transition-transform duration-150 motion-safe:hover:scale-110 has-[:checked]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) has-[:focus-visible]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle)"
:style="{ backgroundColor: `var(--swatch-${color.id})` }"
>
<input
Expand All @@ -44,7 +44,7 @@ onPrehydrate(el => {
/>
</label>
<label
class="size-6 rounded-full transition-transform duration-150 motion-safe:hover:scale-110 cursor-pointer has-[:checked]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) has-[:focus-visible]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) flex items-center justify-center bg-fg"
class="size-6 rounded-full transition-transform duration-150 motion-safe:hover:scale-110 has-[:checked]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) has-[:focus-visible]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) flex items-center justify-center bg-fg"
>
<input
type="radio"
Expand Down
2 changes: 1 addition & 1 deletion app/components/Settings/BgThemePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ onPrehydrate(el => {
<label
v-for="theme in backgroundThemes"
:key="theme.id"
class="size-6 rounded-full transition-transform duration-150 motion-safe:hover:scale-110 cursor-pointer has-[:checked]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) has-[:focus-visible]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle)"
class="size-6 rounded-full transition-transform duration-150 motion-safe:hover:scale-110 has-[:checked]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle) has-[:focus-visible]:(ring-2 ring-fg ring-offset-2 ring-offset-bg-subtle)"
:style="{ backgroundColor: theme.value }"
>
<input
Expand Down
2 changes: 1 addition & 1 deletion app/components/Settings/Toggle.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const checked = defineModel<boolean>({
{{ label }}
</span>
<span
class="inline-flex items-center h-6 w-11 shrink-0 rounded-full border p-0.25 transition-colors duration-200 shadow-sm ease-in-out motion-reduce:transition-none cursor-pointer group-focus-visible:(outline-accent/70 outline-offset-2 outline-solid)"
class="inline-flex items-center h-6 w-11 shrink-0 rounded-full border p-0.25 transition-colors duration-200 shadow-sm ease-in-out motion-reduce:transition-none group-focus-visible:(outline-accent/70 outline-offset-2 outline-solid)"
:class="
checked
? 'bg-accent border-accent group-hover:bg-accent/80'
Expand Down
2 changes: 1 addition & 1 deletion app/components/Tag/RadioButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const onChange = () => {
class="peer sr-only"
/>
<label
class="bg-bg-muted text-fg-muted border-border hover:(text-fg border-border-hover) inline-flex items-center px-2 py-0.5 text-xs font-mono border rounded transition-colors duration-200 peer-focus-visible:(outline-2 outline-accent/70 outline-offset-2) border-none cursor-pointer peer-checked:(bg-fg text-bg border-fg hover:(text-text-bg/50)) peer-disabled:(opacity-50 pointer-events-none)"
class="bg-bg-muted text-fg-muted border-border hover:(text-fg border-border-hover) inline-flex items-center px-2 py-0.5 text-xs font-mono border rounded transition-colors duration-200 peer-focus-visible:(outline-2 outline-accent/70 outline-offset-2) border-none peer-checked:(bg-fg text-bg border-fg hover:(text-text-bg/50)) peer-disabled:(opacity-50 pointer-events-none)"
:htmlFor="internalId"
>
<slot />
Expand Down
2 changes: 1 addition & 1 deletion app/components/UserCombobox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const prefersReducedMotion = useMediaQuery('(prefers-reduced-motion: reduce)')
:key="username"
role="option"
:aria-selected="highlightedIndex === index"
class="px-2 py-1 font-mono text-sm cursor-pointer transition-colors duration-100"
class="px-2 py-1 font-mono text-sm transition-colors duration-100"
:class="
highlightedIndex === index
? 'bg-bg-muted text-fg'
Expand Down
2 changes: 1 addition & 1 deletion app/components/VersionSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ watch(
flatItems[focusedIndex]?.groupId === group.id &&
flatItems[focusedIndex]?.type === 'group'
"
class="flex items-center gap-2 px-3 py-2 text-sm font-mono hover:bg-bg-muted transition-[color,background-color] focus-visible:outline-none cursor-pointer"
class="flex items-center gap-2 px-3 py-2 text-sm font-mono hover:bg-bg-muted transition-[color,background-color] focus-visible:outline-none"
:class="[
group.primaryVersion.isCurrent ? 'text-fg bg-bg-muted' : 'text-fg-muted',
flatItems[focusedIndex]?.groupId === group.id &&
Expand Down
4 changes: 2 additions & 2 deletions app/pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const setLocale: typeof setNuxti18nLocale = locale => {
<select
id="theme-select"
:value="colorMode.preference"
class="w-full sm:w-auto min-w-48 bg-bg border border-border rounded-md px-3 py-2 text-sm text-fg cursor-pointer duration-200 transition-colors hover:border-fg-subtle"
class="w-full sm:w-auto min-w-48 bg-bg border border-border rounded-md px-3 py-2 text-sm text-fg duration-200 transition-colors hover:border-fg-subtle"
@change="
colorMode.preference = ($event.target as HTMLSelectElement).value as
| 'light'
Expand Down Expand Up @@ -163,7 +163,7 @@ const setLocale: typeof setNuxti18nLocale = locale => {
<select
id="language-select"
:value="locale"
class="w-full sm:w-auto min-w-48 bg-bg border border-border rounded-md px-3 py-2 text-sm text-fg focus-visible:outline-accent/70 cursor-pointer duration-200 transition-colors hover:border-fg-subtle"
class="w-full sm:w-auto min-w-48 bg-bg border border-border rounded-md px-3 py-2 text-sm text-fg focus-visible:outline-accent/70 duration-200 transition-colors hover:border-fg-subtle"
@change="setLocale(($event.target as HTMLSelectElement).value as typeof locale)"
>
<option v-for="loc in locales" :key="loc.code" :value="loc.code" :lang="loc.code">
Expand Down
Loading