Vuetify v-snackbar color attribute is not working - vuetify.js

Hello I have a question regarding the color attr in the snackbar when I try to set the custom color
and apply the snackbar my entire page turns into blank color (same as the color I choose) except the snackbar itself
any suggestion as to why this accrues?
https://prnt.sc/_xwKs2cOO3g6
but if you type
color="success" it is working fine
writing color="#colorcode" makes this error

Related

Visual Studio - Color Theme Designer: Selected text wrong background color

I'm playing around with the Color Theme Designer for Visual Studio 2022 to create a custom color scheme.
I have come to a syntax highlighting I like so far. But then I noticed that the background of some selected text remains at the normal background color (here: 0x282828) over keywords like new etc. See the screenshot below.
For that selection background I set up the All elements category in Color theme designer like:
Text Editor Text Manager Items
...
Plain Text 07282828
Plain Text FFEBDBB2
Selected Text FF076678
...
The property Selected text occurs here twice; once it probably concerns the background color, the second time the foreground color.
But on the screenshot it is visible that the background color only is applied to the empty glyphs, spaces etc.
Which setting in the Color Theme Designer must be changed to get the selection background color applied to the whole selection?

Coding textinput to themes folder

My error says "can not extract resource from com.android.aaptcompiler.ParsedResource#44d33581."
Im a begginer to coding trying to expand on my books assignment of changing color of text and background with a button to changing theme. If I wanted to change the theme color with an hexidecimal input how would I go about doing that?
I tryd coding 3 variables for textinput of R,G,B
Like this var redInput = findViewById(R.id.RedTextInput).set.tostring() and then made a value for Theme = ("#".plus(redInput).plus(greenInput).plus(blueInput))
findViewBtId(R.id.button3);(Colorint)
Then went to the color resource folder And made one <color name = "Colorint" color int
And then finally put Colorint in the themes folder as a color value as #Color/Colorint

How to assign text colors when working with Vuetify themes

I'm quite new to Vuetify and struggling to figure out how themes, components and text colors work together (if they do at all).
I want to work with theme color names in my templates like primary, secondary, warning, error and assign colors to those keywords by adding a new theme or overwriting the existing one.
This all works out of the box but the problem is I can't figure out how to set text colors in the same way. I want to assign a primary-text-color, secondary-text-color, etc. and have it automatically use the correct text color by default.
Text colors seem to change automatically when I change the color on buttons but nowhere else.
If I add a theme color to buttons, Vuetify automatically changes the text color to be readable, for example (just using the default theme):
<v-btn color='primary'>Test</v-btn>
Text will change to primary and the button will be perfectly usable
while a lighter color will have dark text:
<v-btn>Test</v-btn>
But other components don't behave the same. For example a v-app-bar component with default color has dark text on a light background, but a primary app bar keeps the dark text on a blue background.
It looks like I need to explicitly change the text color with a helper class or similar, and even then I'd have to use something like white--text instead of primary--text (which just applies the actual primary color to text).
I think I've read all the docs on the website but I can't find any reference to this particular problem
Sorry for the links to images, I don't have enough flair to embed them in my post.
currently, this works primary--text
<v-list-item-title v-if="company_name" class="title primary--text">
{{ company_name.company_name }}
</v-list-item-title>

UILabel Transperent Text to see thru its subviews

I want to have a functionality of transparent text in UILabel I have seen one sample called named RSMaskedLabel. For label I am using OHAttributed label to use some extended functionality. So I merged some code of RSMaskedLabel to OHAttributed label's drawTextInRect method. Now I can see background image from label text. But what if I want to change that text color, set alpha of that masked text? I am giving some screenshot of FontCandy app. I want exact functionality like that app to write text on the image. I tried a lot since last 70 hours but no luck till now. if someone wants then I can upload my demo what I have done till now. please help..
add another UILabel with same frame of your label and and add your your label over that label set super view label background as clear set text colour as you want with alpha value.
with the font slider change alpha value of colour of super view label

Change SystemTray Progress Indicator Color

i need change color of SystemTray.ProgressIndicator color, how i can do it?
I tried setting ForegroundColor for SystemTray, it works for only text not Inicator. Indicator always uses PhoneAccent color.
According to Jamie Rodregez this is not possible. Could you use the normal ProgressBar or PerformanceProgressBar and style it so it was at the top of the page like the progress indicator?

Resources