|
| 1 | +pragma Singleton |
| 2 | +import Quickshell |
| 3 | +import QtQuick |
| 4 | + |
| 5 | +Singleton { |
| 6 | + |
| 7 | + // light theme for testing purposes |
| 8 | + // feel free to uncomment to get flash banged lol |
| 9 | + |
| 10 | + // readonly property color background: "#f4fafb" |
| 11 | + // readonly property color error: "#ba1a1a" |
| 12 | + // readonly property color error_container: "#ffdad6" |
| 13 | + // readonly property color inverse_on_surface: "#ecf2f2" |
| 14 | + // readonly property color inverse_primary: "#80d4da" |
| 15 | + // readonly property color inverse_surface: "#2b3232" |
| 16 | + // readonly property color on_background: "#161d1d" |
| 17 | + // readonly property color on_error: "#ffffff" |
| 18 | + // readonly property color on_error_container: "#410002" |
| 19 | + // readonly property color on_primary: "#ffffff" |
| 20 | + // readonly property color on_primary_container: "#002022" |
| 21 | + // readonly property color on_primary_fixed: "#002022" |
| 22 | + // readonly property color on_primary_fixed_variant: "#004f53" |
| 23 | + // readonly property color on_secondary: "#ffffff" |
| 24 | + // readonly property color on_secondary_container: "#041f21" |
| 25 | + // readonly property color on_secondary_fixed: "#041f21" |
| 26 | + // readonly property color on_secondary_fixed_variant: "#324b4d" |
| 27 | + // readonly property color on_surface: "#161d1d" |
| 28 | + // readonly property color on_surface_variant: "#3f4949" |
| 29 | + // readonly property color on_tertiary: "#ffffff" |
| 30 | + // readonly property color on_tertiary_container: "#091b36" |
| 31 | + // readonly property color on_tertiary_fixed: "#091b36" |
| 32 | + // readonly property color on_tertiary_fixed_variant: "#374764" |
| 33 | + // readonly property color outline: "#6f7979" |
| 34 | + // readonly property color outline_variant: "#bec8c9" |
| 35 | + // readonly property color primary: "#00696e" |
| 36 | + // readonly property color primary_container: "#9cf0f6" |
| 37 | + // readonly property color primary_fixed: "#9cf0f6" |
| 38 | + // readonly property color primary_fixed_dim: "#80d4da" |
| 39 | + // readonly property color scrim: "#000000" |
| 40 | + // readonly property color secondary: "#4a6365" |
| 41 | + // readonly property color secondary_container: "#cce8e9" |
| 42 | + // readonly property color secondary_fixed: "#cce8e9" |
| 43 | + // readonly property color secondary_fixed_dim: "#b1cccd" |
| 44 | + // readonly property color shadow: "#000000" |
| 45 | + // readonly property color source_color: "#478185" |
| 46 | + // readonly property color surface: "#f4fafb" |
| 47 | + // readonly property color surface_bright: "#f4fafb" |
| 48 | + // readonly property color surface_container: "#e9efef" |
| 49 | + // readonly property color surface_container_high: "#e3e9e9" |
| 50 | + // readonly property color surface_container_highest: "#dde4e4" |
| 51 | + // readonly property color surface_container_low: "#eff5f5" |
| 52 | + // readonly property color surface_container_lowest: "#ffffff" |
| 53 | + // readonly property color surface_dim: "#d5dbdb" |
| 54 | + // readonly property color surface_tint: "#00696e" |
| 55 | + // readonly property color surface_variant: "#dae4e5" |
| 56 | + // readonly property color tertiary: "#4e5f7d" |
| 57 | + // readonly property color tertiary_container: "#d6e3ff" |
| 58 | + // readonly property color tertiary_fixed: "#d6e3ff" |
| 59 | + // readonly property color tertiary_fixed_dim: "#b6c7e9" |
| 60 | + |
| 61 | + readonly property color background: "#121318" |
| 62 | + readonly property color error: "#ffb4ab" |
| 63 | + readonly property color error_container: "#93000a" |
| 64 | + readonly property color inverse_on_surface: "#2f3036" |
| 65 | + readonly property color inverse_primary: "#4d5c92" |
| 66 | + readonly property color inverse_surface: "#e3e1e9" |
| 67 | + readonly property color on_background: "#e3e1e9" |
| 68 | + readonly property color on_error: "#690005" |
| 69 | + readonly property color on_error_container: "#ffdad6" |
| 70 | + readonly property color on_primary: "#1d2d61" |
| 71 | + readonly property color on_primary_container: "#dce1ff" |
| 72 | + readonly property color on_primary_fixed: "#04174b" |
| 73 | + readonly property color on_primary_fixed_variant: "#354479" |
| 74 | + readonly property color on_secondary: "#2b3042" |
| 75 | + readonly property color on_secondary_container: "#dee1f9" |
| 76 | + readonly property color on_secondary_fixed: "#161b2c" |
| 77 | + readonly property color on_secondary_fixed_variant: "#424659" |
| 78 | + readonly property color on_surface: "#e3e1e9" |
| 79 | + readonly property color on_surface_variant: "#c6c5d0" |
| 80 | + readonly property color on_tertiary: "#432740" |
| 81 | + readonly property color on_tertiary_container: "#ffd7f5" |
| 82 | + readonly property color on_tertiary_fixed: "#2c122a" |
| 83 | + readonly property color on_tertiary_fixed_variant: "#5b3d57" |
| 84 | + readonly property color outline: "#90909a" |
| 85 | + readonly property color outline_variant: "#45464f" |
| 86 | + readonly property color primary: "#b6c4ff" |
| 87 | + readonly property color primary_container: "#354479" |
| 88 | + readonly property color primary_fixed: "#dce1ff" |
| 89 | + readonly property color primary_fixed_dim: "#b6c4ff" |
| 90 | + readonly property color scrim: "#000000" |
| 91 | + readonly property color secondary: "#c2c5dd" |
| 92 | + readonly property color secondary_container: "#424659" |
| 93 | + readonly property color secondary_fixed: "#dee1f9" |
| 94 | + readonly property color secondary_fixed_dim: "#c2c5dd" |
| 95 | + readonly property color shadow: "#000000" |
| 96 | + readonly property color surface: "#121318" |
| 97 | + readonly property color surface_bright: "#38393f" |
| 98 | + readonly property color surface_container: "#1e1f25" |
| 99 | + readonly property color surface_container_high: "#292a2f" |
| 100 | + readonly property color surface_container_highest: "#34343a" |
| 101 | + readonly property color surface_container_low: "#1a1b21" |
| 102 | + readonly property color surface_container_lowest: "#0d0e13" |
| 103 | + readonly property color surface_dim: "#121318" |
| 104 | + readonly property color surface_tint: "#b6c4ff" |
| 105 | + readonly property color tertiary: "#e3bada" |
| 106 | + readonly property color tertiary_container: "#5b3d57" |
| 107 | + readonly property color tertiary_fixed: "#ffd7f5" |
| 108 | + readonly property color tertiary_fixed_dim: "#e3bada" |
| 109 | + |
| 110 | + function withAlpha(color: color, alpha: real): color { |
| 111 | + return Qt.rgba(color.r, color.g, color.b, alpha); |
| 112 | + } |
| 113 | +} |
0 commit comments