Skip to content

Commit 7ffed88

Browse files
committed
moved to parcel, fixed unit
1 parent 098826e commit 7ffed88

File tree

5 files changed

+16
-220
lines changed

5 files changed

+16
-220
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<body>
77
<h1>Do you see nice input field?</h1>
88
<br>
9-
<input type="text" class="ui big field">
10-
<button class="ui big button">Search</button>
9+
<input type="text" class="ui field">
10+
<button class="ui button">Search</button>
1111

1212
<script type="text/javascript" src="./index.js"></script>
1313
</body>

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
'use strict'
2-
require('./lib/index.css')
2+
require('@scratch-css/scratch')
3+
require('./lib/index.css')

lib/form/field.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
--field-box-shadow: none;
1414

1515
/* font styles */
16-
--field-text-transform: uppercase;
16+
--field-text-transform: none;
1717
--field-font-weight: var(--font-regular);
1818
--field-text-align: left;
1919
--field-letter-spacing: 0;

package.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
11
{
22
"name": "@scratch-css/ui",
33
"version": "1.0.2",
4-
"description": "",
54
"main": "lib/index.css",
65
"scripts": {
76
"start": "parcel index.html --no-cache",
8-
"build": "parcel build index.html",
9-
"deploy": "yarn build && gh-pages -d dist"
7+
"build": "parcel build index.html"
108
},
11-
"author": "",
12-
"license": "",
139
"dependencies": {
14-
"@scratch-css/scratch": "^1.0.0"
10+
"@scratch-css/scratch": "^1.0.2"
1511
},
1612
"devDependencies": {
17-
"gh-pages": "^2.0.1",
1813
"parcel-bundler": "^1.12.3",
1914
"postcss-preset-env": "^6.7.0"
2015
},
21-
"browserslist": [
22-
"last 1 version",
23-
"> 1%"
24-
],
2516
"postcss": {
2617
"plugins": {
2718
"postcss-preset-env": {
2819
"stage": 0
2920
}
3021
}
31-
}
22+
},
23+
"browserslist": [
24+
"> 0%"
25+
]
3226
}

0 commit comments

Comments
 (0)