Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1597

Help: Rainmeter Skins • Re: Help With Transparency On Monterey

$
0
0
Hello.

I am currently in love with a skin suite called Monterey. It has the perfect Now Playing skin except for a small detail. I'd like the background on the gadget to be 100% transparent. As a matter of fact, if they could ALL have transparent backgrounds...

I have tried searching through the files in the @resources folder, but I am old and drive for a living so my brain feels like it is grasping what is going on, but I cannot figure it out.

The skin is located at https://github.com/creewick/MontereyRainmeter/releases.

It's been archived, but I still tried getting in touch with the author for their help. There has been no response.

If anyone can help me with the code, I'd greatly appreciate it. Thank you.
The themes in this suite do not use any alpha values, so to make the backgrounds transparent requires editing each theme file.
Those files are located in 'Monterey\@Resources\Scripts\Themes' folder. They are named: light.inc, dark.inc, auto.inc, color.inc, and blur.inc

You need to open each file in your editor, locate the BackgroundColor values and add '01' to that value. Save the file.

Here is the modified light.inc file:

Code:

[Variables]BackgroundColor=#LightThemeBackground#01ForegroundColor=#LightThemeForeground#DarkMode=0WidgetPadding=#PaddingBase#WidgetRadius=#RadiusBase#
The dark.inc should be edited the same way.

The auto.inc is a bit different, edit the [AutoThemeMeasure] section:

Code:

[Variables]WidgetPadding=#PaddingBase#WidgetRadius=#RadiusBase#[AutoThemeMeasure]Measure=CalcFormula=#DarkMode#IfCondition=(#DarkMode# = 1)IfTrueAction=[!SetVariable BackgroundColor #DarkThemeBackground#01][!SetVariable ForegroundColor #DarkThemeForeground#]IfFalseAction=[!SetVariable BackgroundColor #LightThemeBackground#01][!SetVariable ForegroundColor #LightThemeForeground#]
And the color.inc uses Chameleon plugin, [ColorThemeBackground] and [ColorThemeForeground] sections are edited, so modified it looks like this:

Code:

[Variables]WidgetPadding=#PaddingBase#WidgetRadius=#RadiusBase#[ChameleonMeasure]Measure=PluginGroup=ColorThemePlugin=ChameleonType=Desktop[BackgroundColor]Measure=PluginGroup=ColorThemePlugin=ChameleonParent=ChameleonMeasureColor=Average[ForegroundColor]Measure=PluginGroup=ColorThemePlugin=ChameleonParent=ChameleonMeasureColor=Foreground1[ColorThemeBackground]Measure=StringString=#ColorThemeBackground#Substitute="%0":"[*BackgroundColor*]01","%1":"[*ForegroundColor*]"OnUpdateAction=[!SetVariable BackgroundColor [&#CURRENTSECTION#]][ColorThemeForeground]Measure=StringString=#ColorThemeForeground#Substitute="%0":"[*BackgroundColor*]01","%1":"[*ForegroundColor*]"OnUpdateAction=[!SetVariable ForegroundColor [&#CURRENTSECTION#]][DarkMode]Measure=PluginGroup=ColorThemePlugin=ChameleonParent=ChameleonMeasureColor=LuminanceRegExpSubstitute=1Substitute="0.[5-9].*":"0","0.[0-4].*":"1"OnUpdateAction=[!SetVariable DarkMode [DarkMode]][Variables]BackgroundColor=#ColorThemeBackground#ForegroundColor=#ColorThemeForeground#DarkMode=1
I would suggest not editing the blur.inc because it uses the 'acrylic' FrostedGlass plugin and will always show a non-transparent background.

With those edits, you will have transparent backgrounds.
The 'Themes' will work in 'Settings, but the foreground and background colors will not work. to correct that, I would need to look a lot deeper into this, and feel it is not something that will be easily modified right now.

Statistics: Posted by eclectic-tech — Today, 2:13 am



Viewing all articles
Browse latest Browse all 1597

Trending Articles