Can favicon be same color as tab name? - favicon

The problem
Let's suppose I've got an outlined favicon.
It looks perfect on the selected tab with white background:
But if the tab is inactive / user prefers a dark theme icon cannot be visible:
Minimal example
Is it possible to make icon same color with tab text?
What i've tried
Only my idea was to make svg favicon with fill="currentColor" (rather a silly thing, I know):
<!-- ... -->
<path d="M13 7H11V17H13V7Z" fill="currentColor"></path>
<!-- ... -->
But it is not working.

Related

Vscode API - Custom View Container Icon

I'm wanting to use an SVG for the viewcontainer part of my VS Code extension.
I've been given some PNG files to use, but unfortunately:
When just using 32x32 PNG files, the icons always show up as a blank white square in the activity bar, and if used as SVG the images don't scale properly to the container in the activity bar.
It's as though they are "zoomed in" on if using the SVG versions.
Anyone have tips or tricks to suggest working around this?
This the open tag of the debug.svg icon used in the action bar
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
Do you have a viewbox set?

Change position of logo and search box in Magento 2 luma theme?

In Magento 2 I want to put the search box on the left side and the logo in the center on the Luma theme.
XML and CSS is fine changes are fine.
I have tried all the recommended solutions I found, but they screw up the responsive theme with CSS change only.
I also tried moving the block:
<move element="block.search" destination="header-wrapper" before="logo" />
Then changed the float to left for the search box.
But that did nothing. The search box is still right of the logo.

Is it possible to change the color of dash-lines in jstree

Im using jstree with a dark background, so I wonder how can I change the color of dash-lines(not sure if I call it correctly) between each node. Is it possible with CSS?
As I checked, it seems the dash-lines coming from 32px.png file.
BR
Nima
You will have to edit the 32px.png file to change the dotted line color. I did this for my dark-background web page and it looks much better. I edited the png file with Photoshop Elements and used the "Enhance| Adjust Color| Replace Color" menu to change the black color to a lighter grey by moving the Lightness slider. I also changed the interior color of the selected arrows. Once done editing, save a copy of the original and then replace the file in your CSS themes folder where style.css is.
I can't attach my copy of 32px.png, but here's how to make the change in Photoshop Elements. Other photo editors likely have the same functionality.
Replace Color in Photoshop Elements – Instructions
You can use Bootstrap themed JSTree.
Check out link: enter link description here
with CSS is not posible.

GWT Uibinder : Add stacked icons to button

The icon property of Button tag adds a font-awesome FOLDER icon to the Button. Is it possible to add stacked icons to the button? For, the new folder I need to stack FOLDER and PLUS icon and add it to button?
<b:Button addStyleNames="pull-right {style.new-folder}"
type="SUCCESS" ui:field="createDataRoom" icon="FOLDER"></b:Button>
Are you sure this even compiles ?
Unless your Button is a custom class from your project, most of these fields don't exist for the GWT Button, including Icon. And it's not addStyleNames, but simply "styleName"
Are you sure it's not one of your colleague who made a custom button class ?
To come back to your problem, as you can see in the example page of Font Awesome, you stack up the icons by adding several class to the HTML tag.
So in your case, you'd need to stack them in "styleName" (which is the field for adding one or more CSS class)
With a normal GWT button, the code would look like this
<ui:UiBinder xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<g:Button
ui:field="createDataRoomButton"
styleName="fa-stack fa-lg">
Notice the space between fa-stack and fa-lg. Those are two different classes.

Transparent Top Bar ios7

Is there a way to make Top Bar background absolutely transparent? I'd like the page title to be visible along with buttons but make the rest completely invisible? Anything I can do with the appearance API?
that's something that i was looking into and it seems like it has to do with the meta tag in the beginning of the page
i found out that if your using
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
then you have a transparent background, only with white text and icons, there's no way to change it into black/dark text to fit into anyones CSS.
also you have an issue where the top of the page is right at the pixel line of the iOS 7 device.
which is retarded
i've been doing tests on here