use tailwind tokens for border-radius values

This commit is contained in:
pa
2026-03-08 22:17:12 +09:00
parent ff47255e07
commit be2f07f24e
6 changed files with 53 additions and 27 deletions

View File

@@ -1717,9 +1717,7 @@
.group-item:hover {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
.group-item__top {
@@ -1924,9 +1922,7 @@
:deep(.favorites-search-card:hover) {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
:deep(.favorites-search-card__content) {

View File

@@ -1357,9 +1357,7 @@
.group-item:hover {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
.group-item__top {
@@ -1551,9 +1549,7 @@
:deep(.favorites-search-card:hover) {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
:deep(.favorites-search-card.is-selected) {

View File

@@ -1588,9 +1588,7 @@
.group-item:hover {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
.group-item__top {
@@ -1840,9 +1838,7 @@
:deep(.favorites-search-card:hover) {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
:deep(.favorites-search-card.is-selected) {

View File

@@ -249,9 +249,7 @@
&:hover {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
}

View File

@@ -424,18 +424,30 @@
isAutoChangeStatusDialogVisible.value = true;
};
/**
*
*/
function showExportDiscordNamesDialog() {
isExportDiscordNamesDialogVisible.value = true;
}
/**
*
*/
function showExportFriendsListDialog() {
isExportFriendsListDialogVisible.value = true;
}
/**
*
*/
function showExportAvatarsListDialog() {
isExportAvatarsListDialogVisible.value = true;
}
/**
*
*/
function openVrcPhotosFolder() {
AppApi.OpenVrcPhotosFolder().then((result) => {
if (result) {
@@ -446,6 +458,9 @@
});
}
/**
*
*/
function openVrcScreenshotsFolder() {
AppApi.OpenVrcScreenshotsFolder().then((result) => {
if (result) {
@@ -456,6 +471,9 @@
});
}
/**
*
*/
function openVrcxAppDataFolder() {
AppApi.OpenVrcxAppDataFolder().then((result) => {
if (result) {
@@ -466,6 +484,9 @@
});
}
/**
*
*/
function openVrcAppDataFolder() {
AppApi.OpenVrcAppDataFolder().then((result) => {
if (result) {
@@ -476,6 +497,9 @@
});
}
/**
*
*/
function openCrashVrcCrashDumps() {
AppApi.OpenCrashVrcCrashDumps().then((result) => {
if (result) {
@@ -539,9 +563,7 @@
&:hover {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
.tool-content {

View File

@@ -175,12 +175,20 @@
}
});
/**
*
* @param event
*/
async function openCalendarEvent(event) {
const content = await getCalendarIcs(event);
if (!content) return;
await AppApi.OpenCalendarFile(content);
}
/**
*
* @param event
*/
async function getCalendarIcs(event) {
const url = `${AppDebug.endpointDomain}/calendar/${event.ownerId}/${event.id}.ics`;
try {
@@ -198,6 +206,10 @@
}
}
/**
*
* @param event
*/
async function downloadEventIcs(event) {
const content = await getCalendarIcs(event);
if (!content) return;
@@ -211,6 +223,10 @@
URL.revokeObjectURL(link.href);
}
/**
*
* @param event
*/
async function toggleEventFollow(event) {
const args = await groupRequest.followGroupEvent({
groupId: event.ownerId,
@@ -220,6 +236,10 @@
emit('update-following-calendar-data', args.json);
}
/**
*
* @param event
*/
function copyEventLink(event) {
const eventLink = `https://vrchat.com/home/group/${event.ownerId}/calendar/${event.id}`;
navigator.clipboard.writeText(eventLink);
@@ -264,9 +284,7 @@
.event-card:hover {
background-color: var(--accent);
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
box-shadow: var(--shadow-sm);
}
.event-card.grouped-card {