aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-02-23 13:11:00 -0500
committerJesús <heckyel@hyperbola.info>2021-02-23 13:11:00 -0500
commit14253dc6dae3a4a043bd6533111fa81f2d8a6a83 (patch)
treef341a83416c2bb5bf68363922abe3354ee8445a8
parentca1fa46387645cc074f35c340af05be8e7c89482 (diff)
downloadlibresocial-14253dc6dae3a4a043bd6533111fa81f2d8a6a83.tar.lz
libresocial-14253dc6dae3a4a043bd6533111fa81f2d8a6a83.tar.xz
libresocial-14253dc6dae3a4a043bd6533111fa81f2d8a6a83.zip
Remove nodejs dependencie of test
-rw-r--r--.build.yml6
-rw-r--r--.gitignore4
-rw-r--r--.gitmodules3
-rw-r--r--dist/css/libresocial.css7
-rw-r--r--dist/fonts/libresocial.otfbin41064 -> 41076 bytes
-rw-r--r--dist/fonts/libresocial.svg6
-rw-r--r--dist/fonts/libresocial.ttfbin7868 -> 7880 bytes
-rw-r--r--dist/fonts/libresocial.woffbin21432 -> 21448 bytes
-rw-r--r--scss/libresocial.scss8
m---------test0
10 files changed, 13 insertions, 21 deletions
diff --git a/.build.yml b/.build.yml
index 9f227f4..c0dc82e 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,7 +1,6 @@
image: debian/buster
packages:
- - nodejs
- - npm
+ - curl
- python3-pip
- virtualenv
tasks:
@@ -13,5 +12,4 @@ tasks:
json validate --schema-file=lab/metadata.json --document-file=lab/metadata.json
- test-css: |
cd libresocial
- npm install -g csslint
- csslint css/libresocial.css
+ python test/w3c-validator.py dist/css/libresocial.css
diff --git a/.gitignore b/.gitignore
index 34746a2..f784c30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,4 +9,6 @@ venv/
ENV/
### SASS ###
-.sass-cache/ \ No newline at end of file
+.sass-cache/
+node_modules/
+package-lock.json
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..78d7838
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "test"]
+ path = test
+ url = https://git.sr.ht/~heckyel/w3c-validator
diff --git a/dist/css/libresocial.css b/dist/css/libresocial.css
index 124b5d2..f63f454 100644
--- a/dist/css/libresocial.css
+++ b/dist/css/libresocial.css
@@ -10,7 +10,7 @@
font-family: "libresocial";
font-style: normal;
font-weight: normal;
- speak: none;
+ speak: never;
display: inline-block;
text-decoration: inherit;
width: 1em;
@@ -25,11 +25,6 @@
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: 0.2em;
- /* you can be more comfortable with increased icons size */
- /* font-size: 120%; */
- /* Font smoothing. That was taken from TWBS */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
diff --git a/dist/fonts/libresocial.otf b/dist/fonts/libresocial.otf
index 80dd5b8..a65cffa 100644
--- a/dist/fonts/libresocial.otf
+++ b/dist/fonts/libresocial.otf
Binary files differ
diff --git a/dist/fonts/libresocial.svg b/dist/fonts/libresocial.svg
index c9232d5..d80c69b 100644
--- a/dist/fonts/libresocial.svg
+++ b/dist/fonts/libresocial.svg
@@ -1,13 +1,13 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
-2019-1-3: Created with FontForge (http://fontforge.org)
+2021-2-23: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
-Created by FontForge 20170320 at Thu Jan 3 11:39:59 2019
+Created by FontForge 20170320 at Tue Feb 23 12:24:16 2021
By heckyel
-Copyright (c) 2019, heckyel
+Copyright (c) 2021, heckyel
</metadata>
<defs>
<font id="libresocial" horiz-adv-x="128" >
diff --git a/dist/fonts/libresocial.ttf b/dist/fonts/libresocial.ttf
index e44e86f..4a52ee6 100644
--- a/dist/fonts/libresocial.ttf
+++ b/dist/fonts/libresocial.ttf
Binary files differ
diff --git a/dist/fonts/libresocial.woff b/dist/fonts/libresocial.woff
index 824349c..57e644d 100644
--- a/dist/fonts/libresocial.woff
+++ b/dist/fonts/libresocial.woff
Binary files differ
diff --git a/scss/libresocial.scss b/scss/libresocial.scss
index ed60b1f..718cf70 100644
--- a/scss/libresocial.scss
+++ b/scss/libresocial.scss
@@ -16,7 +16,7 @@ $libresocial-path: "../fonts";
font-family: "libresocial";
font-style: normal;
font-weight: normal;
- speak: none;
+ speak: never;
display: inline-block;
text-decoration: inherit;
width: 1em;
@@ -35,12 +35,6 @@ $libresocial-path: "../fonts";
/* remove if not needed */
margin-left: 0.2em;
- /* you can be more comfortable with increased icons size */
- /* font-size: 120%; */
- /* Font smoothing. That was taken from TWBS */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
diff --git a/test b/test
new file mode 160000
+Subproject 58986d51da6cb7876060b7ad3340f98b848cccc