diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-03-02 11:57:39 +0100 |
|---|---|---|
| committer | j-p <jp_bruyere@hotmail.com> | 2021-03-02 12:01:06 +0100 |
| commit | 25a2b0d668dfea62e53a1fcf50ed32b43cfc2c68 (patch) | |
| tree | bc77c325f93fb136b7a0ba977982d1262338ecf7 /Themes | |
| parent | 5b5150e5e7e1eca0aa99de8b8a7aa6f38b7310d8 (diff) | |
implement theme from directory
Diffstat (limited to 'Themes')
| -rw-r--r-- | Themes/TestTheme/DefaultTemplates/Crow/Window.template | 4 | ||||
| -rw-r--r-- | Themes/TestTheme/Images/Crow/Icons/checkbox.svg | 75 | ||||
| -rw-r--r-- | Themes/TestTheme/theme.style | 23 |
3 files changed, 102 insertions, 0 deletions
diff --git a/Themes/TestTheme/DefaultTemplates/Crow/Window.template b/Themes/TestTheme/DefaultTemplates/Crow/Window.template new file mode 100644 index 00000000..15e258e2 --- /dev/null +++ b/Themes/TestTheme/DefaultTemplates/Crow/Window.template @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<Border Name="SizeHandle" Style="winBorder" CornerRadius="{./CornerRadius}" Background="{./Background}" > + <Container Name="Content" MinimumSize="0,0" /> +</Border> diff --git a/Themes/TestTheme/Images/Crow/Icons/checkbox.svg b/Themes/TestTheme/Images/Crow/Icons/checkbox.svg new file mode 100644 index 00000000..789d0556 --- /dev/null +++ b/Themes/TestTheme/Images/Crow/Icons/checkbox.svg @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="svg2" + viewBox="0 0 64 64" + height="64" + width="64" + sodipodi:docname="checkbox.svg" + inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1600" + inkscape:window-height="877" + id="namedview10" + showgrid="false" + inkscape:zoom="11.09375" + inkscape:cx="39.255379" + inkscape:cy="32" + inkscape:window-x="-8" + inkscape:window-y="-8" + inkscape:window-maximized="1" + inkscape:current-layer="svg2" /> + <defs + id="defs4" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + id="False"> + <rect + style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3.38882232;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="background-0" + width="50.832325" + height="50.832325" + x="7.1542463" + y="10.990663" /> + </g> + <g + id="True"> + <rect + style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3.38882232;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="background" + width="50.832333" + height="50.832333" + x="7.1542463" + y="10.990663" /> + <path + style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.819638;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + d="m 26.899301,40.904569 c 0,0 -4.557927,-12.130528 -17.039071,-16.083111 C 23.373133,46.449804 25.903228,60.091295 25.903228,60.091295 36.930826,34.779909 41.845629,25.237669 55.533596,15.957127 38.337726,22.362558 33.488807,27.75341 26.899301,40.904569 Z" + id="checkmark" /> + </g> +</svg> diff --git a/Themes/TestTheme/theme.style b/Themes/TestTheme/theme.style new file mode 100644 index 00000000..dfd5099d --- /dev/null +++ b/Themes/TestTheme/theme.style @@ -0,0 +1,23 @@ +ControlBackground = "DarkRed"; +ControlBorderColor = "White"; +ControlBorderWidth = "2"; +ControlCaptionColor = "White"; +ControlCaptionHoverColor = "RoyalBlue"; +ControlCornerRadius = "5"; +ControlInsideMargin = "5"; +ControlHighlight = "RoyalBlue"; +IconSize = "16"; +IconMargin = "2"; +ToggleIconSize = "32"; + +TooltipBackground = "Khaki"; +TooltipForeground = "DimGrey"; +TooltipMargin = "3"; + +WindowBackgroundColor = "DarkGrey"; +WindowBorderColor = "White"; +WindowBorderWidth = "2"; +WindowTitleBarBackground = "vgradient|0:Onyx|1:Green"; +WindowTitleBarForeground = "Black"; + +MenuBackground = "DarkGrey";
\ No newline at end of file |