-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor|Client|Widgets: GuiWidget stores/updates common style proper…
…ties Also cleaned up colors.dei in the Default Style pack a little with new gui module color operations.
- Loading branch information
Showing
10 changed files
with
199 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
# Colors for the default UI style | ||
|
||
color text { rgb <1.0, 1.0, 1.0> } | ||
color background { rgba <0.0, 0.0, 0.0, 0.666> } | ||
script { import gui } | ||
|
||
color text { rgb <1.0, 1.0, 1.0> } | ||
color background { rgb <0.0, 0.0, 0.0, 0.666> } | ||
color accent { rgb <1.0, 0.8, 0.4> } | ||
|
||
group editor { | ||
color cursor { rgb <1.0, 0.8, 0.4, 0.7> } | ||
color cursor { rgb $= gui.colorAlpha(accent.rgb, 0.7) } | ||
color hint { rgb $= gui.colorMix(text.rgb, accent.rgb, 0.5) } | ||
} | ||
|
||
group log { | ||
color normal { rgb <0.85, 0.85, 0.8> } | ||
color highlight { rgb <1.0, 1.0, 1.0> } | ||
color dimmed { rgb <0.72, 0.72, 0.68> } | ||
color accent { rgb <1.0, 0.8, 0.4> } | ||
color accent { rgb $= accent.rgb } | ||
color dimaccent { rgb <0.85, 0.68, 0.34> } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.