Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon size #20

Open
seb-vial opened this issue Dec 4, 2019 · 1 comment
Open

Icon size #20

seb-vial opened this issue Dec 4, 2019 · 1 comment

Comments

@seb-vial
Copy link
Owner

seb-vial commented Dec 4, 2019

As @gbschenkel pointed out, it might be useful to be able to pick a size for FontAwesome icons. According to the doc there is a way to change the icon size by using a class. https://fontawesome.com/how-to-use/on-the-web/styling/sizing-icons
The way I see this, there should be a select box with all the available classes from FontAwesome (with corresponding size in em). I'm just wondering if this select box should be available for every social media icon in the settings, or should it just be set for all the icons at once (meaning all the icons would have the same size, always) ?

@gbschenkel
Copy link

gbschenkel commented Dec 6, 2019

I think we could have a 'size' inside social_pages to set the default size for all them, and other inside the specific page, for overwrite the default icon size, like to inform that one is your main social network/page:

Example:

social_pages:
  enabled: true
  use_font_awesome: true
  size: 10 (pixels?)
  pages:
    facebook:
      icon_type: b
      icon: facebook
      title: Facebook
      position: 1
    twitter:
      icon_type: b
      icon: twitter
      title: Twitter
      position: 2
      size: 15 (overwrite the default size)
      url: 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants