Coder Social home page Coder Social logo

3dyonic / monday-ui-style Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mondaycom/monday-ui-style

0.0 0.0 0.0 2.47 MB

Official monday.com UI components for application developers

License: MIT License

JavaScript 49.17% Shell 0.50% SCSS 50.33%

monday-ui-style's Introduction

monday.com UI styles

This package includes all of the styling foundations of monday.com Theme definition, colors, shadows, dimensions, icons, etc.

Although we are using React in our product this library will try to stay framework agnostic, we are exposing here the foundations of our design system so they could be used regardless the framework/environment you are using.

Installation

npm install monday-ui-style --save

Usage

Styles: Import the css file in order to have the css variables exposed on the root level

@import "~monday-ui-style/dist/index.min.css";

or if you want to import it in you JS files

import "monday-ui-style/dist/index.min.css";

Icons: We expose each icon's SVG from the dist files so you could use them in your app.

import IconName from "monday-ui-style/src/Icons/IconName.svg";

Icons

Adding a new icon

In order to add a new icon you will need to for and open a PR - https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork

When adding a new icon please make sure that there isn't a similar icon - if so either replace the icon or make sure that we need another version of it

Metadata file

We are maintaining a metadata file on the icons, it helps our icon library to be more readable and search able when you want to search for a relevant icon

How to add a new icon? Add the icon in SVG format under src/Icons folder (size 20x20) then run npm run generate-meta and fill in the relevant information

Icon colors

We want to support the ability for the svg icon to adapt the css color attribute therefore we when adding an icon all of the colors in the SVG should be currentColor.

In some rare occasions when you want to preserve a color within the icon please consider the following:

  • currentColor might change according to position and theming
  • this is an open source library so brand colors might change
  • please be aware that we will add a monochrome version of that icon as well

New icon request

If you want us to create a non existing monday.com style icon open a PR with please see the guidelines

monday-ui-style's People

Contributors

amirbardugo avatar amit-hanoch avatar avivgorlik avatar ayelethol avatar darbentov avatar dorshakedmonday avatar etaylib avatar itaycohen avatar mentaman avatar monadav avatar moshezemah avatar ofersh-monday avatar omerdoron1 avatar orrgottlieb avatar roniavi avatar ronicohen123 avatar ronnachmany avatar ronzip avatar sabagronen avatar sahariko avatar shalomscott avatar shaneer avatar talharamati avatar vladmonday avatar yardenli avatar yoavam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.