From ce55b6dda496a0e594b4020bafe22af57aaa8bbe Mon Sep 17 00:00:00 2001 From: Chrismettal Date: Sun, 10 Jul 2022 15:33:56 +0200 Subject: [PATCH 1/6] Refactor into PreferencePack --- user.cfg => Dracula/Dracula.cfg | 99 +++++++++++----------------- dracula.qss => Dracula/Dracula.qss | 0 package.xml | 21 ++++++ resources/icons/Dracula.svg | 97 +++++++++++++++++++++++++++ resources/icons/Dracula_200x200.png | Bin 0 -> 1481 bytes 5 files changed, 155 insertions(+), 62 deletions(-) rename user.cfg => Dracula/Dracula.cfg (77%) rename dracula.qss => Dracula/Dracula.qss (100%) create mode 100644 package.xml create mode 100644 resources/icons/Dracula.svg create mode 100644 resources/icons/Dracula_200x200.png diff --git a/user.cfg b/Dracula/Dracula.cfg similarity index 77% rename from user.cfg rename to Dracula/Dracula.cfg index 839cf21..28bad2a 100644 --- a/user.cfg +++ b/Dracula/Dracula.cfg @@ -1,26 +1,31 @@ - - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -30,20 +35,14 @@ have to edit it manually. - - - - - - @@ -70,49 +69,25 @@ have to edit it manually. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - dracula.qss - - + Dracula.qss - - + + + + + + + + + + + diff --git a/dracula.qss b/Dracula/Dracula.qss similarity index 100% rename from dracula.qss rename to Dracula/Dracula.qss diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..13574e4 --- /dev/null +++ b/package.xml @@ -0,0 +1,21 @@ + + + Dracula + 🧛🏻‍♂️ Dark Theme for FreeCAD + 0.0.1 + tim-clifford + MIT + https://github.com/dracula/freecad + resources/icons/Dracula.svg + + + + Dracula + 🧛🏻‍♂️ Dark Theme for FreeCAD + color + dark + dracula + + + + \ No newline at end of file diff --git a/resources/icons/Dracula.svg b/resources/icons/Dracula.svg new file mode 100644 index 0000000..4f3518d --- /dev/null +++ b/resources/icons/Dracula.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + diff --git a/resources/icons/Dracula_200x200.png b/resources/icons/Dracula_200x200.png new file mode 100644 index 0000000000000000000000000000000000000000..01cafadbad0757c17eb1be40fee4e7037a8a357e GIT binary patch literal 1481 zcmdT^=`))N7|#|(u^2lHhVG2*8e2`)y-`OG>R3fxL9%Go5kfQxZ#5*#bZa`Q+L3H4 zDypqmQ=%xTBh=B!h8>1DqlDGOnM7jqB0)C(1fO>H!|(acJjXoeJP*S|1B}jCoq<3g zMnQpo5gPvU7<#8QvMH8H*N}crU>qI-`S9o%U;PDk!!$}uf`2R_5}Qf@ZsJlP002PI z*_rs{n>i^^EH14|;$;Pa=)?s1U5>i@Li|~fxd7O3WMRGb_Hi@rjaeDaKm6ZRUT!>$>x7_}2G|R~U?01gom-2I^U3 z2Cc)9E5gYKOLc~Rg#i^i@MSMs^+(kwc>cid&r60F42Htx8k1zAa+0vfOsbxoUDlFX zrMrm-KqOL1LBOhEX`|jz^yl#C>6w`>9LqABDw7ucv8CSfLzgG;s8tua8&v8P6=AOa zF>hrVX4r$5Yq3ZxF1tPjD@30-A|jCpe&URTG5Vt2-KSZH(?ftS>gz%Ud!Ce5kEF%j zeXkH!^%g1_$dL8e!=Blf-w2v4 z%4OEso5MEc(bzDeAg3Gde6Qf8MvWs7T0!lO^qwcXkNc;?#rl}>Nm~dz!N;eNjW}X2b-b4vvUmTL!Hhnf2k5lh)hFD1SoL6!Pf<*=sdjV z4wmv;0F*MPsxb@njVI%qP#=hlV}KO;s;R+A8>h7^Ld8ay_+O9>-bEK^nj>gt7hT8q zmeP4I;Je`(lP6x%&o`TWm48bVm9JTErgV)s)|1n9fEKaZ)86@KN*4uxKYYr|68?xw9dmndRzA~GK3z#=L8 zC#)>z$Z2Ay1CFso?Uyf5=w^(q5w8w5;cgc+lfMCJ4Gl6)-L7tK&?gBi)vtlAMV`6d zcPAZ?c5(kQ!vP3+L`7a}KCe43<`eIY7Su;FR+}lrgwEJS)b2>hVd^&cutnZ(r>mJx zoW@D6XaOi?MG+F^JW32F#O-vBZ)RX;O?`a3nnCR!(!FBX-ahq5U(VT_xSszuU?Mpo zQ8G#Y$Pm_rqM3vkM5ghazUbn@{$Qb;+sXXAtgfou=S-#Mr3hR2SM!QXR$+i})L80? z{M{VUg)3EOq3_fkh@OoJ#+B>b3Lcq_Q#`0;xOKio$G4X#X#1h{2g(`);i7@XNW6uF z4f2Ec4`0KmEy;Gm?b?Mp?=R=qk8|&jxL7nF?FEF9cMyF)9qy2|yhsv8?>6G8<_$xF M{6qbiSCWeV1^lUR=Kufz literal 0 HcmV?d00001 From c2292a014c4f7504e35c006b5417abd7773a0c86 Mon Sep 17 00:00:00 2001 From: Chrismettal Date: Sun, 10 Jul 2022 15:34:16 +0200 Subject: [PATCH 2/6] Change fully constrained color to Dracula palette --- Dracula/Dracula.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dracula/Dracula.cfg b/Dracula/Dracula.cfg index 28bad2a..df51282 100644 --- a/Dracula/Dracula.cfg +++ b/Dracula/Dracula.cfg @@ -49,7 +49,7 @@ - + From a2fba31dc84dc5c3098200ba94e842994cfc8c74 Mon Sep 17 00:00:00 2001 From: Chrismettal Date: Sun, 10 Jul 2022 15:38:16 +0200 Subject: [PATCH 3/6] Fix package.xml non printable chars --- package.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.xml b/package.xml index 13574e4..16a2a45 100644 --- a/package.xml +++ b/package.xml @@ -1,9 +1,9 @@ Dracula - 🧛🏻‍♂️ Dark Theme for FreeCAD + Dracula dark theme for FreeCAD 0.0.1 - tim-clifford + Tim Clifford MIT https://github.com/dracula/freecad resources/icons/Dracula.svg @@ -11,7 +11,7 @@ Dracula - 🧛🏻‍♂️ Dark Theme for FreeCAD + Dracula dark theme for FreeCAD color dark dracula From 8da7cfcf84f1cc696f5255718848eec3525ec731 Mon Sep 17 00:00:00 2001 From: Chrismettal Date: Sun, 10 Jul 2022 15:48:05 +0200 Subject: [PATCH 4/6] Update installation instructions --- INSTALL.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index f9ab77b..32d45d7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,25 +1,17 @@ ### [FreeCAD](https://www.freecadweb.org) -#### Install using Git +#### Install using FreeCAD -If you are a git user, you can install the theme and keep up to date by cloning the repo: - - git clone https://github.com/dracula/freecad.git +Starting with FreeCAD 0.20, this theme is available via the [Addon manager](https://wiki.freecadweb.org/Std_AddonMgr)! #### Install manually -Download using the [GitHub .zip download](https://github.com/dracula/freecad/archive/master.zip) option and unzip them. +Refer to [the FreeCAD wiki](https://wiki.freecadweb.org/Preference_Packs#Distributing_a_pack) for manual installation instructions. #### Activating theme -1. Copy `dracula.qss` to `~/.FreeCAD/Gui/Stylesheets/` (Linux) - `/Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/` - (MacOS) or `C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/` (Windows) +1. Install the PreferencePack either using the [Addon manager](https://wiki.freecadweb.org/Std_AddonMgr) inside FreeCAD or [manually](https://wiki.freecadweb.org/Preference_Packs#Distributing_a_pack). -2. Copy `user.cfg` to `~/.FreeCAD/` (Linux) - `/Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/` (MacOS) or - `C:/[INSTALLATION_PATH]/FreeCAD/data/` (Windows). Note that will override - any existing configuration - if you want to preserve your original - configuration, you will need to manually merge the two `user.cfg` files +2. Activate the pack via Preferences -> General -> Preference packs -> Dracula -> Apply 3. Boom! It's working From 921feae758c4af6785ac4f12b605062fcd2d6aa5 Mon Sep 17 00:00:00 2001 From: Chrismettal Date: Thu, 14 Jul 2022 18:04:43 +0200 Subject: [PATCH 5/6] Re-add original installation instructions for FreeCAD <0.20 --- INSTALL.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 32d45d7..628a6ae 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -15,3 +15,19 @@ Refer to [the FreeCAD wiki](https://wiki.freecadweb.org/Preference_Packs#Distrib 2. Activate the pack via Preferences -> General -> Preference packs -> Dracula -> Apply 3. Boom! It's working + +#### FreeCAD <0.20 + +If you are using a FreeCAD version before 0.20 you will need to do the following: + +1. Copy `dracula.qss` to `~/.FreeCAD/Gui/Stylesheets/` (Linux) + `/Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/` + (MacOS) or `C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/` (Windows) + +2. Rename `Dracula.cfg` to `user.cfg` and copy to `~/.FreeCAD/` (Linux) + `/Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/` (MacOS) or + `C:/[INSTALLATION_PATH]/FreeCAD/data/` (Windows). Note that will override + any existing configuration - if you want to preserve your original + configuration, you will need to manually merge the two `user.cfg` files + +3. Boom! It's working From ff5cce730d4db2aef1e4a4b914613aa73cc9b870 Mon Sep 17 00:00:00 2001 From: Chrismettal Date: Thu, 14 Jul 2022 18:07:34 +0200 Subject: [PATCH 6/6] Add myself to "Team" --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b4b5172..b98f433 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ All instructions can be found at [draculatheme.com/freecad](https://draculatheme This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/freecad/graphs/contributors). -| [![Tim Clifford](https://github.com/tim-clifford.png?size=100)](https://github.com/tim-clifford) | -| ------------------------------------------------------------------------------------------------ | -| [Tim Clifford](https://github.com/tim-clifford) | +| [![Tim Clifford](https://github.com/tim-clifford.png?size=100)](https://github.com/tim-clifford) | [![Chrismettal](https://github.com/chrismettal.png?size=100)](https://gitlab.com/chrismettal) | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| [Tim Clifford](https://github.com/tim-clifford) | [Chrismettal](https://gitlab.com/chrismettal) | ## Community