Skip to content

Commit 6404a99

Browse files
authored
Merge pull request #54496 from nextcloud/refactor/deprecated-styles
refactor: replace deprecated CSS variables with their replacement
2 parents 24b79aa + 1462e6f commit 6404a99

39 files changed

+67
-67
lines changed

apps/dav/src/components/AvailabilityForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ async function save() {
182182
}
183183
184184
.empty-content {
185-
color: var(--color-text-lighter);
186-
margin-block-start: var(--default-grid-baseline);
187185
align-self: center;
186+
color: var(--color-text-maxcontrast);
187+
margin-block-start: var(--default-grid-baseline);
188188
}
189189
</style>

apps/files_versions/src/components/Version.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export default defineComponent({
387387
// Useful to display no preview icon.
388388
display: flex;
389389
justify-content: center;
390-
color: var(--color-text-light);
390+
color: var(--color-main-text);
391391
}
392392
}
393393
</style>

apps/settings/src/components/AdminDelegating.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export default {
3939

4040
<style lang="scss" scoped>
4141
label {
42+
color: var(--color-text-maxcontrast);
4243
display: block;
4344
font-size: 16px;
4445
margin: 12px 0;
45-
color: var(--color-text-light);
4646
}
4747
</style>

apps/settings/src/components/AppList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,12 @@ $toolbar-height: 44px + $toolbar-padding * 2;
392392
}
393393
394394
&__bundle-header {
395+
color: var(--color-main-text);
395396
margin-block: 0;
396397
margin-inline: 50px 10px;
397398
font-weight: bold;
398399
font-size: 20px;
399400
line-height: 30px;
400-
color: var(--color-text-light);
401401
}
402402
}
403403

apps/settings/src/components/PersonalInfo/AvatarSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ section {
269269
width: min(100%, 300px);
270270
271271
span {
272-
color: var(--color-text-lighter);
272+
color: var(--color-text-maxcontrast);
273273
}
274274
}
275275

apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ export default {
149149
}
150150
151151
label {
152-
color: var(--color-text-lighter);
153-
width: 150px;
152+
color: var(--color-text-maxcontrast);
154153
line-height: 50px;
154+
width: 150px;
155155
}
156156
157157
&__select {

apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ export default {
116116

117117
<style lang="scss" scoped>
118118
.headerbar-label {
119-
font-weight: normal;
120-
display: inline-flex;
121-
width: 100%;
122-
margin: 12px 0 0 0;
123-
gap: 8px;
124119
align-items: center;
120+
color: var(--color-main-text);
121+
display: inline-flex;
125122
font-size: 16px;
126-
color: var(--color-text-light);
123+
font-weight: normal;
124+
gap: 8px;
125+
margin: 12px 0 0 0;
126+
width: 100%;
127127
128128
&.profile-property {
129129
height: 38px;

apps/user_status/src/components/OnlineStatusSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default {
104104
105105
&__subline {
106106
display: block;
107-
color: var(--color-text-lighter);
107+
color: var(--color-text-maxcontrast);
108108
}
109109
}
110110
</style>

core/css/apps.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/css/apps.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)