react95-io / react95-native Goto Github PK
View Code? Open in Web Editor NEW๐๐น Windows 95 style UI component library for React Native
License: MIT License
๐๐น Windows 95 style UI component library for React Native
License: MIT License
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 with color
and textShadow
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 or drop-shadow
equivalent. Let's try to find a solution for this
Consider using tools like this: https://glyphsapp.com/learn/creating-a-pixel-font-in-glyphs-min
Currently we're using 2px base as a size for border widths, checkered background, dropdown icons etc. See if 1.5px would be enough if there's no drawbacks to it
In order to align the two React95 projects, I propose the following names changes for our components:
Component | New Component | Group | Notes |
---|---|---|---|
AppBar | AppBar | Environment | |
Toolbar | MenuBar | Controls | Aligned with Win32 |
Button | Button | Controls | |
Card | Card | Other | |
Checkbox | CheckBox | Controls | Aligned with Win32 |
ColorPicker | ColorPicker | Controls | |
Desktop | Monitor | Other | |
Divider | Separator | Controls | |
FAB | FAB | Other | |
Fieldset | Fieldset | Controls | |
Hourglass | Hourglass | Graphics | |
Label | ? | Other | This looks like a Tooltip but is laid out with content. It can also be interactive, so it shouldnโt be classified as Label. |
List | ? | Other | Only exists in a flat style, and reminds of an accordion. Maybe AccordionFlat? |
Menu | Menu | Controls | |
NumberInput | SpinBox | Controls | Aligned with Win32 |
Panel | Frame | Layout | |
Progress | ProgressBar | Controls | Aligned with Win32 |
Radio | Radio | Controls | |
Select | ComboBox | Controls | Aligned with Win32 |
SelectBox | ListBox | Controls | Aligned with Win32 |
ScrollPanel | ? | Other | This looks like a toolbar, it might make more sense as one of Toolbarโs appearances. |
ScrollView | ScrollView | Layout | |
Slider | Slider | Controls | |
Snackbar | InfoBar | Controls | Aligned with WinUI |
Tabs | Tabs | Controls | |
TextInput | TextBox | Controls | Aligned with Win32 |
Typography/Anchor | Link | Text | |
Typography/Text | Text | Text | |
Typography/Title | Title | Text | |
Window | Window | Environment |
Still unsure about "Frame".
References:
There's some issue with scrollbars (ScrollView) in Select and SelectBox components
Example: when ScrollView is vertical, and user taps on the scrollbar track below scrollbar thumb, the view should be scrolled down by scrollView height
Since Win95 UI is rectangular we don't want to cut off corners of Panels or bottom AppBars on devices with rounded screen corners. In most cases this free space outside of SafeAreaView will be just black, but maybe we can find a way to utilize this free space
We should add design guidelines to react95.io website similar to https://material.io/design. We should use "The Windows Interface Guidelines" book as a reference
We probably need new theme color variables. In particular for the following components:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.