Skip to content

Commit 93251d7

Browse files
committed
Themes: Improve styles and add new "Snow" theme based on nordtheme.com
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent a356457 commit 93251d7

File tree

14 files changed

+282
-28
lines changed

14 files changed

+282
-28
lines changed

frontend/package-lock.json

Lines changed: 89 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/component/photo/toolbar.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
:menu-props="{'maxHeight':346}"
5656
flat solo hide-details
5757
color="secondary-dark"
58+
background-color="secondary"
5859
item-value="ID"
5960
item-text="Name"
6061
:items="countryOptions"
@@ -69,6 +70,7 @@
6970
:menu-props="{'maxHeight':346}"
7071
flat solo hide-details
7172
color="secondary-dark"
73+
background-color="secondary"
7274
item-value="ID"
7375
item-text="Name"
7476
:items="cameraOptions"
@@ -81,6 +83,7 @@
8183
:label="$gettext('View')"
8284
flat solo hide-details
8385
color="secondary-dark"
86+
background-color="secondary"
8487
:items="options.views"
8588
@change="(v) => {setView(v)}">
8689
</v-select>
@@ -91,6 +94,7 @@
9194
:menu-props="{'maxHeight':400}"
9295
flat solo hide-details
9396
color="secondary-dark"
97+
background-color="secondary"
9498
:items="options.sorting"
9599
@change="(v) => {updateQuery({'order': v})}">
96100
</v-select>
@@ -101,6 +105,7 @@
101105
:menu-props="{'maxHeight':346}"
102106
flat solo hide-details
103107
color="secondary-dark"
108+
background-color="secondary"
104109
item-value="value"
105110
item-text="text"
106111
:items="yearOptions()"
@@ -113,6 +118,7 @@
113118
:menu-props="{'maxHeight':346}"
114119
flat solo hide-details
115120
color="secondary-dark"
121+
background-color="secondary"
116122
item-value="value"
117123
item-text="text"
118124
:items="monthOptions()"
@@ -124,6 +130,7 @@
124130
:label="labels.lens"
125131
flat solo hide-details
126132
color="secondary-dark"
133+
background-color="secondary-light"
127134
item-value="ID"
128135
item-text="Model"
129136
v-model="filter.lens"
@@ -136,6 +143,7 @@
136143
:menu-props="{'maxHeight':346}"
137144
flat solo hide-details
138145
color="secondary-dark"
146+
background-color="secondary"
139147
item-value="Slug"
140148
item-text="Name"
141149
:items="colorOptions()"
@@ -148,6 +156,7 @@
148156
:menu-props="{'maxHeight':346}"
149157
flat solo hide-details
150158
color="secondary-dark"
159+
background-color="secondary"
151160
item-value="Slug"
152161
item-text="Name"
153162
:items="categoryOptions"

frontend/src/css/themes.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
@import url("themes/neon.css");
77
@import url("themes/gemstone.css");
88
@import url("themes/carbon.css");
9+
@import url("themes/snow.css");
910

1011
/* General Styles */
1112

frontend/src/css/themes/abyss.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ body.dark-theme.theme-abyss,
2525
}
2626

2727
#photoprism.theme-abyss .theme--light.v-table tbody tr:hover {
28-
background: #333333;
28+
background: #342C43;
2929
}
3030

3131
#photoprism.theme-abyss .theme--light.v-chip,

frontend/src/css/themes/carbon.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ body.dark-theme.theme-carbon,
4242
}
4343

4444
#photoprism.theme-carbon .theme--light.v-table tbody tr:hover {
45-
background: #34314e;
45+
background: #302c3d;
4646
}
4747

4848
#photoprism.theme-carbon .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon {

frontend/src/css/themes/gemstone.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ body.dark-theme.theme-gemstone,
3838
}
3939

4040
#photoprism.theme-gemstone .theme--light.v-table tbody tr:hover {
41-
background: #666;
41+
background: #47474b;
4242
}
4343

4444
#photoprism.theme-gemstone .theme--light.v-chip,

frontend/src/css/themes/grayscale.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ body.dark-theme.theme-grayscale {
4444
}
4545

4646
#photoprism.theme-grayscale .theme--light.v-table tbody tr:hover {
47-
background: #666;
47+
background: #555;
4848
}
4949

5050
#photoprism.theme-grayscale .theme--light.v-chip,

frontend/src/css/themes/shadow.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ body.dark-theme.theme-shadow {
4444
}
4545

4646
#photoprism.theme-shadow .theme--light.v-table tbody tr:hover {
47-
background: #666;
47+
background: #555;
4848
}
4949

5050
#photoprism.theme-shadow .theme--light.v-chip,

0 commit comments

Comments
 (0)