Skip to content

Commit e1980d3

Browse files
committed
Add developemnt files
1 parent d9e6faa commit e1980d3

File tree

5 files changed

+368
-1
lines changed

5 files changed

+368
-1
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
JS = "js/um.`date +%s`.js"
2+
3+
umami:
4+
curl -L https://eu.umami.is/script.js -o "$(JS)"
5+
cat $(JS) | openssl dgst -sha512 -binary | openssl base64 -A && echo -e "\nCopy the hashtag in the HTML file."

README.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11
# Python Pescara 🐬
22

3-
Python Pescara 🐬 static website.
3+
Python Pescara static website.
4+
5+
6+
## Develop
7+
8+
### CSS
9+
10+
Update Pico CSS framework.
11+
12+
```console
13+
$ npm install @picocss/pico
14+
$ npm install --save-dev sass
15+
$ npx sass input.scss --no-source-map --style=compressed css/pico.min.2.1.1.css
16+
$ cat css/pico.min.2.1.1.css | openssl dgst -sha512 -binary | openssl base64 -A && echo -e "\nCopy the hashtag in the HTML file."
17+
```
18+
19+
### JS
20+
21+
Update Umami Javascript file.
22+
23+
```console
24+
$ make umami
25+
```

input.scss

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
// Pico lightweight version
2+
@use "node_modules/@picocss/pico/scss/pico" with (
3+
4+
// Enable .classes
5+
// .classless version if disabled
6+
$enable-classes: true,
7+
8+
$modules: (
9+
// Theme
10+
"themes/default": true,
11+
12+
// Layout
13+
"layout/document": true,
14+
"layout/landmarks": true,
15+
"layout/container": false,
16+
"layout/section": false,
17+
"layout/grid": true,
18+
"layout/overflow-auto": false,
19+
20+
// Content
21+
"content/link": true,
22+
"content/typography": true,
23+
"content/embedded": true,
24+
"content/button": true,
25+
"content/table": false,
26+
"content/code": false,
27+
"content/figure": false,
28+
"content/miscs": false,
29+
30+
// Forms
31+
"forms/basics": false,
32+
"forms/checkbox-radio-switch": false,
33+
"forms/input-color": false,
34+
"forms/input-date": false,
35+
"forms/input-file": false,
36+
"forms/input-range": false,
37+
"forms/input-search": false,
38+
39+
// Components
40+
"components/accordion": false,
41+
"components/card": false,
42+
"components/dropdown": false,
43+
"components/group": false,
44+
"components/loading": false,
45+
"components/modal": false,
46+
"components/nav": false,
47+
"components/progress": false,
48+
"components/tooltip": false,
49+
50+
// Utilities
51+
"utilities/accessibility": false,
52+
"utilities/reduce-motion": false
53+
)
54+
);

package-lock.json

+278
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"dependencies": {
3+
"@picocss/pico": "^2.1.1"
4+
},
5+
"devDependencies": {
6+
"sass": "^1.85.1"
7+
}
8+
}

0 commit comments

Comments
 (0)