Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update spot shadows

Benjamin Bädorf5bdb50679251
diff --git a/frontend/src/app/spot/styles/tokens/dist/tokens.json b/frontend/src/app/spot/styles/tokens/dist/tokens.json
index 9d29f9460b5..d2ac65cd457 100644
--- a/frontend/src/app/spot/styles/tokens/dist/tokens.json
+++ b/frontend/src/app/spot/styles/tokens/dist/tokens.json
@@ -48,13 +48,15 @@
"spot-spacing-2": "2rem",
"spot-spacing-3": "3rem",
"spot-spacing-4": "4rem",
- "spot-shadow-light-low": "2px 2px 5px rgba(0, 0, 0, 0.15)",
- "spot-shadow-light-mid": "4px 4px 10px rgba(0, 0, 0, 0.15)",
- "spot-shadow-light-high": "6px 6px 20px rgba(0, 0, 0, 0.15)",
- "spot-shadow-hard-low": "2px 2px 5px rgba(0, 0, 0, 0.25)",
- "spot-shadow-hard-mid": "4px 4px 10px rgba(0, 0, 0, 0.25)",
- "spot-shadow-hard-high": "6px 6px 20px rgba(0, 0, 0, 0.25)",
+ "spot-shadow-light-low": "1px 1px 5px rgba(0, 0, 0, 0.15)",
+ "spot-shadow-light-mid": "3px 3px 10px rgba(0, 0, 0, 0.15)",
+ "spot-shadow-light-high": "5px 5px 20px rgba(0, 0, 0, 0.15)",
+ "spot-shadow-hard-low": "1px 1px 5px rgba(0, 0, 0, 0.25)",
+ "spot-shadow-hard-mid": "3px 3px 10px rgba(0, 0, 0, 0.25)",
+ "spot-shadow-hard-high": "5px 5px 20px rgba(0, 0, 0, 0.25)",
"spot-mq-landscape": "'(orientation: landscape)'",
"spot-mq-drop-modal-in-context": "'(min-width: 1000px) and (min-height: 500px)'",
- "spot-mq-action-bar-change": "'(min-width: 768px)'"
+ "spot-mq-action-bar-change": "'(min-width: 768px)'",
+ "spot-mq-mobile": "'(max-width: 679px)'",
+ "spot-mq-desktop": "'(min-width: 680px)'"
}
\ No newline at end of file
diff --git a/frontend/src/app/spot/styles/tokens/dist/tokens.sass b/frontend/src/app/spot/styles/tokens/dist/tokens.sass
index 481429b4cf0..499f00650b2 100644
--- a/frontend/src/app/spot/styles/tokens/dist/tokens.sass
+++ b/frontend/src/app/spot/styles/tokens/dist/tokens.sass
@@ -48,14 +48,14 @@ $spot-spacing-1: 1rem
$spot-spacing-2: 2rem
$spot-spacing-3: 3rem
$spot-spacing-4: 4rem
-$spot-shadow-light-low: 2px 2px 5px rgba(0, 0, 0, 0.15)
-$spot-shadow-light-mid: 4px 4px 10px rgba(0, 0, 0, 0.15)
-$spot-shadow-light-high: 6px 6px 20px rgba(0, 0, 0, 0.15)
-$spot-shadow-hard-low: 2px 2px 5px rgba(0, 0, 0, 0.25)
-$spot-shadow-hard-mid: 4px 4px 10px rgba(0, 0, 0, 0.25)
-$spot-shadow-hard-high: 6px 6px 20px rgba(0, 0, 0, 0.25)
+$spot-shadow-light-low: 1px 1px 5px rgba(0, 0, 0, 0.15)
+$spot-shadow-light-mid: 3px 3px 10px rgba(0, 0, 0, 0.15)
+$spot-shadow-light-high: 5px 5px 20px rgba(0, 0, 0, 0.15)
+$spot-shadow-hard-low: 1px 1px 5px rgba(0, 0, 0, 0.25)
+$spot-shadow-hard-mid: 3px 3px 10px rgba(0, 0, 0, 0.25)
+$spot-shadow-hard-high: 5px 5px 20px rgba(0, 0, 0, 0.25)
$spot-mq-landscape: '(orientation: landscape)'
$spot-mq-drop-modal-in-context: '(min-width: 1000px) and (min-height: 500px)'
-$spot-mq-action-bar-change: '(min-width: 600px)'
+$spot-mq-action-bar-change: '(min-width: 768px)'
$spot-mq-mobile: '(max-width: 679px)'
$spot-mq-desktop: '(min-width: 680px)'
diff --git a/frontend/src/app/spot/styles/tokens/shadows.yml b/frontend/src/app/spot/styles/tokens/shadows.yml
index 73e340a8262..e0fb1965dd1 100644
--- a/frontend/src/app/spot/styles/tokens/shadows.yml
+++ b/frontend/src/app/spot/styles/tokens/shadows.yml
@@ -1,17 +1,17 @@
props:
spot-shadow-light-low:
- value: "2px 2px 5px rgba(0, 0, 0, 0.15)"
+ value: "1px 1px 5px rgba(0, 0, 0, 0.15)"
spot-shadow-light-mid:
- value: "4px 4px 10px rgba(0, 0, 0, 0.15)"
+ value: "3px 3px 10px rgba(0, 0, 0, 0.15)"
spot-shadow-light-high:
- value: "6px 6px 20px rgba(0, 0, 0, 0.15)"
+ value: "5px 5px 20px rgba(0, 0, 0, 0.15)"
spot-shadow-hard-low:
- value: "2px 2px 5px rgba(0, 0, 0, 0.25)"
+ value: "1px 1px 5px rgba(0, 0, 0, 0.25)"
spot-shadow-hard-mid:
- value: "4px 4px 10px rgba(0, 0, 0, 0.25)"
+ value: "3px 3px 10px rgba(0, 0, 0, 0.25)"
spot-shadow-hard-high:
- value: "6px 6px 20px rgba(0, 0, 0, 0.25)"
+ value: "5px 5px 20px rgba(0, 0, 0, 0.25)"
global:
type: box-shadow