Skip to content

Commit

Permalink
Use the color-primary-element* variables
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen authored and artonge committed May 15, 2023
1 parent 3eda95a commit 5c0658a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/components/Albums/AlbumPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ export default {
border-radius: var(--border-radius);
&--placeholder {
background: var(--color-primary-light);
background: var(--color-primary-element-light);
:deep .material-design-icon {
width: 100%;
height: 100%;
.material-design-icon__svg {
fill: var(--color-primary);
fill: var(--color-primary-element);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Collection/CollectionCover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ export default {
}
&--placeholder {
background: var(--color-primary-light);
background: var(--color-primary-element-light);
:deep .material-design-icon {
width: 100%;
height: 100%;
.material-design-icon__svg {
fill: var(--color-primary);
fill: var(--color-primary-element);
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/File.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default {

<style lang="scss" scoped>
.file-container {
background: var(--color-primary-light);
background: var(--color-primary-element-light);
position: relative;
height: 100%;
width: 100%;
Expand All @@ -239,7 +239,7 @@ export default {
width: 100%;
height: 100%;
content: '';
outline: var(--color-primary) solid 4px;
outline: var(--color-primary-element) solid 4px;
outline-offset: -4px;
pointer-events: none;
}
Expand Down Expand Up @@ -337,7 +337,7 @@ export default {
// Add a background to the checkbox so we do not see the image through it.
&::after {
content: '';
background: var(--color-primary-light);
background: var(--color-primary-element-light);
width: 16px;
height: 16px;
position: absolute;
Expand Down Expand Up @@ -368,7 +368,7 @@ export default {
fill: #FC0;
path {
stroke: var(--color-primary-light);
stroke: var(--color-primary-element-light);
stroke-width: 1px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/FilesListViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export default {
position: relative;
&__placeholder {
background: var(--color-primary-light);
background: var(--color-primary-element-light);
width: 100%;
height: 100%;
border: 2px solid var(--color-main-background); // Use border so create a separation between images.
Expand Down
4 changes: 2 additions & 2 deletions src/components/FilesPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default {
}
&--placeholder {
background: var(--color-primary-light);
background: var(--color-primary-element-light);
border-radius: var(--border-radius-large);
}
Expand Down Expand Up @@ -239,7 +239,7 @@ export default {
height: 100%;
&--placeholder {
background: var(--color-primary-light);
background: var(--color-primary-element-light);
border-radius: var(--border-radius-large);
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/TagCover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ export default {
}
&--placeholder {
background: var(--color-primary-light);
background: var(--color-primary-element-light);
:deep .material-design-icon {
width: 100%;
height: 100%;
.material-design-icon__svg {
fill: var(--color-primary);
fill: var(--color-primary-element);
}
}
}
Expand Down

0 comments on commit 5c0658a

Please sign in to comment.