~jan0sch/smederee

Showing details for patch bab8aa015b2f66e0c9de264d92c385bfda0ab574.
2023-05-05 (Fri), 10:58 AM - Jens Grassel - bab8aa015b2f66e0c9de264d92c385bfda0ab574

CSS: Move colours to own file.

- add nordic night colours from https://git.sr.ht/~ashton314/nordic-night
Summary of changes
1 files added
  • modules/hub/src/main/resources/assets/css/colours.css
1 files modified with 1 lines added and 22 lines removed
  • modules/hub/src/main/resources/assets/css/main.css with 1 added and 22 removed lines
diff -rN -u old-smederee/modules/hub/src/main/resources/assets/css/colours.css new-smederee/modules/hub/src/main/resources/assets/css/colours.css
--- old-smederee/modules/hub/src/main/resources/assets/css/colours.css	1970-01-01 00:00:00.000000000 +0000
+++ new-smederee/modules/hub/src/main/resources/assets/css/colours.css	2025-01-30 22:59:57.150014260 +0000
@@ -0,0 +1,61 @@
+:root {
+  /* Colours from Nord CSS theme 0.2.0
+   *
+   * See https://www.nordtheme.com/docs/colors-and-palettes for details.
+   */
+  --nord0: #2E3440;
+  --nord1: #3B4252;
+  --nord2: #434C5E;
+  --nord3: #4C566A;
+  --nord4: #D8DEE9;
+  --nord5: #E5E9F0;
+  --nord6: #ECEFF4;
+  --nord7: #8FBCBB;
+  --nord8: #88C0D0;
+  --nord9: #81A1C1;
+  --nord10: #5E81AC;
+  --nord11: #BF616A;
+  --nord12: #D08770;
+  --nord13: #EBCB8B;
+  --nord14: #A3BE8C;
+  --nord15: #B48EAD;
+  /* Colours from the Nordic Night EMACS theme
+   *
+   * See https://git.sr.ht/~ashton314/nordic-night for details.
+   */
+  --nordic-night-nearblack: #121212; /* black */
+  --nordic-night-lighterblack: #181818; /* black */
+  --nordic-night-dark0: #2E3440; /* black */
+  --nordic-night-dark1: #3B4252; /* black */
+  --nordic-night-dark2: #434C5E; /* #434C5E */
+  --nordic-night-dark3: #4C566A; /* brightblack */
+  --nordic-night-lessdark3-1: #6B7386; /* #6B7386 */
+  --nordic-night-lessdark3-2: #8892A4; /* #8892A4 */
+  --nordic-night-lessdark3-3: #B5BDCC; /* #B5BDCC */
+  --nordic-night-snowy4: #D8DEE9; /* #D8DEE9 */
+  --nordic-night-snowy5: #E5E9F0; /* white */
+  --nordic-night-snowy6: #ECEFF4; /* brightwhite */
+  --nordic-night-bluegreen7: #8FBCBB; /* cyan */
+  --nordic-night-brightblue8: #88C0D0; /* brightcyan */
+  --nordic-night-lapis9: #81A1C1; /* blue */
+  --nordic-night-blue10: #5E81AC; /* brightblue */
+  --nordic-night-red11: #BF616A; /* red */
+  --nordic-night-orange12: #D08770; /* brightyellow */
+  --nordic-night-yellow13: #EBCB8B; /* yellow */
+  --nordic-night-green14: #A3BE8C; /* green */
+  --nordic-night-purple15: #B48EAD; /* magenta */
+  --nordic-night-annotation: #D08770; /* brightyellow */
+  --nordic-night-attribute: #8FBCBB; /* cyan */
+  --nordic-night-class: #8FBCBB; /* cyan */
+  --nordic-night-comment: #8892A4; /* brightblack */
+  --nordic-night-doc: #A3BE8C; /* green */
+  --nordic-night-method: #88C0D0; /* brightcyan */
+  --nordic-night-keyword: #81A1C1; /* blue */
+  --nordic-night-numeric: #B48EAD; /* magenta */
+  --nordic-night-operator: #81A1C1; /* blue */
+  --nordic-night-preprocessor: #5E81AC; /* brightblue */
+  --nordic-night-punctuation: #D8DEE9; /* #D8DEE9 */
+  --nordic-night-string: #A3BE8C; /* green */
+  --nordic-night-tag: #81A1C1; /* blue */
+  --nordic-night-variable: #D8DEE9; /* #D8DEE9 */
+}
diff -rN -u old-smederee/modules/hub/src/main/resources/assets/css/main.css new-smederee/modules/hub/src/main/resources/assets/css/main.css
--- old-smederee/modules/hub/src/main/resources/assets/css/main.css	2025-01-30 22:59:57.150014260 +0000
+++ new-smederee/modules/hub/src/main/resources/assets/css/main.css	2025-01-30 22:59:57.150014260 +0000
@@ -1,25 +1,4 @@
-/* Colours from Nord CSS theme 0.2.0
- *
- * See https://www.nordtheme.com/docs/colors-and-palettes for details.
- */
-:root {
-  --nord0: #2E3440;
-  --nord1: #3B4252;
-  --nord2: #434C5E;
-  --nord3: #4C566A;
-  --nord4: #D8DEE9;
-  --nord5: #E5E9F0;
-  --nord6: #ECEFF4;
-  --nord7: #8FBCBB;
-  --nord8: #88C0D0;
-  --nord9: #81A1C1;
-  --nord10: #5E81AC;
-  --nord11: #BF616A;
-  --nord12: #D08770;
-  --nord13: #EBCB8B;
-  --nord14: #A3BE8C;
-  --nord15: #B48EAD;
-}
+@import url("colours.css");
 
 * {
   -webkit-box-sizing: border-box;