diff --git a/packages/design-system/src/components/OcAvatarCount/OcAvatarCount.vue b/packages/design-system/src/components/OcAvatarCount/OcAvatarCount.vue index 5014eb92ba3..1747b522993 100644 --- a/packages/design-system/src/components/OcAvatarCount/OcAvatarCount.vue +++ b/packages/design-system/src/components/OcAvatarCount/OcAvatarCount.vue @@ -47,7 +47,7 @@ export default defineComponent({ align-items: center; background-color: var(--oc-color-swatch-passive-default); border-radius: 50%; - color: var(--oc-color-text-inverse); + color: var(--oc-color-inverseOnSurface); display: flex; justify-content: center; } diff --git a/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue b/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue index fa9282c9de0..a619b7e84ca 100644 --- a/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue +++ b/packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue @@ -52,7 +52,7 @@ export default defineComponent({ iconColor: { type: String, required: false, - default: 'var(--oc-color-text-inverse)' + default: 'var(--oc-color-inverseOnSurface)' }, /** * Fill-type that should be used for the icon diff --git a/packages/design-system/src/components/OcAvatars/OcAvatars.vue b/packages/design-system/src/components/OcAvatars/OcAvatars.vue index a7a899ddc9e..3dd54b9d1cd 100644 --- a/packages/design-system/src/components/OcAvatars/OcAvatars.vue +++ b/packages/design-system/src/components/OcAvatars/OcAvatars.vue @@ -181,7 +181,7 @@ export default defineComponent({ .oc-avatar-count, .oc-avatar + .oc-avatar-item, .oc-avatar-item + .oc-avatar-item { - border: 1px solid var(--oc-color-text-inverse); + border: 1px solid var(--oc-color-inverseOnSurface); margin-left: -25px; } } diff --git a/packages/design-system/src/components/OcBreadcrumb/OcBreadcrumb.vue b/packages/design-system/src/components/OcBreadcrumb/OcBreadcrumb.vue index d469701d817..51241144e74 100644 --- a/packages/design-system/src/components/OcBreadcrumb/OcBreadcrumb.vue +++ b/packages/design-system/src/components/OcBreadcrumb/OcBreadcrumb.vue @@ -61,7 +61,7 @@ /> - + :nth-child(n + 2)::before { - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); display: inline-block; } > :last-child > span { - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); } } @@ -411,7 +407,7 @@ export default defineComponent({ button:first-of-type, span:first-of-type { font-size: var(--oc-font-size-medium); - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); display: inline-block; vertical-align: sub; line-height: normal; diff --git a/packages/design-system/src/components/OcButton/OcButton.vue b/packages/design-system/src/components/OcButton/OcButton.vue index 7acbc4f5a63..6a4e1bf1c3c 100644 --- a/packages/design-system/src/components/OcButton/OcButton.vue +++ b/packages/design-system/src/components/OcButton/OcButton.vue @@ -413,16 +413,16 @@ export default defineComponent({ &-brand { @include oc-button-variation( - var(--oc-color-swatch-brand-default), - var(--oc-color-swatch-brand-hover), - var(--oc-color-swatch-brand-muted), - var(--oc-color-swatch-brand-contrast) + var(--oc-color-primary), + var(--oc-color-primaryContainer), + var(--oc-color-primaryFixedDim), + var(--oc-color-background) ); } &-primary { @include oc-button-variation( - var(--oc-color-swatch-primary-default), + var(--oc-color-primary), var(--oc-color-swatch-primary-hover), var(--oc-color-swatch-primary-muted), var(--oc-color-swatch-primary-contrast) @@ -449,25 +449,25 @@ export default defineComponent({ &-warning { @include oc-button-variation( - var(--oc-color-swatch-warning-default), - var(--oc-color-swatch-warning-hover), - var(--oc-color-swatch-warning-muted), - var(--oc-color-swatch-warning-contrast) + var(--oc-color-error), + var(--oc-color-errorContainer), + var(--oc-color-onErrorContainer), + var(--oc-color-onError) ); } &-danger { @include oc-button-variation( - var(--oc-color-swatch-danger-default), + var(--oc-color-error), var(--oc-color-swatch-danger-hover), var(--oc-color-swatch-danger-muted), - var(--oc-color-swatch-danger-contrast) + var(--oc-color-onError) ); &-filled:hover { - color: var(--oc-color-swatch-danger-default) !important; + color: var(--oc-color-error) !important; span > svg { - fill: var(--oc-color-swatch-danger-default) !important; + fill: var(--oc-color-error) !important; } } } @@ -502,12 +502,12 @@ export default defineComponent({ &:first-of-type { // TODO: Implement color variations if button group should be used again - border-left: 1px solid var(--oc-color-swatch-primary-default); + border-left: 1px solid var(--oc-color-primary); } &:last-of-type { // TODO: Implement color variations if button group should be used again - border-right: 1px solid var(--oc-color-swatch-primary-default); + border-right: 1px solid var(--oc-color-primary); } } } diff --git a/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue b/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue index 8540a7bc4f4..4910e9a348b 100644 --- a/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue +++ b/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue @@ -178,7 +178,7 @@ export default defineComponent({ } &:focus-visible { - outline: var(--oc-color-swatch-primary-default) auto 1px; + outline: var(--oc-color-primary) auto 1px; } &-checked, diff --git a/packages/design-system/src/components/OcDrop/OcDrop.vue b/packages/design-system/src/components/OcDrop/OcDrop.vue index a45fbbada92..4bd4ded1bd1 100644 --- a/packages/design-system/src/components/OcDrop/OcDrop.vue +++ b/packages/design-system/src/components/OcDrop/OcDrop.vue @@ -183,8 +183,8 @@ export default defineComponent({ const to = this.target ? document.querySelector(this.target) : this.toggle - ? document.querySelector(this.toggle) - : this.$el.previousElementSibling + ? document.querySelector(this.toggle) + : this.$el.previousElementSibling const content = this.$refs.drop if (!to || !content) { @@ -285,7 +285,7 @@ export default defineComponent({ } &:hover span { - color: var(--oc-color-swatch-brand-hover) !important; + color: var(--oc-color-primaryContainer) !important; } span { diff --git a/packages/design-system/src/components/OcDropzone/OcDropzone.vue b/packages/design-system/src/components/OcDropzone/OcDropzone.vue index 6af66f169a4..46d98c0a953 100644 --- a/packages/design-system/src/components/OcDropzone/OcDropzone.vue +++ b/packages/design-system/src/components/OcDropzone/OcDropzone.vue @@ -18,9 +18,9 @@ export default defineComponent({ diff --git a/packages/design-system/src/components/OcInfoDrop/OcInfoDrop.vue b/packages/design-system/src/components/OcInfoDrop/OcInfoDrop.vue index 76950de3be6..05e750cc570 100644 --- a/packages/design-system/src/components/OcInfoDrop/OcInfoDrop.vue +++ b/packages/design-system/src/components/OcInfoDrop/OcInfoDrop.vue @@ -162,7 +162,7 @@ export default defineComponent({ } .info-drop-content { font-size: var(--oc-font-size-medium); - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); } .info-more-link { font-size: var(--oc-font-size-medium) !important; diff --git a/packages/design-system/src/components/OcLoader/OcLoader.vue b/packages/design-system/src/components/OcLoader/OcLoader.vue index ca6f42709bf..e5a34c65605 100644 --- a/packages/design-system/src/components/OcLoader/OcLoader.vue +++ b/packages/design-system/src/components/OcLoader/OcLoader.vue @@ -53,7 +53,7 @@ export default defineComponent({ } &::after { - background: var(--oc-color-text-muted); + background: var(--oc-color-onSurfaceVariant); content: ''; height: 100%; width: 0; diff --git a/packages/design-system/src/components/OcModal/OcModal.vue b/packages/design-system/src/components/OcModal/OcModal.vue index 62267800872..88f3b79fdb0 100644 --- a/packages/design-system/src/components/OcModal/OcModal.vue +++ b/packages/design-system/src/components/OcModal/OcModal.vue @@ -432,7 +432,7 @@ export default defineComponent({ } .oc-modal { - background-color: var(--oc-color-background-default); + background-color: var(--oc-color-background); border: 1px solid var(--oc-color-input-border); border-radius: 15px; box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3); @@ -460,7 +460,7 @@ export default defineComponent({ } &-primary { - @include oc-modal-variation(var(--oc-color-swatch-primary-default)); + @include oc-modal-variation(var(--oc-color-primary)); } &-success { @@ -468,11 +468,11 @@ export default defineComponent({ } &-warning { - @include oc-modal-variation(var(--oc-color-swatch-warning-default)); + @include oc-modal-variation(var(--oc-color-error)); } &-danger { - @include oc-modal-variation(var(--oc-color-swatch-danger-default)); + @include oc-modal-variation(var(--oc-color-error)); } &-title { @@ -497,7 +497,7 @@ export default defineComponent({ } &-body { - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); line-height: 1.625; padding: var(--oc-space-medium) var(--oc-space-medium) 0; @@ -526,7 +526,7 @@ export default defineComponent({ &-actions { text-align: right; - background: var(--oc-color-background-default); + background: var(--oc-color-background); border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; padding: var(--oc-space-medium); @@ -545,7 +545,7 @@ export default defineComponent({ .oc-text-input-password-wrapper { button { - background-color: var(--oc-color-background-highlight) !important; + background-color: var(--oc-color-surfaceBright) !important; } } } diff --git a/packages/design-system/src/components/OcNotificationMessage/OcNotificationMessage.vue b/packages/design-system/src/components/OcNotificationMessage/OcNotificationMessage.vue index 62732db9fa0..7c3cb6d2785 100644 --- a/packages/design-system/src/components/OcNotificationMessage/OcNotificationMessage.vue +++ b/packages/design-system/src/components/OcNotificationMessage/OcNotificationMessage.vue @@ -152,7 +152,7 @@ export default defineComponent({ diff --git a/packages/design-system/src/components/OcProgressPie/OcProgressPie.vue b/packages/design-system/src/components/OcProgressPie/OcProgressPie.vue index 2d4e2ad4ab1..c3f68867635 100644 --- a/packages/design-system/src/components/OcProgressPie/OcProgressPie.vue +++ b/packages/design-system/src/components/OcProgressPie/OcProgressPie.vue @@ -92,8 +92,8 @@ $default-size: 64px; &::before, &::after { - border: calc($default-size / 10) solid var(--oc-color-swatch-brand-default); - border-color: var(--oc-color-swatch-brand-default); + border: calc($default-size / 10) solid var(--oc-color-primary); + border-color: var(--oc-color-primary); border-radius: 50%; clip: rect(0, calc($default-size / 2), $default-size, 0); content: ''; @@ -107,7 +107,7 @@ $default-size: 64px; } &-label { - color: var(--oc-color-text-muted) !important; + color: var(--oc-color-onSurfaceVariant) !important; left: 50%; position: absolute; top: 50%; diff --git a/packages/design-system/src/components/OcRadio/OcRadio.vue b/packages/design-system/src/components/OcRadio/OcRadio.vue index cf8f840f1fc..6e3e35baeb4 100644 --- a/packages/design-system/src/components/OcRadio/OcRadio.vue +++ b/packages/design-system/src/components/OcRadio/OcRadio.vue @@ -128,7 +128,7 @@ export default defineComponent({ -webkit-appearance: none; -moz-appearance: none; - border: 1px solid var(--oc-color-swatch-brand-default); + border: 1px solid var(--oc-color-primary); border-radius: 50%; box-sizing: border-box; background-color: var(--oc-color-input-bg); @@ -149,7 +149,7 @@ export default defineComponent({ } &:checked { - background-color: var(--oc-color-background-highlight) !important; + background-color: var(--oc-color-surfaceBright) !important; } &.oc-radio-s { diff --git a/packages/design-system/src/components/OcRecipient/OcRecipient.vue b/packages/design-system/src/components/OcRecipient/OcRecipient.vue index 570021cc843..e4222ba7f73 100644 --- a/packages/design-system/src/components/OcRecipient/OcRecipient.vue +++ b/packages/design-system/src/components/OcRecipient/OcRecipient.vue @@ -103,7 +103,7 @@ export default defineComponent({ diff --git a/packages/web-app-app-store/src/components/AppImageGallery.vue b/packages/web-app-app-store/src/components/AppImageGallery.vue index cea696fcbfa..0bd572727c6 100644 --- a/packages/web-app-app-store/src/components/AppImageGallery.vue +++ b/packages/web-app-app-store/src/components/AppImageGallery.vue @@ -117,7 +117,7 @@ export default defineComponent({ &-primary { span { color: var(--oc-color-swatch-primary-contrast); - background-color: var(--oc-color-swatch-primary-default); + background-color: var(--oc-color-primary); } } &-success { @@ -128,8 +128,8 @@ export default defineComponent({ } &-danger { span { - color: var(--oc-color-swatch-danger-contrast); - background-color: var(--oc-color-swatch-danger-default); + color: var(--oc-color-onError); + background-color: var(--oc-color-error); } } diff --git a/packages/web-app-app-store/src/components/AppTile.vue b/packages/web-app-app-store/src/components/AppTile.vue index 7a218007006..14be5eef5b4 100644 --- a/packages/web-app-app-store/src/components/AppTile.vue +++ b/packages/web-app-app-store/src/components/AppTile.vue @@ -60,7 +60,7 @@ export default defineComponent({ diff --git a/packages/web-app-files/src/components/Shares/SharedWithMeSection.vue b/packages/web-app-files/src/components/Shares/SharedWithMeSection.vue index dc7b5873a86..fb958066a62 100644 --- a/packages/web-app-files/src/components/Shares/SharedWithMeSection.vue +++ b/packages/web-app-files/src/components/Shares/SharedWithMeSection.vue @@ -262,6 +262,6 @@ export default defineComponent({ diff --git a/packages/web-app-files/src/components/Spaces/SpaceHeader.vue b/packages/web-app-files/src/components/Spaces/SpaceHeader.vue index 769de299c91..d3a16222392 100644 --- a/packages/web-app-files/src/components/Spaces/SpaceHeader.vue +++ b/packages/web-app-files/src/components/Spaces/SpaceHeader.vue @@ -306,7 +306,7 @@ export default defineComponent({ max-height: 158px; &-default { - background-color: var(--oc-color-background-highlight); + background-color: var(--oc-color-surfaceBright); height: 100%; border-radius: 10px; } diff --git a/packages/web-app-files/src/views/trash/Overview.vue b/packages/web-app-files/src/views/trash/Overview.vue index c14a79a941d..47e06a146eb 100644 --- a/packages/web-app-files/src/views/trash/Overview.vue +++ b/packages/web-app-files/src/views/trash/Overview.vue @@ -280,7 +280,7 @@ export default defineComponent({ .trash-bin { &-route { - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); } } diff --git a/packages/web-app-ocm/src/views/App.vue b/packages/web-app-ocm/src/views/App.vue index d18101e4373..cc3fdfdd696 100644 --- a/packages/web-app-ocm/src/views/App.vue +++ b/packages/web-app-ocm/src/views/App.vue @@ -143,7 +143,7 @@ export default defineComponent({ #sciencemesh-accept-invites, #sciencemesh-connections { margin: var(--oc-space-small); - background-color: var(--oc-color-background-default); + background-color: var(--oc-color-background); border-radius: 15px; padding: var(--oc-space-small); @media (max-width: $oc-breakpoint-large-default) { diff --git a/packages/web-app-preview/src/components/MediaControls.vue b/packages/web-app-preview/src/components/MediaControls.vue index 5de7dfbae44..178d026a890 100644 --- a/packages/web-app-preview/src/components/MediaControls.vue +++ b/packages/web-app-preview/src/components/MediaControls.vue @@ -230,7 +230,7 @@ export default defineComponent({ } .preview-controls-action-count { - color: var(--oc-color-swatch-brand-contrast); + color: var(--oc-color-background); } .preview-controls-image-original-size { diff --git a/packages/web-app-search/src/portals/SearchBar.vue b/packages/web-app-search/src/portals/SearchBar.vue index e72f3cd7169..0d55e879377 100644 --- a/packages/web-app-search/src/portals/SearchBar.vue +++ b/packages/web-app-search/src/portals/SearchBar.vue @@ -551,7 +551,7 @@ export default defineComponent({ @media (max-width: 639px) { visibility: hidden; - background-color: var(--oc-color-swatch-brand-default); + background-color: var(--oc-color-primary); position: absolute; height: 48px; left: 0; @@ -615,7 +615,7 @@ export default defineComponent({ &:hover, &.active { - background-color: var(--oc-color-background-highlight); + background-color: var(--oc-color-surfaceBright); } &.disabled { diff --git a/packages/web-app-text-editor/src/App.vue b/packages/web-app-text-editor/src/App.vue index 8a69501e4ee..f183ebedf2e 100644 --- a/packages/web-app-text-editor/src/App.vue +++ b/packages/web-app-text-editor/src/App.vue @@ -60,6 +60,6 @@ export default defineComponent({ .toastui-editor-defaultUI-toolbar, .toastui-editor-md-tab-container { - background-color: var(--oc-color-background-default) !important; + background-color: var(--oc-color-background) !important; } diff --git a/packages/web-app-webfinger/src/views/Resolve.vue b/packages/web-app-webfinger/src/views/Resolve.vue index 18c1ef6cf28..0a6e5bc9753 100644 --- a/packages/web-app-webfinger/src/views/Resolve.vue +++ b/packages/web-app-webfinger/src/views/Resolve.vue @@ -88,7 +88,7 @@ export default defineComponent({ diff --git a/packages/web-pkg/src/components/FilesList/ResourceIcon.vue b/packages/web-pkg/src/components/FilesList/ResourceIcon.vue index fbcb8879517..0fd2e902ad2 100644 --- a/packages/web-pkg/src/components/FilesList/ResourceIcon.vue +++ b/packages/web-pkg/src/components/FilesList/ResourceIcon.vue @@ -30,7 +30,7 @@ const defaultSpaceIcon: IconType = { } const defaultFallbackIcon: IconType = { name: 'resource-type-file', - color: 'var(--oc-color-text-default)' + color: 'var(--oc-color-onSurface)' } const defaultFileIconMapping = createDefaultFileIconMapping() diff --git a/packages/web-pkg/src/components/FilesList/ResourceListItem.vue b/packages/web-pkg/src/components/FilesList/ResourceListItem.vue index 1132ce8314d..963f0f7fae2 100644 --- a/packages/web-pkg/src/components/FilesList/ResourceListItem.vue +++ b/packages/web-pkg/src/components/FilesList/ResourceListItem.vue @@ -264,7 +264,7 @@ export default defineComponent({ .text { &:hover { - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); text-decoration: underline; } } diff --git a/packages/web-pkg/src/components/FilesList/ResourceName.vue b/packages/web-pkg/src/components/FilesList/ResourceName.vue index f4903ad51f8..eb94b0af83b 100644 --- a/packages/web-pkg/src/components/FilesList/ResourceName.vue +++ b/packages/web-pkg/src/components/FilesList/ResourceName.vue @@ -159,13 +159,13 @@ export default defineComponent({ &:hover { text-decoration: underline; - text-decoration-color: var(--oc-color-text-default); + text-decoration-color: var(--oc-color-onSurface); } } &-basename, &-extension { - color: var(--oc-color-text-default); + color: var(--oc-color-onSurface); white-space: pre; } diff --git a/packages/web-pkg/src/components/FilesList/ResourceTable.vue b/packages/web-pkg/src/components/FilesList/ResourceTable.vue index 078ad38560a..49481216964 100644 --- a/packages/web-pkg/src/components/FilesList/ResourceTable.vue +++ b/packages/web-pkg/src/components/FilesList/ResourceTable.vue @@ -1237,7 +1237,7 @@ export default defineComponent({ &:hover > .resource-table-edit-name { svg { - fill: var(--oc-color-text-default); + fill: var(--oc-color-onSurface); } } } diff --git a/packages/web-pkg/src/components/FilesList/ResourceTile.vue b/packages/web-pkg/src/components/FilesList/ResourceTile.vue index 98c15c9cbf0..338cc520830 100644 --- a/packages/web-pkg/src/components/FilesList/ResourceTile.vue +++ b/packages/web-pkg/src/components/FilesList/ResourceTile.vue @@ -229,7 +229,7 @@ export default defineComponent({ diff --git a/packages/web-runtime/src/components/UploadInfo.vue b/packages/web-runtime/src/components/UploadInfo.vue index 4d6e2c89d55..b141f0e9d38 100644 --- a/packages/web-runtime/src/components/UploadInfo.vue +++ b/packages/web-runtime/src/components/UploadInfo.vue @@ -706,7 +706,7 @@ export default defineComponent({