File tree Expand file tree Collapse file tree 5 files changed +42
-8
lines changed
Expand file tree Collapse file tree 5 files changed +42
-8
lines changed Original file line number Diff line number Diff line change 1- # smarphy
1+ # smarpy
22
3- smartupcorp web design
3+ [ ![ license] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://github.com/smartupcorp/smarpy/blob/main/LICENSE )
4+ [ ![ NPM Version] ( https://img.shields.io/npm/v/@smartupcorp/smarpy )] ( https://www.npmjs.com/package/@smartupcorp/smarpy )
5+ [ ![ npm downloads] ( https://img.shields.io/npm/dm/@smartupcorp/smarpy )] ( https://www.npmjs.com/package/@smartupcorp/smarpy )
6+
7+ [ ![ NPM] ( https://nodei.co/npm/@smartupcorp/smarpy.png )] ( https://nodei.co/npm/@smartupcorp/smarpy/ )
8+
9+ ## Overview
10+
11+ smarpy is an open-source web design sass library.
12+
13+ It uses ` oklch() ` to declare color palette.
14+
15+ If you want to use in React Project, you can use [ react-smarpy] ( https://github.com/smartupcorp/react-smarpy ) .
416
517## Installation
618
@@ -9,3 +21,25 @@ smartupcorp web design
921``` node
1022npm install @smartupcorp/ smarpy
1123```
24+
25+ ### Use in CSS
26+
27+ #### From CDN
28+
29+ ``` html
30+ <link
31+ rel =" stylesheet"
32+ type =" text/css"
33+ media =" all"
34+ href =" https://unpkg.com/@smartupcorp/smarpy/dist/css/smarpy.min.css"
35+ />
36+ ```
37+
38+ ``` html
39+ <link
40+ rel =" stylesheet"
41+ type =" text/css"
42+ media =" all"
43+ href =" https://unpkg.com/@smartupcorp/smarpy/dist/css/smarpy-utilities.min.css"
44+ />
45+ ```
Original file line number Diff line number Diff line change 13311331 < div class ="modal ">
13321332 < div class ="modal-content ">
13331333 < div class ="container ">
1334- < div class ="my -1rem ">
1334+ < div class ="p -1rem ">
13351335 < div class ="message ">
13361336 < div class ="message-header "> .message</ div >
13371337 < div class ="message-body ">
Original file line number Diff line number Diff line change 11{
22 "name" : " @smartupcorp/smarpy" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.0.2 " ,
44 "description" : " smartupcorp web design library written by scss." ,
55 "main" : " index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 77 background-color : oklch (var (--#{variables.$prefix}color-default-back-oklch ) / 0.75 );
88 display : none ;
99 flex-direction : column ;
10- height : 100 vh ;
10+ height : 100 % ;
1111 justify-content : center ;
1212 left : 0 ;
1313 overflow : hidden ;
1414 position : fixed ;
1515 top : 0 ;
16- width : 100 vw ;
16+ width : 100 % ;
1717 z-index : var (--#{variables.$prefix}z-index-modal );
1818 & .is-active {
1919 display : flex ;
You can’t perform that action at this time.
0 commit comments