From a0237bb5d522ec5b23217f7f633eea3d53d2a130 Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Sun, 29 Nov 2020 17:08:57 +0700 Subject: [PATCH] Add more themes --- CHANGELOG.md | 1 + addons/godot_xterm/themes/base16_dark.theme | Bin 0 -> 781 bytes addons/godot_xterm/themes/base16_light.theme | Bin 0 -> 782 bytes addons/godot_xterm/themes/default_dark.theme | Bin 0 -> 719 bytes addons/godot_xterm/themes/default_light.theme | Bin 0 -> 727 bytes addons/godot_xterm/themes/soft_black.theme | Bin 0 -> 829 bytes addons/godot_xterm/themes/solarized.theme | Bin 0 -> 863 bytes addons/godot_xterm/themes/solarized_black.theme | Bin 0 -> 857 bytes addons/godot_xterm/themes/solarized_white.theme | Bin 0 -> 868 bytes examples/asciicast/asciicast.tscn | 4 ++-- examples/menu/menu.tscn | 2 +- examples/terminal/terminal.tscn | 4 ++-- 12 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 addons/godot_xterm/themes/base16_dark.theme create mode 100644 addons/godot_xterm/themes/base16_light.theme create mode 100644 addons/godot_xterm/themes/default_dark.theme create mode 100644 addons/godot_xterm/themes/default_light.theme create mode 100644 addons/godot_xterm/themes/soft_black.theme create mode 100644 addons/godot_xterm/themes/solarized.theme create mode 100644 addons/godot_xterm/themes/solarized_black.theme create mode 100644 addons/godot_xterm/themes/solarized_white.theme diff --git a/CHANGELOG.md b/CHANGELOG.md index ca1b903..7ce6a26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added - Theme colors now support transparency. +- More themes: base16_dark, base16_light, default_dark, default_light, soft_black, solarized, solarized_black, solarized_white. ### Changed - Set a default theme if no theme property has been set. diff --git a/addons/godot_xterm/themes/base16_dark.theme b/addons/godot_xterm/themes/base16_dark.theme new file mode 100644 index 0000000000000000000000000000000000000000..8275bdfdb291744a070f0c658dc89c8075acd88c GIT binary patch literal 781 zcmV+o1M>V*Q$s@n000005C8yv2mk=}0ssIgwJ-f(eg|C_09IggMDXy001DkOp(Em9 zhXW$e2t44}tPzX;a5%h_k@eHGWJ2<0GMOIVEsu8BoH+%P@n+>#?!K5)>q&Mo0+7 zdqA{e<$;_KdNf5bRGxz&A_OTYCrL?4Z-R>#?c0ixnI z5`YsWl@S1h1PUN#Ah4i<35Zx?w*e!LFKh^$BD2pxEWWn~&*LQaerz!uiIlkv)V{At z4zdXb7kOlcdp;J4&j0-z*2gh@yT&@NwrCz*RBGe1NF7RrHQUB*cIOhq0rRD$mY0mS zR!Pgh#myvJ{%`+nrku+Nx+4NXycj7PX0=wGL++kW1D24|BQ(&)uK3B$r=Na+z=XG% zU5mM!dT}ElK{31E#9DeVfUzDd61m5K5xu!l>&Pq`GJsItfqcXiH3zDYG8}|~A~Lp> zXpX!Jm^%#O!$+RV6VO9x6xq&1q+#XGd|G0Y)K%XTxl>g;ypx)Q{1D$}Nrax?2QQ|6 Lmzj8XQd2`i^KxMg literal 0 HcmV?d00001 diff --git a/addons/godot_xterm/themes/base16_light.theme b/addons/godot_xterm/themes/base16_light.theme new file mode 100644 index 0000000000000000000000000000000000000000..872435333149d5a2adde7ef9d28cb2ac6fe4a8cc GIT binary patch literal 782 zcmV+p1M&P)Q$s@n000005C8yw2mk=~0ssIgwJ-f(e+Ok302Ux~M)1&v016#q;HP_- z!wYIf<1aXn4i7Vh6gOiD0V&eY+-dwC9@7fY)HfJv^&Y|fUZBxj)+g_g#V#%1OcUhX0ixr7>Tc@L$6 zx!}r~1;Xleow&0S=f~a7Hd(fs-5#!1)8cz5$ja5m$jQZe!}@>VzsGN+-PWy=oHS+( zCyiRw!=utW&zA?%sK!#-Gbs9WLdnSykqenzRC9Uc-`0Y(pm`2m8W z5hO-bKr-NC(IPc8bVCHB~SY9`CWr=t=)ScUev%Xe!a5@H?R= z`J$+0vchPWU)83t+~aWZMRX95V>Lx)G~-+FjO@dGwNEGq*4>8jo7(m%;7LCKPVaVRy)KHtXu?+eOj37V8p3iL|92?-q%m^~+ zCEAFC8uN!SK6}Yi@dSFikOIn?^E3>LnM=!ICWGE@M^#jJ5I0E80Y4RQv9y`zJH5-3 M-(uRX7*bP1LuO-X^Z)<= literal 0 HcmV?d00001 diff --git a/addons/godot_xterm/themes/default_dark.theme b/addons/godot_xterm/themes/default_dark.theme new file mode 100644 index 0000000000000000000000000000000000000000..81e26102695805ce196704c8cc013b1d6bd4a267 GIT binary patch literal 719 zcmV;=0xG;=y31BsMSxy{F*1;`D?<|DmM(14%qVT^ z0Yd;u08Rk=pW|{HKG1;Aky@i?wVl_0j7x^>GTO!m`{Mruz8v2C58!KQ%=pH2vvD`5 zj$vCTFP;*+mA?8%PSXLsZ95xx$_$;}aw}zL3 zmg>=yF2Efyk<%3j6{M|H>&T%00=}0^4Y`h6+|4TcfbJ)COzWqWPFqaJs;i`z7+K+bJN>fHc zG@A}p??T*_C@cAdv=U__3Y`yz&wq;r3KAfgN}B^CA|X>r12Qd$5C%Rn7>~<@mX;D7 zQ;LTV98(-YVnbsp{RJo{{)uCBIEhFqRig3;5?*q#aR?&*fH4yeg$kfEDu7@DB9_=~BaE*wn;SG+ z8EElc)`PlRgLz;?T)I2+XUVGz5^Xd42i8_^>bIpJ(QD9x!|wB#BXhWylC(Is+JJ-W zU6H#FlR#()`e8SkhcS+oKGVHOMU)CQYsPJM=Yk=DInz?Gmn^vUo~!4K&ESw6StB@4 zrC}2TgK$S21aUEvZP;oZI5aqR96CrT9ZGMc>AO&jBmA6`2PBIyk+4e&U?&rITM`7W zq!4TI0FR!X4-scP2AuIYTCKm$VmU*Ja@gggM@TuaLz`<3CR(KUs03|tIdUE`w*O>! zJnn}c@Q`rlnOGIpoatMaKuSJ(e?Q_V-KThLWls3{g-s;2JTLBDO#N^aqMTAwLqqP+ BLUI5A literal 0 HcmV?d00001 diff --git a/addons/godot_xterm/themes/default_light.theme b/addons/godot_xterm/themes/default_light.theme new file mode 100644 index 0000000000000000000000000000000000000000..55151ba736b0fb9186098e8df96f47edea34eedc GIT binary patch literal 727 zcmV;|0x11bQ$s@n000005C8yr2mk=T0ssIgwJ-f(dIzl)04CgDKQN6$0BQgR1q}Q% z`~&~MKk$#0YXq(Dr;sWAElK|GKk-i@2~*Z#y33YEMPQcIoFHUIXG|j8^2RVUy9FUV zMF2_wPXHqRuW`y9;Y8pyv{eXJj;r;baysLD7>*^3ZO#7$&K_X>AK+ZA#5hZS)y;Ns z-;9nQwPt1dzvKUdbHyK%{}&bi0sH|O5Z#W)<&HRPMbO)5xg@PgDbU*ut1PaB6=lp_ zM{6gRIt1wx@DK)idlKVL+bg-2bNWBvTshs(+jup*=LyF{vmGVj+fa2&JCs}GdPKH7!xXdFTWf{u%&T^#MI zR4`%U#6~Om079cl5+x3_E2CZiZ=izWr#MA)jmG2@LO$VwatR|IfiaPdg$q-+1_Fn% zgw>j_Hmd@Fl&F!tsTz`ifB+Hzpn`#-;x-bX(=-l3%ps!;Kn8*eCm>>p-3B9w?>eK~ zWEL6d@g3;F+C{fi+T+FHsQI!8Mhhl>h_6o2k>%qii=7L*YeG)F6#+VYs9Q|t9Kw3{ zUb2BLkQw&7H3-=*R5n{=QHDTzu0ZR?7scm3%n4-kp)lCbL> zt4$-W!z9>T=_1zfzzr)qDWWS6bG!CRR?QyHT6Ttu0*TE-lX!AyhLjpWOtjblKuI*p z=LmYl$bOOG@jTx>;3JXFGm#qBnwedfNJ{FxZ;$MnR#MzwnPvPmIunU_o~Ph0uYMPT J+%Zy9Lql^gOUwWO literal 0 HcmV?d00001 diff --git a/addons/godot_xterm/themes/soft_black.theme b/addons/godot_xterm/themes/soft_black.theme new file mode 100644 index 0000000000000000000000000000000000000000..1f3e4f01502a5b364637bf07b01887ddb4254e84 GIT binary patch literal 829 zcmV-D1H$}LQ$s@n000005C8yu2mk;j0{{RhwJ-f(eFxnb02ZQqN8r?i01yX}1gC`& zM}yMHA?ygF1eha&$>C!IVfPS>_tW%bO22$xO6i|U`!LRm#9u(1h4N&B+u32EODN2m zKtLRY0lV!UR{&xFW&r1G&NfNrGMnS8Zd1x|ls7B&f0*CSbaM?jmPt;waj|jtpXJw5 zJ6mGcjpok&C-By=;r{{NoUASH+7m~cBbC$A*zwk)ZodgI} z2b`Qx=&)wc$ayQCU<@*YG9*cGZXh*s#K2Ap6|lk%9;>J*A~kbJ6vQwS0%J%t(O@M@ zAdCS8Q%xmiRy=%wKrLLXprB;P7}c-=FZ=+KI#UPuB4Wg9HWLzaltTxca03Tq0TBWQ zBK7bA9lU@6ZA_dfunK^Ys9`}tYDfeq1dss0f&rT1HWHv?CDaLkLIMSVG7wY%!30Ds zvD+hz?|za`+gZ#&i|^dSyy5G&e?&877u>K`A8aS_X+XLxj{PahHH`d}Tu`^=#5AA% zadZ|q1dfxw@Ma+7no)8V#dpI_({iU=3x3Bd?h0L0O`CP|opXg;Krv}D-9`MY#=;g% zY!YPEw=vPd$@y8<9SIOb79+CZRBO#R;O6)=AZ4izvPNy`inQ$f=^YP{7vc3_*C*V) zusBzcV3XZnVm%(H_So_jwe+#;RgcBgx;u;X6HY95M82fw&&eaSh&f|06@?omxFny1 z(+`9FNP>mW@AM+;2q4cyr?8%x|6B%86779*M1h+5WXZ{#_zB88q?J6M)Lpv#PV=Rh HQd2`iZpDm* literal 0 HcmV?d00001 diff --git a/addons/godot_xterm/themes/solarized.theme b/addons/godot_xterm/themes/solarized.theme new file mode 100644 index 0000000000000000000000000000000000000000..f6485ec67f1b23750d6c3aa1a84c39c6aa42fc60 GIT binary patch literal 863 zcmV-l1EBm;Q$s@n000005C8yt2mk;_0{{RhwJ-f(dj>qaZywhHlv}>3mU9OJ!Fxo3^7ml>pUY2?+n4&=JMl;v#T1*>kvXG66+Qvy zrbf{|Mv&n{DE43gZ2)!v0^YAMpk7Li*#CUZr*6~wnd9Qcw*W?rmr3g}HCIxo_+m~^1zaYH|4T|z`aDoo`CwrM z`3abm{3T~Ox{laKBc}D1I~)#y=MPj`&a-s~p4am;fkG{3od!T&+p*N$u*@EbI~RfZ zir40q_KG6)yq-DB_6CI`Nv+ZBzsrA=V_E}1v?1DmlmrM4Th#;_CXMqNHpj>~>He6I0W?AjP9*&T!=T zva+;3Dyk})nXRoNpOw|sx7$I*Cd`T@85mR3d@ZqjR!XFvr1*B%7O9a-`{8LGV^)!mEyBAu7Hyn z6Y3S8V)$-mQ(O$X*EBr|rHlP$x;^?t{Rbb91i!D>`_=)WWSS`(RD`{1Yt2^ zZRpe%m=Cx(HXT@^)PYW$Hgm;A=6=rf1Ck|7&+KyZ-^+>4;Ok144$GMSqUEG?LWC;fd2xSARHV$>^0)*%m@v$ p!UUovC`mo#Zz6uC%aE5RbK&PFFiU~*e0J~h^Yco&2?J77LqlqVnUw$l literal 0 HcmV?d00001 diff --git a/addons/godot_xterm/themes/solarized_black.theme b/addons/godot_xterm/themes/solarized_black.theme new file mode 100644 index 0000000000000000000000000000000000000000..721880f4ae61ea3cef7ec011227719fbbb85329c GIT binary patch literal 857 zcmV-f1E%~^Q$s@n000005C8yz2mk;<0{{RhwJ-f(f(N}B0Cr@CNx;-i04x;hG{cv# zf^umWh3mimBh9OL?0 zQ2d%K|GOMtd+W>BV`y`E{||T{h2;O0w@AmA_t=&EZvHH-*M41bdCA8AVgD7p#kPI; z&w}zlmD<J4?q<#C`KG+mg~6%(xI&0C&*cDkZX( z(rBjOm&Z%{FCZQR8#iQNO-^%1#td%(jT$j?7DQ^cv~c0Unw$#2Or)Ox%E^Cn7o_vt zDz!u(*he9z_L3BaE}_CBu(%Fk$scrGj}L|nw48Yw{B%8rWO*x@I}vv-`tk*Dts}<^ zg0$;;rYw&asD>gPjb#5}{;M2QTh;`V5>;zcBVot!3BQ`5mkx4>pYnouv z#DHf(#|}?}j~{cW%1Q_2MA8(J5|ZO-X>EB>P*FG+a=9mOX^ClahyrpmWjuO#S65ix z)D)FXO;#2Xud2$*%jKS6Q|5&d&1;Eix|Cqdlq3|d*Eq$PD=AdWOb|neOq-D-b4;Sd z<%yW03V@2JF-d~Z&^38duVGfV zU?hpPdhs}v+;_4!VYc*sCov=IjywqRVx-!Tshuz% zaB*xputcc?oi=Umir>xqoahH+OPHM5CE&bw6^95323+YP*5-le$kyzr>%uZA=kb5F z9?haShWpEF$frVzIkgWLaR&^V;-6RvTF8%n^2h-H1(={5Y&|5B;_A!@4Ku<7qa`d! jE#(g)YNi8_2PSjiXDU8Rf%1Gt?(*~VO1cRHQd2`ipY4_G literal 0 HcmV?d00001 diff --git a/addons/godot_xterm/themes/solarized_white.theme b/addons/godot_xterm/themes/solarized_white.theme new file mode 100644 index 0000000000000000000000000000000000000000..e33637893ebc0e2f0719a1342b3870db880f72d0 GIT binary patch literal 868 zcmV-q1DpI(Q$s@n000005C8yv2mk;~0{{RhwJ-f(eg_pA0G1?&Nx+m&11tbM1Whz1 z0b-dS7>bt;eO4b9Q@k{c*sW5b^YcMVCNq$f59Q6)VnFfMZDAJP?BkKJnA=Ao_CjqR;wxT&F;ZQM=7 zfUVU*R%f6itAl1aU1>AN_2|czHwV@mdx*=dZ#l5~c%*kL7DsJq{_R^;4)F6O6 z@N!@!y0_ZuuHm_G)xU@6JzF{!2aodzT}@zWqRpg0dxi?oxU-RpFko!PY%XEv_el75cz zppDWn zvOq{JCeEfyO^bVgBhR1#DM&q(wQ4+<4rJcvH9sI9;az4I_*qjR(k&8nwbDrpU-%v!sI6iS}VpU04MK^VraHJH#uwf&M%hLCLhc uu$(#3Fmz4uT<%W>DE}O>IGuq!Gnw;!&RAJ0f#>^XmoGn?45=kjQ$s`Pe4AeY literal 0 HcmV?d00001 diff --git a/examples/asciicast/asciicast.tscn b/examples/asciicast/asciicast.tscn index e585608..0887d36 100644 --- a/examples/asciicast/asciicast.tscn +++ b/examples/asciicast/asciicast.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://addons/godot_xterm/themes/default.theme" type="Theme" id=2] +[ext_resource path="res://addons/godot_xterm/themes/default_dark.theme" type="Theme" id=1] [ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=4] [ext_resource path="res://examples/asciicast/example.cast" type="Animation" id=6] @@ -8,7 +8,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 focus_mode = 2 -theme = ExtResource( 2 ) +theme = ExtResource( 1 ) script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false diff --git a/examples/menu/menu.tscn b/examples/menu/menu.tscn index b4dcfa5..ff227fd 100644 --- a/examples/menu/menu.tscn +++ b/examples/menu/menu.tscn @@ -2,7 +2,7 @@ [ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=1] [ext_resource path="res://examples/menu/menu.gd" type="Script" id=2] -[ext_resource path="res://addons/godot_xterm/themes/default.theme" type="Theme" id=3] +[ext_resource path="res://addons/godot_xterm/themes/default_dark.theme" type="Theme" id=3] [node name="Menu" type="Control"] anchor_right = 1.0 diff --git a/examples/terminal/terminal.tscn b/examples/terminal/terminal.tscn index 276fe26..58ee542 100644 --- a/examples/terminal/terminal.tscn +++ b/examples/terminal/terminal.tscn @@ -2,13 +2,13 @@ [ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gdns" type="Script" id=1] [ext_resource path="res://addons/godot_xterm/nodes/pseudoterminal/pseudoterminal.gdns" type="Script" id=2] -[ext_resource path="res://addons/godot_xterm/themes/default.theme" type="Theme" id=4] +[ext_resource path="res://addons/godot_xterm/themes/default_dark.theme" type="Theme" id=3] [node name="Terminal" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 focus_mode = 2 -theme = ExtResource( 4 ) +theme = ExtResource( 3 ) script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false