From e3523fce29bb946bf9d2442b9421310d6d8177a2 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 4 Dec 2025 16:21:50 +0100 Subject: [PATCH 1/2] refactor: uniformize TextSettings styling and integrate Coloris MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Wrap all field sections in .settings-subsection divs to match PageSettings structure - Properly nest margin outer and inner collapsed sections within their parent subsections - Replace custom color picker with Coloris integration for color and background fields - Simplify reactive state by removing unused format and picker properties - Initialize Coloris with dark theme, alpha support, and format toggle 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/components/editor/TextSettings.vue | 927 ++++++++++++------------- 1 file changed, 434 insertions(+), 493 deletions(-) diff --git a/src/components/editor/TextSettings.vue b/src/components/editor/TextSettings.vue index 451b682..33c4551 100644 --- a/src/components/editor/TextSettings.vue +++ b/src/components/editor/TextSettings.vue @@ -6,515 +6,470 @@ pouvez modifier ensuite les éléments indépendamment.

-
- -
- + + + + + + +
+ + +
+
+
+ + +
+
+ +
+ + + + + + + +
+
+
+ +
+
+ +
+ + +
+ + + +
+
+
+
+ +
+
+ + -
- - -
-
- -
- - - - - - - -
-
- -
- -
- - -
- - - -
-
-
- -
- - -
- -
- -
- - -
- - - -
-
-
- -
- -
- - -
- - - -
-
-
- -
- -
- -
- - -
- -
-
- -
+
- + +
+ +
+
+ +
+ +
+ +
+
+
+ +
+
+
+
-
- -
- -
- - +
+
+ +
+ +
+ + +
-
-
- -
- -
- - +
+ +
+ +
+ + +
-
-
- -
- -
- - +
+ +
+ +
+ + +
+
+
+ +
+ +
+ +
+ + +
-
- -
- -
+
+
+ +
+ +
+ + +
-
-
-
-
-
- -
- -
- - +
+
+ +
+ +
+ + +
-
-
- -
- -
- - +
+ +
+ +
+ + +
-
-
- -
- -
- - +
+ +
+ +
+ + +
-
-
- -
- -
- - +
+ +
+ +
+ + +
@@ -523,8 +478,9 @@ From 8e3eb83431594aadc70f1d32be02acdad2d44aef Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 4 Dec 2025 16:22:34 +0100 Subject: [PATCH 2/2] style --- public/assets/css/src/_forms.scss | 2 +- public/assets/css/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/assets/css/src/_forms.scss b/public/assets/css/src/_forms.scss index 80d99af..585a9ca 100644 --- a/public/assets/css/src/_forms.scss +++ b/public/assets/css/src/_forms.scss @@ -79,7 +79,7 @@ input[type="number"] { width: 50%; label { - width: 50%; + width: 30%; } .input-with-unit { diff --git a/public/assets/css/style.css b/public/assets/css/style.css index 6944468..d202694 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -140,7 +140,7 @@ input[type=number] { width: 50%; } .settings-section .settings-subsection.margins .field label { - width: 50%; + width: 30%; } .settings-section .settings-subsection.margins .field .input-with-unit input { width: 50%;