npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@telefonica/tefstrap

v0.1.11

Published

Telefonica Bootstrap Theme

Downloads

33

Readme

Telefónica theme for Twitter Bootstrap 3

Telefónica Corporative Bootstrap Theme for easy and quick web page prototyping.

See it live at https://telefonica.github.io/TEFstrap

Quick start

Several quick start options are available:

  • Download the latest release
  • Clone the repo: git clone https://github.com/Telefonica/TEFstrap.git
  • Install with Bower: bower install tefstrap
  • Install with npm: npm install @telefonica/tefstrap

Here you get the most basic form of TEFstrap: precompiled files for quick drop-in usage in nearly any web project. Just replace your original bootstrap.css with the TEFstrap one you downloaded, located at dist/css/bootstrap.css and copy the fonts dist/fonts/ and dist/img directory to your own one.

Hacking

After downloading the project, you can modify and compile your own distributon with your own customizations, or just pick some parts. The pre-compiled bootstrap.css distributed in dist/ directory is precompiled and minified, and
the less/, js/, and fonts/ are the source code for our CSS, JS, and fonts (respectively).

Three source files are provided in the less directory:

  • less/tefstrap.less: Custom components and variables for TEFstrap.
  • less/variables.less: A copy of bootstrap variables, but with the values for the Telefonica theme.
  • less/bootstrap.less: The main entry point for compile TEFstrap. Loads all bootstrap and applies the TEFstrap customizations. Here you can be quirurgic: make your own and just import your desired bootstap files, add the above two files and then compile it.

Both boostrap and TEFstrap does not proactively add all the browser vendor prefixes. Therefore you will need to use the autoprefixer tool.

Finally take a look to our package.json#scripts.build for inspiration about how to compile/autoprefix/minify less files and generate the CSS ones.

Development

First of all, download and install NodeJS.

git clone https://github.com/Telefonica/TEFstrap.git
cd TEFstrap
npm install # Install node dependencies for this project
npm run build # Build (i.e compile/autoprefix/minify) assets
npm run dev # Start development watchers, to auto compile less
open index.html # Open the index.html with your default browser

LICENSE

Copyright (c) 2011-2016 Telefónica I+D. Code released under the MIT license.

Bootstrap: copyright 2011-2016 Twitter, Inc. Code released under the MIT license.