According to https://plantuml-documentation.readthedocs.io/en/latest/formatting/all-skin-params.html and the naming of the parameter, I assumed that ClassStereotypeFontColor will change the color of the C for class stereotypes in Plantuml. Unfortunately, this doesnt seem to work and I've not found other parameters which could do what I want (changing the color).
Chaning the border color or Backgroundcolor is easy by the way. But unfortunately, there is no StereotypeCFontColor
#startuml
skinparam StereotypeCBorderColor black
skinparam StereotypeCBackgroundColor green
skinparam ClassStereotypeFontColor red
class test {
}
#enduml
It seems that the Stereotype Character Color cant be changed. Am I on the wrong track or is this a bug? I'm using plantuml.1.2020.19
By applying all parameters and selectively changing color values, I've found out that the CircledCharacterFontColor parameter actually changes the Stereotype font color. I still don't know what ClassStereotypeFontColor is doing, but this naming seems to be misleading.
Related
I need to know the name of the package which provide the circle with a preview of the CSS color value in Atom,
can any one help
You're referring to Pigments.
The default is to highlight the color declaration with the color. The option to display color as a dot at the end of the line is called "Marker Type" (or, pigments.markerType).
See the doc page for more details.
If I may also add to this:
There is a newer package called Chromo available for atom.
Chromo will put color preview pills in the gutter for css colors similar to what you described and supports hex, rgb, rgba, and ansi color values at the moment.
I started a Codename One project with the "Hello World bare bones". I used to define the styles in the Theme tab from the Designer but now it is becoming tedious.
Actually for some selectors, even if I override (unchecking the Derive box) some properties the style is not changed in the Designer (see below) or in the app itself.
However, in the list of selectors, the color is not the one I selected but the alignment seems to be it.
It seems that the theme is locked somewhere. Do I make a mistake, or should I set a constant to "unlock" the theme, or even should I clear some directories?
Please note that I am using NetBeans with designer V 1.1
.
Edit March 1st 2017
Following #Diamond's great tips, I was able to change the foreground color by setting the Border to empty (instead of NULL). However now the alignment is still not what I expect (see below). How can I do for this property ?
Any help appreciated,
In the Designer, Border is superior to background color and background image. Which means if the border image is set, a background color will have no effect unless the border is just a stroke or line.
Always solve this with these few steps:
Go to the Border tab and uncheck the override.
Click the ... button next to Border Help and a new Dialog will show.
Change the Type (First line) to Empty and click Ok.
Your background color will now have an effect.
How do I change the transparency of the text on a Sub floating action button?
Ive tried making a uiid and deriving the floatingactionbutton, which didnt work. And I also made one to derive the floatingactiontext, which also didnt work.
You need to customize the color in two places both in the round border and in the background color while making transparency 0.
See the following screenshots:
I want to fade some elements (rectangles and ellipses) from the accent color to transparent using a LinearGradientBrush. However - the transparent color is always a color and it seems like the color "Transparent" is #00FFFFFF - that is white with 0% opacity.
I would like to fade from PhoneAccentColor to PhoneTransparentAccentColor. So if my accent color is red I would like to fade to #00FF0000 and if it is green I would like to fade to #0000FF00.
I can't find any built in color resource for transparent accent so what are my options here? I've tried the options below but with no real success and I can't find much on this topic by normal search channels so I'm not really sure what I'm missing here.
Some suggestions I came up with (however with no real success as stated earlier):
Create a custom resource in code behind and push it into the application wide resource dictionary?
Can I expose a property on my ViewModels with the Color and bind to it?
I can't think of a way to specify a transparent accent color directly with xaml. I do have a couple of possible solutions.
If possible you could animate the opacity of the object rather than the color itself.
Of you could generate the color in code (probably during start up)
var accentColor = (Color)Application.Current.Resources["PhoneAccentColor"];
var transparentAccentColor = accentColor.A = 0;
You could then store the color as a resource and reference it in xaml.
Application.Current.Resources.Add("TransparentPhoneAccentColor", transparentAccentColor);
Hope this helps.
As a general guideline, avoid using gradients on the phone due to the colour support available.
You could try using an OpacityMask in your LinearGradientBrush to achieve your desired results though.
Although not applicable in your case as you're using the accent colour, if you were able to produce images including gradients you should see How can I correct color banding in windows phone 7? for detais on how to avoid banding.
I currently have the following red Border, signifying invalid entry, around TextBoxes in an application.
It just doesn't look right to me, it has square borders around rounded corners and the drop shadow is the wrong colour.
What is the best way of achieving a decent looking border around the text boxes?
Valid XHTML http://www.gumpshen.com/images/window.gif
Extract the TextBox template using Expression Blend and modify the ValidationStates to suit your desires.
This doesn't directly answer your question, but as a user, I almost prefer that the Background color change to a shade of red, with a low opacity value. It catches the eye well without being too "in your face".
That said, can you get the desired Border effect to look better simply by specifying the red border's CornerRadius value, while changing the TextBox's BorderThickness to 0?