Skip to content

Commit 004c570

Browse files
Merge pull request #2 from Patitotective/devel
2 parents 2de8279 + 3e62104 commit 004c570

15 files changed

+3482
-19
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ jobs:
3333
- uses: actions/checkout@v2
3434
- uses: iffy/install-nim@v4.1.1
3535
- name: Build exe
36-
run: nimble buildApp
36+
run: |
37+
nimble install -d -y
38+
nake build
3739
- name: Upload release binaries
3840
uses: alexellis/upload-assets@0.2.2
3941
env:
4042
GITHUB_TOKEN: ${{ github.token }}
4143
with:
42-
asset_paths: '["*.exe"]'
44+
asset_paths: '["*.zip"]'

ImThemes.nimble

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Package
22

3-
version = "0.1.0"
3+
version = "0.1.1"
44
author = "Patitotective"
55
description = "ImThemes is a Dear ImGui theme designer and browser written in Nim"
66
license = "MIT"
@@ -17,19 +17,20 @@ requires "chroma >= 0.2.4"
1717
requires "imstyle >= 0.3.2"
1818
requires "niprefs >= 0.3.4"
1919
requires "stb_image >= 2.5"
20+
requires "https://github.com/status-im/nim-zippy >= 0.5.7"
2021

2122
import std/[strformat, os]
2223

2324
let arch = if existsEnv("ARCH"): getEnv("ARCH") else: "amd64"
2425
let outPath = if existsEnv("OUTPATH"): getEnv("OUTPATH") else: &"{namedBin[\"main\"]}-{version}-{arch}" & (when defined(Windows): ".exe" else: "")
2526
let flags = getEnv("FLAGS")
2627
27-
task buildApp, "Build the application":
28+
task buildBin, "Build the application":
2829
exec "nimble install -d -y"
2930
exec fmt"nim cpp -d:release --app:gui --out:{outPath} --cpu:{arch} {flags} main.nim"
3031
31-
task runApp, "Build and run the application":
32-
exec "nimble buildApp"
32+
task runBin, "Build and run the application":
33+
exec "nimble buildBin"
3334
3435
exec fmt"./{outPath}"
3536

assets/Cousine-Regular.ttf

307 KB
Binary file not shown.

assets/ProggyVector Regular.ttf

577 KB
Binary file not shown.

assets/Roboto-Regular.ttf

123 KB
Binary file not shown.

assets/style.niprefs

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Style
2+
alpha=1
3+
4+
windowPadding=[10, 10]
5+
windowRounding=4
6+
windowBorderSize=0
7+
# windowMinSize=[32, 32]
8+
windowTitleAlign=[0.5, 0.5]
9+
windowMenuButtonPosition="left"
10+
11+
childRounding=0
12+
childBorderSize=1
13+
14+
popupRounding=1
15+
popupBorderSize=1
16+
17+
framePadding=[5, 3]
18+
frameRounding=3
19+
frameBorderSize=0
20+
21+
itemSpacing=[7, 4]
22+
itemInnerSpacing=[3, 2]
23+
24+
cellPadding=[0, 0]
25+
26+
touchExtraPadding=[0, 0]
27+
28+
indentSpacing=6
29+
30+
columnsMinSpacing=6
31+
32+
scrollbarSize=13
33+
scrollbarRounding=16
34+
35+
grabMinSize=20
36+
grabRounding=4
37+
38+
logSliderDeadzone=4
39+
40+
tabRounding=4
41+
tabBorderSize=1
42+
tabMinWidthForCloseButton=0
43+
44+
colorButtonPosition="right"
45+
46+
buttonTextAlign=[0.5, 0.5]
47+
48+
selectableTextAlign=[0, 0]
49+
50+
displayWindowPadding=[19, 19]
51+
displaySafeAreaPadding=[3, 0]
52+
53+
mouseCursorScale=1
54+
55+
antiAliasedLines=true
56+
antiAliasedLinesUseTex=true
57+
antiAliasedFill=true
58+
59+
curveTessellationTol=1.25
60+
61+
colors=>
62+
Text = "#DBEDE2"
63+
TextDisabled = "#858C88"
64+
WindowBg = "#21232B"
65+
ChildBg = "#262830"
66+
PopupBg = "#333844"
67+
Border = "#231D22"
68+
BorderShadow = "#000000"
69+
FrameBg = "#2B2F3B"
70+
FrameBgHovered = "#74324C"
71+
FrameBgActive = "#74324C"
72+
TitleBg = "#3B3345"
73+
TitleBgActive = "#801341"
74+
TitleBgCollapsed = "#333844"
75+
MenuBarBg = "#333844"
76+
ScrollbarBg = "#3D3D38"
77+
ScrollbarGrab = "#63635F"
78+
ScrollbarGrabHovered = "#B1B1AF"
79+
ScrollbarGrabActive = "#B1B1AF"
80+
CheckMark = "#A8232D"
81+
SliderGrab = "#A62658"
82+
SliderGrabActive = "#B53844"
83+
Button = "#A62658"
84+
ButtonHovered = "#74324C"
85+
ButtonActive = "#74324C"
86+
Header = "#74324C"
87+
HeaderHovered = "#A62658"
88+
HeaderActive = "#801341"
89+
Separator = "#6D6D7F"
90+
SeparatorHovered = "#1966BF"
91+
SeparatorActive = "#1966BF"
92+
ResizeGrip = "#A62658"
93+
ResizeGripHovered = "#74324C"
94+
ResizeGripActive = "#74324C"
95+
Tab = "#2D5993"
96+
TabHovered = "#4296F9"
97+
TabActive = "#3268AD"
98+
TabUnfocused = "#111A25"
99+
TabUnfocusedActive = "#22426C"
100+
PlotLines = "#DBEDE2"
101+
PlotLinesHovered = "#74324C"
102+
PlotHistogram = "#4FC632"
103+
PlotHistogramHovered = "#74324C"
104+
TableHeaderBg = "#303033"
105+
TableBorderStrong = "#4F4F59"
106+
TableBorderLight = "#3A3A3F"
107+
TableRowBg = "#000000"
108+
TableRowBgAlt = "#FFFFFF"
109+
TextSelectedBg = "#62A0EA"
110+
DragDropTarget = "#FFFF00"
111+
NavHighlight = "#4296F9"
112+
NavWindowingHighlight = "#FFFFFF"
113+
NavWindowingDimBg = "#CCCCCC"
114+
ModalWindowDimBg = "rgba(204, 204, 204, 0.3)"

0 commit comments

Comments
 (0)