Skip to content

Commit

Permalink
size for icon font
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Apr 8, 2024
1 parent 3acd843 commit 289b053
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: phosphoricons
Title: 'Phosphor' Icons for R
Version: 0.2.0.9000
Version: 0.2.1
Authors@R:
c(person(given = "Victor",
family = "Perrier",
Expand Down
Binary file removed inst/assets/css/Phosphor-Duotone.woff
Binary file not shown.
Binary file removed inst/assets/css/Phosphor-Duotone.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion inst/assets/css/icons.min.css

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions inst/assets/css/size.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.ph-xxs {
font-size: 0.5em;
}
.ph-xs {
font-size: 0.75em;
}
.ph-sm {
font-size: 0.875em;
}
.ph-lg {
font-size: 1.3333em;
line-height: 0.75em;
vertical-align: -0.0667em;
}
.ph-xl {
font-size: 1.5em;
line-height: 0.6666em;
vertical-align: -0.075em;
}
.ph-1x {
font-size: 1em;
}
.ph-2x {
font-size: 2em;
}
.ph-3x {
font-size: 3em;
}
.ph-4x {
font-size: 4em;
}
.ph-5x {
font-size: 5em;
}
.ph-6x {
font-size: 6em;
}
.ph-7x {
font-size: 7em;
}
.ph-8x {
font-size: 8em;
}
.ph-9x {
font-size: 9em;
}
.ph-10x {
font-size: 10em;
}
.ph-fw {
text-align: center;
width: 1.25em;
}

0 comments on commit 289b053

Please sign in to comment.