Skip to content

Commit

Permalink
use variant=tonal instead of outlined (gardener#1681)
Browse files Browse the repository at this point in the history
  • Loading branch information
grolu authored Jan 11, 2024
1 parent 278fa93 commit 0eda4ac
Show file tree
Hide file tree
Showing 32 changed files with 79 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SPDX-License-Identifier: Apache-2.0
<template #activator="{ props }">
<v-chip
v-bind="props"
variant="outlined"
variant="tonal"
:size="size"
:color="color"
class="cursor-pointer ml-1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SPDX-License-Identifier: Apache-2.0
<v-alert
v-if="controlPlaneFailureToleranceType === 'node' && !zoneSupported"
type="info"
variant="outlined"
variant="tonal"
>
<template v-if="clusterIsNew">
<template v-if="seedName">
Expand All @@ -52,7 +52,7 @@ SPDX-License-Identifier: Apache-2.0
<v-alert
v-if="controlPlaneFailureToleranceTypeChangeAllowed"
type="info"
variant="outlined"
variant="tonal"
>
It is not possible to disable or change control plane high availability later.
</v-alert>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GCredentialTile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SPDX-License-Identifier: Apache-2.0
label
size="x-small"
class="ml-2"
variant="outlined"
variant="tonal"
>
{{ phaseCaption }}
</v-chip>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SPDX-License-Identifier: Apache-2.0
{{ message }}
<v-btn
v-if="!!detailedMessage"
variant="outlined"
variant="tonal"
size="small"
@click="detailedMessageVisible = !detailedMessageVisible"
>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GPurposeTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SPDX-License-Identifier: Apache-2.0
<v-chip
v-if="!!shortPurpose"
v-bind="props"
:variant="!isCritical ? 'outlined' : 'flat'"
:variant="!isCritical ? 'tonal' : 'flat'"
:text-color="textColor"
color="primary"
size="small"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/GShootActionRotateCredentials.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ SPDX-License-Identifier: Apache-2.0
<v-alert
v-if="mode === 'START'"
type="info"
variant="outlined"
variant="tonal"
dense
>
Note: This rotation operation is split into two steps. This step will <strong>prepare</strong> the rotation.
</v-alert>
<v-alert
v-if="mode === 'COMPLETE'"
type="info"
variant="outlined"
variant="tonal"
dense
>
Note: This rotation operation is split into two steps. This step will <strong>complete</strong> the rotation.
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GShootCustomField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SPDX-License-Identifier: Apache-2.0
v-bind="props"
size="small"
class="cursor-pointer"
variant="outlined"
variant="tonal"
:color="color"
>
<template #prepend>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GStatusTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SPDX-License-Identifier: Apache-2.0
v-bind="props"
ref="tagChipRef"
:class="{ 'cursor-pointer': condition.message }"
:variant="!isError ? 'outlined' : 'flat'"
:variant="!isError ? 'tonal' : 'flat'"
:text-color="textColor"
size="small"
:color="color"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GTerminalSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ SPDX-License-Identifier: Apache-2.0
:model-value="true"
type="info"
color="primary"
variant="outlined"
variant="tonal"
>
<strong>Terminal will be running in an untrusted environment!</strong><br>
Do not enter credentials or sensitive data within the terminal session that cluster owners should not have access to, as the terminal will be running on one of the worker nodes.
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GTerminalShortcut.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SPDX-License-Identifier: Apache-2.0
v-bind="props"
size="small"
color="warning"
variant="outlined"
variant="tonal"
class="my-0 ml-2"
>
Unverified
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GTerminalTarget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SPDX-License-Identifier: Apache-2.0
:value="true"
type="info"
color="primary"
variant="outlined"
variant="tonal"
>
<strong>Terminal will be running on <span class="font-family-monospace">{{ shootName }}</span> cluster</strong><br>
Make sure that only gardener project members with <span class="font-family-monospace">admin</span> role have privileged access to the <span class="font-family-monospace">{{ shootName }}</span> cluster before creating this terminal session.
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/GWildcardSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SPDX-License-Identifier: Apache-2.0
density="compact"
class="mb-1 mr-1 selection-text-field"
flat
variant="outlined"
variant="tonal"
color="primary"
hide-details
@click.stop="$refs.wildCardStart.focus()"
Expand All @@ -44,7 +44,7 @@ SPDX-License-Identifier: Apache-2.0
density="compact"
class="mb-1 ml-1 selection-text-field"
flat
variant="outlined"
variant="tonal"
color="primary"
hide-details
@click.stop="$refs.wildCardEnd.focus()"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Members/GAccountRoles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SPDX-License-Identifier: Apache-2.0
:disabled="notEditable"
size="small"
color="action-button"
variant="outlined"
variant="tonal"
:class="{ 'ml-3': index > 0 }"
>
{{ displayName }}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Members/GMemberDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ SPDX-License-Identifier: Apache-2.0
<v-chip
size="small"
color="primary"
variant="outlined"
variant="tonal"
closable
@update:model-value="internalRoles.splice(index, 1); v$.internalRoles.$touch()"
>
Expand Down Expand Up @@ -82,7 +82,7 @@ SPDX-License-Identifier: Apache-2.0
:value="true"
type="info"
color="primary"
variant="outlined"
variant="tonal"
>
The service account does not exist anymore and will be re-created if you update the roles.
</v-alert>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SPDX-License-Identifier: Apache-2.0
<v-chip
v-bind="props"
size="small"
variant="outlined"
variant="tonal"
color="primary"
class="mr-2 my-0"
>
Expand All @@ -41,7 +41,7 @@ SPDX-License-Identifier: Apache-2.0
<v-chip
v-bind="props"
size="small"
variant="outlined"
variant="tonal"
color="primary"
class="mr-2"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SPDX-License-Identifier: Apache-2.0
label
size="x-small"
color="primary"
variant="outlined"
variant="tonal"
class="pointer"
v-bind="props"
>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ShootDetails/GShootDetailsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ SPDX-License-Identifier: Apache-2.0
v-for="(name, index) in shootAddonNames"
:key="index"
size="small"
variant="outlined"
variant="tonal"
color="primary"
class="mr-2"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ SPDX-License-Identifier: Apache-2.0
label
size="x-small"
color="primary"
variant="outlined"
variant="tonal"
class="ml-2"
>
{{ customDomainChipText }}
Expand Down Expand Up @@ -218,7 +218,7 @@ SPDX-License-Identifier: Apache-2.0
v-bind="props"
size="small"
class="mr-2"
variant="outlined"
variant="tonal"
color="primary"
>
{{ name }}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ShootDns/GDnsProvider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SPDX-License-Identifier: Apache-2.0
v-bind="props"
size="small"
color="primary"
variant="outlined"
variant="tonal"
class="cursor-pointer my-0 ml-0"
>
<g-vendor-icon
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ShootDns/GDnsProviderRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SPDX-License-Identifier: Apache-2.0
<v-btn
:disabled="readonly || primaryReadonly"
size="x-small"
variant="outlined"
variant="tonal"
icon="mdi-close"
color="grey"
@click="onDelete"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ SPDX-License-Identifier: Apache-2.0
<v-col cols="1">
<v-btn
size="x-small"
variant="outlined"
variant="tonal"
icon="mdi-close"
color="grey"
@click.stop="removeScheduleEvent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ SPDX-License-Identifier: Apache-2.0
>
<v-alert
type="warning"
variant="outlined"
variant="tonal"
>
One or more errors occured while parsing hibernation schedules. Your configuration may still be valid - the Dashboard UI currently only supports basic schedules.<br>
You probably configured crontab lines for your hibernation schedule manually. Please edit your schedules directly in the cluster specification. You can also delete it there and come back to this screen to configure your schedule via the Dashboard UI.
Expand All @@ -79,7 +79,7 @@ SPDX-License-Identifier: Apache-2.0
<v-col>
<v-alert
type="warning"
variant="outlined"
variant="tonal"
:model-value="!isHibernationPossible && parsedScheduleEvents && parsedScheduleEvents.length > 0"
>
<div class="font-weight-bold">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SPDX-License-Identifier: Apache-2.0
/>
<v-alert
type="warning"
variant="outlined"
variant="tonal"
:value="!isMaintenancePreconditionSatisfied"
>
<div class="font-weight-bold">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ShootVersion/GShootVersion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SPDX-License-Identifier: Apache-2.0
v-if="chip"
size="small"
rounded
:variant="!k8sPatchAvailable ? 'outlined' : undefined"
:variant="!k8sPatchAvailable ? 'tonal' : 'flat'"
:ripple="canUpdate"
color="primary"
class="update_btn"
Expand Down
Loading

0 comments on commit 0eda4ac

Please sign in to comment.