Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

mohannadnaj-archive/dubai-font

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Dubai Font

npm version npm downloads

jsdelivr hits

This is a web distribution Repository for Dubai Font.

This is not an official repository, this is just a way to ease installation of Dubai Font for web developers. suitable to be used with npm. npm install dubai-font --save-dev

Live Demo: https://mohannadnaj.github.io/dubai-font/

Screenshots

Screenshot

Installation

CDN :

jsdelivr:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dubai-font/css/dubai-font.css">

unpkg:

<link rel="stylesheet" href="https://unpkg.com/[email protected]/dubai-font/css/dubai-font.css">

rawgit:

check out rtaibah/dubai-font-cdn repoistory.

Download

npm

  • install the package: npm install dubai-font --save-dev

  • Copy node_modules/dubai-font/dubai-font/ to your project's public directory.

  • Link to dubai-font/css/dubai-font.css in your markup.

     <link rel="stylesheet" href="dubai-font/css/dubai-font.css">
    

Usage

Dubai font has 4 weights: Bold, Medium, Regular, Light.

You can use it by adding the css classes: font-dubai-bold , font-dubai-medium , font-dubai-regular , font-dubai-light .

Copy Recipes

Gulp

gulpfile.js :

var gulp = require('gulp');

gulp.task('default', function() {
    gulp.src('node_modules/dubai-font/dubai-font/**/*')
        .pipe(gulp.dest('public'));
});

Grunt

Gruntfile.js :

module.exports = function(grunt) {
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.initConfig({
            copy: {
                dubaiFont: {
                    files: [ {
                        expand: true,
                        cwd: "node_modules/dubai-font/dubai-font",
                        src: ["*.*", "**/*.*"],
                        dest: "public",
                    }]
                }
            }
    });
    grunt.registerTask('default', ['copy:dubaiFont']);
};

Laravel Mix

webpack.mix.js :

let mix = require('laravel-mix');
mix.copy('node_modules/dubai-font/dubai-font/', 'public/');

Font files are downloaded from http://www.dubaifont.com and they hold all the rights for this font. Contact The Executive Council Dubai for further inqueries.

About

Distribution repository for Dubai Font

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages