@groww-tech/mint-css 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +124 -0
- package/dist/GrowwSans-Variable.woff2 +0 -0
- package/dist/index.css +1 -0
- package/package.json +55 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Groww
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://groww.in/" rel="noopener" target="_blank"><img width="250" src="https://storage.googleapis.com/groww-assets/web-assets/img/website-logo/logo-light-groww.svg" alt="Groww"></a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<h1 align="center">Mint CSS</h1>
|
|
7
|
+
|
|
8
|
+
<p align="center">A CSS library that provides classes, tokens, variables, fonts and other essential stylings governed under MINT design system, used by Groww</p>
|
|
9
|
+
|
|
10
|
+
## Table of Contents
|
|
11
|
+
|
|
12
|
+
- [Installation](#installation)
|
|
13
|
+
- [Usage](#usage)
|
|
14
|
+
- [Features](#features)
|
|
15
|
+
- [Folder structure](#folder-structure)
|
|
16
|
+
- [License](#license)
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @groww-tech/mint-css
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
First, import the package in the root document of your project.
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
import '@groww-tech/mint-css/dist/index.css';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The `dist/index.css` is complied and minfied version of the CSS library which will serve all the tokens/classes which can be used in your project.
|
|
33
|
+
## Features
|
|
34
|
+
|
|
35
|
+
### What are Tokens?
|
|
36
|
+
Tokens are abstract entity which denotes **symantic meaning** and store values. When you use `contentAccent`, you’re using a colour token which contains `#00B386` as its value, same is applicable to typography.
|
|
37
|
+
|
|
38
|
+
There are two categories through which we will be exposing various semantic tokens. The tokens are further categorized based on visual emphasis and hierarchy of the UI elements.
|
|
39
|
+
1. Typography tokens
|
|
40
|
+
|
|
41
|
+
`GrowwSans` and `NotoSans` font families will get downloaded once you install and import the library into your project. These are the tokens can be used -
|
|
42
|
+
- Body
|
|
43
|
+
- Display
|
|
44
|
+
- Heading
|
|
45
|
+
- Button
|
|
46
|
+
|
|
47
|
+
e.g. The token `bodyRegular12` says that, it can be used in body with regular font weight which have font size of 12pts.
|
|
48
|
+
```
|
|
49
|
+
.bodyRegular12 {
|
|
50
|
+
font-size: var(--font-size-12);
|
|
51
|
+
font-weight: var(--font-weight-regular);
|
|
52
|
+
line-height: 1.5;
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
```<div className="bodyRegular12">Some content</div>```
|
|
56
|
+
|
|
57
|
+
----------
|
|
58
|
+
2. Color tokens
|
|
59
|
+
|
|
60
|
+
Again, the color tokens are further classified into different categories and can be used in different styles depending on the UI elements
|
|
61
|
+
|
|
62
|
+
- Background
|
|
63
|
+
- Content
|
|
64
|
+
- Border
|
|
65
|
+
|
|
66
|
+
e.g. We have a token called contentPrimary which refers to the most important and essential information within a piece of content.
|
|
67
|
+
```
|
|
68
|
+
.contentPrimary {
|
|
69
|
+
color: var(--gray900);
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
```<div className="contentPrimary">Some content</div>```
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## Folder structure
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
└── mint-css/
|
|
79
|
+
├── dist/
|
|
80
|
+
│ ├── font1.woff2
|
|
81
|
+
│ ├── font2.woff2
|
|
82
|
+
│ ├── index.css
|
|
83
|
+
├── base/
|
|
84
|
+
│ ├── app.css
|
|
85
|
+
│ ├── grid.css
|
|
86
|
+
│ ├── preloader.css
|
|
87
|
+
│ ├── utility.css
|
|
88
|
+
│ └── index.css
|
|
89
|
+
├── theme/
|
|
90
|
+
│ ├── tokens/
|
|
91
|
+
│ │ ├── background-tokens.css
|
|
92
|
+
│ │ ├── content-tokens.css
|
|
93
|
+
│ │ ├── border-tokens.css
|
|
94
|
+
│ ├── variables/
|
|
95
|
+
│ │ └── index.css
|
|
96
|
+
│ └── index.css
|
|
97
|
+
├── typography/
|
|
98
|
+
│ ├── fonts/
|
|
99
|
+
│ │ ├── font1.woff2
|
|
100
|
+
│ │ ├── font2.woff2
|
|
101
|
+
│ │ ├── .
|
|
102
|
+
│ │ └── .
|
|
103
|
+
│ ├── tokens/
|
|
104
|
+
│ │ ├── body-tokens.css
|
|
105
|
+
│ │ ├── display-tokens.css
|
|
106
|
+
│ │ ├── heading-tokens.css
|
|
107
|
+
│ │ └── button-tokens.css
|
|
108
|
+
│ ├── variables/
|
|
109
|
+
│ │ └── index.css
|
|
110
|
+
| ├── font-face.css
|
|
111
|
+
│ └── index.css
|
|
112
|
+
├── README.md
|
|
113
|
+
├── index.css
|
|
114
|
+
└── package.json
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## License
|
|
119
|
+
|
|
120
|
+
MIT
|
|
121
|
+
|
|
122
|
+
------
|
|
123
|
+
|
|
124
|
+
> *This CSS library is customized for use in Groww projects. Use at your own risk.*
|
|
Binary file
|
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
html{box-sizing:border-box}#root{--zindex10001:10001;--zindex900:900;--zindex800:800;--zindex700:700;--zindex600:600;--zindex500:500;--zindex400:400;--zindex300:300;--zindex1:-1}*,:after,:before{box-sizing:inherit}div,i{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}h1,h2,h3,h4,h5,h6,p,span{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;-khtml-user-select:text;user-select:text}body{background:var(--primaryBg)!important;color:var(--text)!important;margin:0;box-sizing:border-box;font-weight:435;font-family:GrowwSans,NotoSans,system-ui;min-width:320px;-webkit-font-smoothing:antialiased}a{color:var(--primaryClr);text-decoration:none}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}button,input,pre,select,textarea{font-family:inherit}.row{margin-left:auto;margin-right:auto}.row:after{content:"";display:table;clear:both}.row .col{float:left;box-sizing:border-box;min-height:1px}@media only screen and (min-width:800px){.row .col.l1{width:8.33333%}.row .col.l1,.row .col.l2{margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.66667%}.row .col.l3{width:25%}.row .col.l3,.row .col.l4{margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.33333%}.row .col.l5{width:41.66667%}.row .col.l5,.row .col.l6{margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%}.row .col.l7{width:58.33333%}.row .col.l7,.row .col.l8{margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.66667%}.row .col.l9{width:75%}.row .col.l9,.row .col.l10{margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.33333%}.row .col.l11{width:91.66667%}.row .col.l11,.row .col.l12{margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%}.row .col.l5ths{width:20%;margin-left:auto;left:auto;right:auto}.row .col.offset-l1{margin-left:8.33333%}.row .col.offset-l2{margin-left:16.66667%}.row .col.offset-l3{margin-left:25%}.row .col.offset-l4{margin-left:33.33333%}.row .col.offset-l5{margin-left:41.66667%}.row .col.offset-l6{margin-left:50%}.row .col.offset-l7{margin-left:58.33333%}.row .col.offset-l8{margin-left:66.66667%}.row .col.offset-l9{margin-left:75%}.row .col.offset-l10{margin-left:83.33333%}.row .col.offset-l11{margin-left:91.66667%}.row .col.offset-l12{margin-left:100%}}@media only screen and (min-width:601px){.row .col.m1{width:8.33333%}.row .col.m1,.row .col.m2{margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.66667%}.row .col.m3{width:25%}.row .col.m3,.row .col.m4{margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.33333%}.row .col.m5{width:41.66667%}.row .col.m5,.row .col.m6{margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%}.row .col.m7{width:58.33333%}.row .col.m7,.row .col.m8{margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.66667%}.row .col.m9{width:75%}.row .col.m9,.row .col.m10{margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.33333%}.row .col.m11{width:91.66667%}.row .col.m11,.row .col.m12{margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%}.row .col.offset-m1{margin-left:8.33333%}.row .col.offset-m2{margin-left:16.66667%}.row .col.offset-m3{margin-left:25%}.row .col.offset-m4{margin-left:33.33333%}.row .col.offset-m5{margin-left:41.66667%}.row .col.offset-m6{margin-left:50%}.row .col.offset-m7{margin-left:58.33333%}.row .col.offset-m8{margin-left:66.66667%}.row .col.offset-m9{margin-left:75%}.row .col.offset-m10{margin-left:83.33333%}.row .col.offset-m11{margin-left:91.66667%}.row .col.offset-m12{margin-left:100%}}.row .col.s1{width:8.33333%}.row .col.s1,.row .col.s2{margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.66667%}.row .col.s3{width:25%}.row .col.s3,.row .col.s4{margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.33333%}.row .col.s5{width:41.66667%}.row .col.s5,.row .col.s6{margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%}.row .col.s7{width:58.33333%}.row .col.s7,.row .col.s8{margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.66667%}.row .col.s9{width:75%}.row .col.s9,.row .col.s10{margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.33333%}.row .col.s11{width:91.66667%}.row .col.s11,.row .col.s12{margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%}.row .col.offset-s1{margin-left:8.33333%}.row .col.offset-s2{margin-left:16.66667%}.row .col.offset-s3{margin-left:25%}.row .col.offset-s4{margin-left:33.33333%}.row .col.offset-s5{margin-left:41.66667%}.row .col.offset-s6{margin-left:50%}.row .col.offset-s7{margin-left:58.33333%}.row .col.offset-s8{margin-left:66.66667%}.row .col.offset-s9{margin-left:75%}.row .col.offset-s10{margin-left:83.33333%}.row .col.offset-s11{margin-left:91.66667%}.row .col.offset-s12{margin-left:100%}.ph-item{position:relative;display:flex;flex-wrap:wrap;overflow:hidden;background-color:var(--primaryBg)}.ph-item,.ph-item *,.ph-item :after,.ph-item :before{box-sizing:border-box}.ph-item:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;animation:phAnimation .8s linear infinite;background:linear-gradient(90deg,hsla(0,0%,100%,0) 46%,hsla(0,0%,100%,.35) 50%,hsla(0,0%,100%,0) 54%) 50% 50%}.ph-item>*{flex:1 1 auto;display:flex;flex-flow:column}.ph-row{display:flex;flex-wrap:wrap}.ph-row div{height:10px;margin-bottom:7.5px;background-color:rgba(206,212,218,.23137254901960785)}.ph-row .big,.ph-row.big div{height:20px;margin-bottom:15px}.ph-row .empty{background-color:hsla(0,0%,100%,0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}.ph-avatar{position:relative;width:100%;min-width:60px;background-color:rgba(206,212,218,.23137254901960785);margin-bottom:15px;border-radius:50%;overflow:hidden}.ph-avatar:before{content:" ";display:block;padding-top:100%}.ph-picture{width:100%;height:120px;background-color:rgba(206,212,218,.23137254901960785);margin-bottom:15px}@keyframes phAnimation{0%{transform:translate3d(-30%,0,0)}to{transform:translate3d(30%,0,0)}}.hide{display:none}.absolute-center{display:flex;align-items:center;justify-content:center}.flex{display:flex}.valign-wrapper{display:flex;align-items:center}.halign-wrapper{display:flex;justify-content:center}.vspace-between{justify-content:space-between}.flex-column{flex-direction:column}.right-align{text-align:right}.left-align{text-align:left}.center-align{text-align:center}.responsive-img{max-width:100%;height:auto}.onMount-appear{opacity:.01}.onMount-appear.onMount-appear-active{opacity:1;transition:opacity .5s ease-in}.truncate{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.web-align{max-width:1110px;width:100%;margin:0 auto}.dropdown{display:inline-block}.dropdown__content{display:none;position:absolute}.dropdown--active .dropdown__content{display:block}.pos-rel{position:relative}.pos-abs{position:absolute}.circle{border-radius:50%}.fullWidth{width:100%}.page-padding{padding:0 16px}.cur-po{cursor:pointer}.cur-no{cursor:not-allowed}.flo-r{float:right}.flo-l{float:left}.width100{width:100%}.card{border-radius:5px;box-shadow:0 1px 5px 0 var(--boxShadow);border:1px solid var(--border)}.clickable-text{font-weight:500;line-height:1.29;letter-spacing:.23px;color:var(--primaryClr);margin-left:5px;cursor:pointer}.dashed-hr-border{display:block;margin:2px auto;border-style:dashed;border-width:1px;opacity:.2;color:var(--subText);width:100%}.blurEffect1{filter:blur(3px)}.clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.clearfix{display:inline-block}html[xmlns] .clearfix{display:block}* html .clearfix{height:1%}.componentsMainHeading{font-weight:500;color:var(--text130);margin:0}.backgroundPrimary{background-color:var(--white)}html[data-theme=dark] .backgroundPrimary{background-color:var(--black)}.backgroundSecondary{background-color:var(--gray50)}.backgroundTertiary{background-color:var(--gray100)}.backgroundTransparent{opacity:0}.backgroundSurfacePrimary{background-color:var(--white)}.backgroundSurfaceSecondary,html[data-theme=dark] .backgroundSurfacePrimary{background-color:var(--gray50)}html[data-theme=dark] .backgroundSurfaceSecondary{background-color:var(--gray100)}.backgroundInversePrimary{background-color:var(--gray900)}html[data-theme=dark] .backgroundInversePrimary{background-color:var(--white)}.backgroundOverlayPrimary{background-color:var(--black);opacity:.7}.backgroundAccent,.backgroundPositive{background-color:var(--green500)}.backgroundNegative{background-color:var(--red500)}.backgroundWarning{background-color:var(--yellow500)}.backgroundAccentSubtle,.backgroundPositiveSubtle{background-color:var(--green100)}.backgroundNegativeSubtle{background-color:var(--red100)}.backgroundWarningSubtle{background-color:var(--yellow100)}.backgroundAccentSecondary{background-color:var(--purple500)}.backgroundAccentSecondarySubtle{background-color:var(--purple100)}.borderPrimary{border-color:var(--gray150)}.borderDisabled{border-color:var(--gray100)}.borderAccent,.borderPositive{border-color:var(--green500)}.borderNegative{border-color:var(--red500)}.borderNeutral{border-color:var(--gray900)}html[data-theme=dark] .borderNeutral{border-color:var(--white)}.contentPrimary{color:var(--gray900)}html[data-theme=dark] .contentPrimary{color:var(--white)}.contentSecondary{color:var(--gray700)}.contentTertiary{color:var(--gray500)}.contentInversePrimary{color:var(--white)}html[data-theme=dark] .contentInversePrimary{color:var(--black)}.contentInverseSecondary{color:var(--gray300)}html[data-theme=dark] .contentInverseSecondary{color:var(--gray400)}.contentAccent{color:var(--green500)}.contentNegative{color:var(--red500)}.contentWarning{color:var(--yellow500)}.contentPositive{color:var(--green500)}.contentDisabled{color:var(--gray400)}html[data-theme=dark] .contentDisabled{color:var(--gray500)}.contentOnColour{color:var(--white)}.contentOnColourInverse{color:var(--gray900)}html[data-theme=dark] .contentOnColourInverse{color:var(--black)}.contentAccentSecondary{color:var(--purple500)}.contentAccentSecondarySubtle{color:var(--purple300)}html.color-theme-in-transition,html.color-theme-in-transition *,html.color-theme-in-transition :after,html.color-theme-in-transition :before{transition:all .3s!important;transition-delay:0!important}html{--gray900:#44475b;--gray800:#696c7c;--gray700:#7c7e8c;--gray600:#8f919d;--gray500:#a1a3ad;--gray400:#b0b2ba;--gray300:#c7c8ce;--gray200:#ddeee1;--gray150:#e9e9eb;--gray100:#f0f0f2;--gray50:#f8f8f8;--green500:#00b386;--green300:#66e3c4;--green100:#ebf9f5;--purple500:#5367ff;--purple300:#84a4ff;--purple100:#eef0ff;--yellow500:#ffb61b;--yellow100:#fff5e0;--red500:#eb5b3c;--red100:#fae9e5;--tempBg:#fff;--tempCardBg:#fff;--tempBoxShadow:rgba(0,0,0,0.1)}html,html[data-theme=dark]{--black:#121212;--white:#fff;--tempTransparent:transparent;--tempHalfTransparent:rgba(0,0,0,0.5)}html[data-theme=dark]{--gray900:#f8f8f8;--gray800:#d1d1d1;--gray700:#b8b8b8;--gray600:#a0a0a0;--gray500:#888;--gray400:#717171;--gray300:#595959;--gray200:#414141;--gray150:#2e2e2e;--gray100:#252525;--gray50:#1b1b1b;--green500:#0abb92;--green300:#0b5e49;--green100:#10362d;--purple500:#98a4ff;--purple300:#323c89;--purple100:#181a2a;--yellow500:#e7a61a;--yellow100:#46391d;--red500:#d55438;--red100:#411d16;--tempBg:#121212;--tempCardBg:#1d1d1d;--tempBoxShadow:rgba(0,0,0,0.6)}@font-face{font-family:GrowwSans;font-style:normal;font-weight:300 700;src:url(GrowwSans-Variable.woff2) format("woff2-variations")}.bodyRegular12{font-weight:var(--font-weight-regular)}.bodyMedium12,.bodyRegular12{font-size:var(--font-size-12);line-height:1.5}.bodyMedium12{font-weight:var(--font-weight-medium)}.bodyRegular14{font-weight:var(--font-weight-regular)}.bodyMedium14,.bodyRegular14{font-size:var(--font-size-14);line-height:1.42}.bodyMedium14{font-weight:var(--font-weight-medium)}.bodyRegular16{font-weight:var(--font-weight-regular)}.bodyMedium16,.bodyRegular16{font-size:var(--font-size-16);line-height:1.37}.bodyMedium16{font-weight:var(--font-weight-medium)}.bodyRegular18{font-weight:var(--font-weight-regular)}.bodyMedium18,.bodyRegular18{font-size:var(--font-size-18);line-height:1.38}.bodyMedium18,.display24{font-weight:var(--font-weight-medium)}.display24{font-size:var(--font-size-24);line-height:.72}.display28{font-size:var(--font-size-28);line-height:1.39}.display28,.display32{font-weight:var(--font-weight-medium)}.display32{font-size:var(--font-size-32);line-height:1.37}.display40{font-size:var(--font-size-40);line-height:1.4}.buttonSentenceCase14,.display40{font-weight:var(--font-weight-medium)}.buttonSentenceCase14{font-size:var(--font-size-14);line-height:1.14}.buttonUpperCase16{font-size:var(--font-size-16);font-weight:var(--font-weight-bold);line-height:1.25}.heading14{font-size:var(--font-size-14);line-height:1.42}.heading14,.heading16{font-weight:var(--font-weight-medium)}.heading16{font-size:var(--font-size-16);line-height:1.37}.heading18{font-size:var(--font-size-18);line-height:1.38}.heading18,.heading20{font-weight:var(--font-weight-medium)}.heading20{font-size:var(--font-size-20);line-height:1.4}html{--font-size-12:0.75rem;--font-size-14:0.875rem;--font-size-16:1rem;--font-size-18:1.125rem;--font-size-20:1.25rem;--font-size-22:1.375rem;--font-size-24:1.5rem;--font-size-28:1.75rem;--font-size-32:2rem;--font-size-40:2.5rem;--font-size-44:2.75rem;--font-size-56:3.5rem;--font-weight-regular:435;--font-weight-medium:535;--font-weight-bold:660}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@groww-tech/mint-css",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A CSS library that provides classes, tokens, variables, fonts and other essential stylings governed under MINT design system, used by Groww",
|
|
5
|
+
"main": "./dist/bundle.css",
|
|
6
|
+
"files": [
|
|
7
|
+
"/dist"
|
|
8
|
+
],
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/Groww/webster"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"mint-css",
|
|
15
|
+
"css",
|
|
16
|
+
"groww",
|
|
17
|
+
"style"
|
|
18
|
+
],
|
|
19
|
+
"author": "Groww Core Team <web-core@groww.in>",
|
|
20
|
+
"contributors": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Vikas Singh",
|
|
23
|
+
"url": "https://www.linkedin.com/in/vikas-singh-76261517/"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "Shubham Gavali",
|
|
27
|
+
"url": "https://www.linkedin.com/in/shubhamgavali"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "Akshay Naik",
|
|
31
|
+
"url": "https://www.linkedin.com/in/akshay-naik-004a2b211"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Prashant Adhikari",
|
|
35
|
+
"url": "https://www.linkedin.com/in/prashantadhikari753"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Shivesh Raj Nigam",
|
|
39
|
+
"url": "https://www.linkedin.com/in/shiveshrajnigam/"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"postcss": "8.4.21",
|
|
45
|
+
"postcss-import": "14.0.2",
|
|
46
|
+
"postcss-loader": "7.3.3",
|
|
47
|
+
"rollup": "2.45.2",
|
|
48
|
+
"rollup-plugin-copy": "3.4.0",
|
|
49
|
+
"rollup-plugin-postcss": "4.0.0"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "rm -rf dist && pnpm rollup -c",
|
|
53
|
+
"pushTags": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag -a v$PACKAGE_VERSION -m \"@groww-tech/mint-css-v$PACKAGE_VERSION\" && git push --tags"
|
|
54
|
+
}
|
|
55
|
+
}
|