aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-05-26 16:39:03 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-06-06 11:29:43 +0200
commit35da64a51c14ebe17f0dc6897706b72351de1451 (patch)
tree73d205068f3a711ea3fab353d87a7b918cf98c31 /core
parentf57cf4706e04ff7bacc2fa0964a57d466641d415 (diff)
downloadnextcloud-server-35da64a51c14ebe17f0dc6897706b72351de1451.tar.gz
nextcloud-server-35da64a51c14ebe17f0dc6897706b72351de1451.zip
fix(files): Add border around favorite marker to ensure contrast requirements are met
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core')
-rw-r--r--core/img/actions/star-rounded.svg1
-rw-r--r--core/src/icons.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/img/actions/star-rounded.svg b/core/img/actions/star-rounded.svg
new file mode 100644
index 00000000000..cb86c2cef40
--- /dev/null
+++ b/core/img/actions/star-rounded.svg
@@ -0,0 +1 @@
+<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m 8.8587433,1.0101153 1.7336447,4.1765066 4.554938,0.3534004 a 0.9241608,0.9241608 0 0 1 0.520146,1.6313518 l -3.54609,2.9550749 1.163428,4.265905 A 0.89820186,0.89820186 0 0 1 11.944959,15.39207 L 8.0048592,12.949208 4.0046727,15.429324 A 0.87039188,0.87039188 0 0 1 2.706306,14.46056 L 3.8883362,10.126449 0.33024244,7.1613714 A 0.91780957,0.91780957 0 0 1 0.84681384,5.5412309 L 5.4173305,5.1866219 7.1509747,1.0101153 a 0.92452597,0.92452597 0 0 1 1.7077686,0 z"/></svg>
diff --git a/core/src/icons.js b/core/src/icons.js
index 0a62597f64f..624ba54be88 100644
--- a/core/src/icons.js
+++ b/core/src/icons.js
@@ -95,6 +95,7 @@ const icons = {
'sound': path.join(__dirname, '../img', 'actions', 'sound.svg'),
'star': path.join(__dirname, '../img', 'actions', 'star.svg'),
'starred': path.join(__dirname, '../img', 'actions', 'star-dark.svg'),
+ 'star-rounded': path.join(__dirname, '../img', 'actions', 'star-rounded.svg'),
'tablet': path.join(__dirname, '../img', 'clients', 'tablet.svg'),
'tag': path.join(__dirname, '../img', 'actions', 'tag.svg'),
'talk': path.join(__dirname, '../img', 'apps', 'spreed.svg'),