You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two types of icons used in controls in Win95:
Monochromatic icons. In disabled state they change color and drop shadow (see "Restore" and "X" icon below):
Icons should use theme colors and it seems like the easiest way to achieve this effect is to create font-based icon set. This will allow us to style the icon with color and textShadow to achieve desired effect. This approach would work both for Web and Native version.
Colored icons. These are quite tricky because in their default state they can take any color and are not related with theme colors in any way, but in disabled state they behave like icons mentioned above (monochrome with drop-shadow):
While this could possibly be achieved with SVG and filter: drop-shadow() on the web, in RN there's no SVG support or drop-shadow equivalent. Let's try to find a solution for this
There are two types of icons used in controls in Win95:
Icons should use
theme
colors and it seems like the easiest way to achieve this effect is to create font-based icon set. This will allow us to style the icon withcolor
andtextShadow
to achieve desired effect. This approach would work both for Web and Native version.theme
colors in any way, but in disabled state they behave like icons mentioned above (monochrome with drop-shadow):While this could possibly be achieved with SVG and
filter: drop-shadow()
on the web, in RN there's no SVG support ordrop-shadow
equivalent. Let's try to find a solution for thisConsider using tools like this: https://glyphsapp.com/learn/creating-a-pixel-font-in-glyphs-min
The text was updated successfully, but these errors were encountered: