GithubHelp home page GithubHelp logo

hackerthemes / spur-template Goto Github PK

View Code? Open in Web Editor NEW
357.0 15.0 72.0 2.65 MB

A Bootstrap Admin Template

Home Page: https://hackerthemes.com/bootstrap-templates/spur

License: MIT License

JavaScript 3.62% HTML 84.05% CSS 11.46% Shell 0.87%

spur-template's Introduction

Spur - A Bootstrap Admin Template

Spur is a simple dashboard template (aka admin template) based on the latest version of Bootstrap. It features layouts and components intended to make it easier for developers to build a pretty web application.

Live Demo

A live demo can be found here: https://hackerthemes.com/spur/demo/html/

Download and instructions

The entire template with all necessary assets is found in the dist/ folder. Please find the download and detailed instructions at https://hackerthemes.com/bootstrap-templates/spur/.

You can also install using npm:

npm install spur-template

Creators

Alexander Rechsteiner

Bootstrap

Copyright and license

Code and documentation copyright 2018 HackerThemes Code released under the MIT License.

Changelog

1.1.0: Upgrade to Bootstrap 4.3.1

1.0.0: Initial Release

spur-template's People

Contributors

arechsteiner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spur-template's Issues

Using more (ideally Bootstrap) variables for easier cusstomization

Since you are already dependent on Bootstrap and their styles and variables, why aren't you using them more? There are many unnecessarily "hard-coded" values in your theme.

There is no need to "invent" stuff like spacing/padding for elements like toolbar items, when you have Bootstrap's $spacers and can just do something like padding: map_get($spacers, 1), etc.

The same could be said even about .dash-nav's min-width property, .spur-logo spacing and font sizes, etc.

Imagine that I have heavily customized _variables.scss to fit better with my idea; if you have everything hardcoded I have to re-define all those properties. You have a full power of the preprocessor, use it, please!

The ideal fix would be to define all those values in your theme's _variables.scss, and where it makes sense use Bootstrap's variables as defaults. That way it'll "automagically" fit with any customization of Bootstrap's initial variables, but it will also allow easy customization of just the theme's styles without necessarily changing Bootstrap's values.

Oh and even if you can't use a Bootstrap variable directly, you can always derive from them: let's say that you want .spur-logo be of a size that fits nicely with the user-chosen Bootstrap variables, but neither $font-size-base nor $font-size-lg work for you (one is too small - obviously, and the other is too large). Well you can just do what Bootstrap does, define your own font size like this: $font-size-logo: $font-size-base * 1.20 !default;. And this could (and should!) be done with pretty much every value that's currently hardcoded.


As a side note, using variables also helps "explain" why you've chosen some values as they are. For example, why does .dash-nav-item i have a width of 36px and font-size of 19px? It has probably something to do with the icon sizing within the nav item being dependent on the font size of the nav items, but I don't really know. And if I do change the font size of nav items, is the icon going to be sized wrong? Possibly. Will I not even notice that I need to also change the icon size? Most likely.

Providing variables for all that would fix this guessing and also allow for easy customization.

Spur classes docs

Is there docs about spur custom classes and their usage? If not, do you plan to create them at some point?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.