-
Notifications
You must be signed in to change notification settings - Fork 3
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
Font maps #26
Labels
Milestone
Comments
Approximate structure: // ---------------------------------------
// Font famylies
// ---------------------------------------
$fonts: (
'Open Sans': ( // first font always base
version: 234234432, // global version
bold: ( // weight
normal ( // style
file: openSans-bold, // or force proper naming?
svg-id: svgId,
font-face: true,
),
italic (
file: openSans-bold-italic,
version: 234234432,
svg-id: svgId,
font-face: true,
),
),
),
'Fontello': (
version: 234234432,
class: icon, // override class name
icons: ( // icons? apply weight and style : normal by default
file: fontello,
svg-id: fontellosvgId,
),
),
'Old variant': (
500: (
file: openSans-semibold,
version: 234234432,
styles: (normal, italic),
svg-id: svgId,
font-face: true,
),
normal: (
file: openSans-normal,
version: 234234432,
styles: normal,
svg-id: svgId,
font-face: true,
),
),
) !default; |
Probably it's better to use separate |
Fonts also should have Remember, that some local fonts should be quoted, while other — shouldn't |
ArmorDarks
referenced
this issue
Mar 1, 2016
…variables to maps; added functions `ekzo-font-family()` and `ekzo-ui-font-family` to quickly get values from font-families maps; added automatic generation of helpers based on provided font-families and options to enable/disable them
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Store fonts in map and loop through it to output shorthand helper-classes and font-faces for each
The text was updated successfully, but these errors were encountered: