usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.8k stars 2.59k forks source link

Consider using introJS.scss #529

Closed danmv closed 3 years ago

danmv commented 8 years ago

It will be really cool and helpful to have Sass files for the css. It will make it really easy to change templates and create new ones.

Anahkiasen commented 8 years ago

:+1: for this, would make it a lot easier to theme

bozdoz commented 7 years ago

Definitely could. I also think autoprefixer would help reduce the source files, so we wouldn't have to write all the compatibility prefixes. I could see this as part of modularization too, #666. We could have simple theme files that adjust variables, something like:

/* introjs-dark.scss */
$bg_color: #fff;
import 'introjs';

and the main file

/* introjs.scss */
$bg_color: #000 !default;

.introjs-overlay {
  background-color: $bg_color;
}
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.