Comments (5)
Like said in #10 we are planning to add support in hydrogen for the font picker. It didn't make it through beta1.
Your implementation is almost right but you are missing a few bits. Because it's remote you need the url() and because it's Google fonts you need the pretending google fonts url
from gantry5.
Sorry phone submitted before I was done :)
url(http://fonts.googleapis.com/css?$header-font)
Something along those lines.
from gantry5.
Thanks for the input.
from gantry5.
We discussed the font picker and know it isn't completed but I think we have a good plan now.
In short, we are going to add support for local fonts as well as google fonts so the font picker field itself could be populated similar to the way you write it in CSS.
As font stack: "Helvetica", "Times New Roman", sans-serif
As google: family=Ubuntu...
As single font: Helvetica
You will be able to define local fonts from the theme.yaml
in a key value definition that sort of looks like roboto: 'gantry-theme://fonts/roboto_regular_macroman/Roboto-Regular-webfont'
and if you wanted to use it you would just reference roboto
in the field.
This is the plan, it's going to take a bit of time to get it all together but at least you get the idea :)
from gantry5.
Awesome!
from gantry5.
Related Issues (20)
- Helium mobile issue HOT 4
- composer for easy edit HOT 1
- [Bug] Hiding Component Output Breaks Joomla 4 Third-Party Extensions HOT 1
- OutOfMemoryError Joomla 4.3.0 Gantry 5.5.16 Helium template HOT 1
- Social connect button visibility in Gantry5 (Hydrogen) 5.5.15, Joomla4 HOT 2
- Include div block, only in first particle instance (Twig, Joomla) HOT 2
- Get the Joomla registration form in Particle HOT 1
- AddScript duplicate between particle and CSS/JS atom HOT 1
- Joomla 4.3 menu params not loaded for new item HOT 4
- Issue with Gantry Menu layout
- Don't get an update notification HOT 2
- g5_helium theme update error HOT 2
- Failed to save entry: Grav\Framework\Flex\Pages\Traits\PageLegacyTrait::file(): Not Implemented HOT 1
- lightcase.js and webp images compatibility HOT 1
- Grav - Nucleus - Apostrophe's in Meta values render/encode incorrectly HOT 1
- Website Blank pages (Using Gantry 5 Hydrogen template on Joomla) HOT 1
- custom.scss not compiling HOT 1
- The update notification for 5.5.16 is missing HOT 3
- how to show always the mobile menu HOT 4
- Undefined property: stdClass::$id HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gantry5.