question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Minimal CSS for JavaScript components

See original GitHub issue

Would you ever consider including CSS or Sass files that contain just the minimum amount of styling for JavaScript components?

Currently you can conditionally include Sass files per component, but often when I’m working off an existing design I need to implement, I would have to override all those styles somehow, which includes borders, shadows, etc. If I could include just the bare minimum, I may save some time.

I went ahead and created minimal versions for each component, just to see what it would look like:

Let me know what you think.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
C-Loddercommented, Oct 23, 2017

@iamandrewluca - surely just override the $theme-colors array and remove the colours you don’t need?

1reaction
Johann-Scommented, Sep 19, 2017

That’s can be a solution @IamManchanda 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Minimal CSS Frameworks: 10 Great Choices - Stack Diary
Minimal CSS Frameworks: 10 Great Choices. CSS frameworks provide the means to speed up the process of scaling website and app designs.
Read more >
Pico.css • Minimal CSS Framework for semantic HTML
Great styles with just CSS. No dependencies, package manager, external files, or JavaScript. Responsive everything. Elegant and consistent adaptive spacings ...
Read more >
11 Excellent CSS Frameworks - JavaScript in Plain English
Large selection of components; Easy to customize; Material Design. 11. Milligram. Milligram is a minimal CSS framework that does not rely on JavaScript....
Read more >
MVP.css - Minimalist stylesheet for HTML elements
A minimalist stylesheet for HTML elements. No class names, no frameworks, just semantic HTML and you're done . Download HTML ↗Download MVP.css (9kb)...
Read more >
10 lightweight CSS frameworks without jQuery
10 lightweight CSS frameworks with no jQuery or additional JS dependencies · 1. Bulma [Based on Flexbox] · 2. HiQ [A high-IQ CSS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found