Skip to content

Commit

Permalink
dark theme fixes
Browse files Browse the repository at this point in the history
sourcemaps fix
  • Loading branch information
night committed Aug 2, 2017
1 parent 7d880c1 commit 314a47f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 12 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 NightDev, LLC
Copyright (c) 2017 NightDev, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -23,7 +23,7 @@ THE SOFTWARE.

Should any questions arise concerning your usage of this Software, or to
request permission to distribute this Software, please contact the copyright
holder at http://nightdev.com/contact
holder at https://nightdev.com/contact

---------------------------------

Expand Down
23 changes: 15 additions & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,32 @@ gulp.task(
() => del('build/**/*')
);

gulp.task(
'lint',
() => gulp.src('src/**/*.js')
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failOnError())
);

gulp.task(
'prepare',
['cleanup', 'lint'],
() => gulp.src(['src/**/*'])
() => gulp.src('src/**/*')
.pipe(gulp.dest('build/'))
);

gulp.task(
'lint',
() => gulp.src(['src/**/*.js'])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failOnError())
'license',
['prepare'],
() => gulp.src('build/index.js')
.pipe(header(LICENSE + '\n'))
.pipe(gulp.dest('build'))
);

gulp.task(
'scripts',
['prepare'],
['license'],
() => browserify('build/index.js', {debug: true})
.transform('require-globify')
.transform('babelify', {
Expand All @@ -62,7 +70,6 @@ gulp.task(
.bundle()
.pipe(gulpif(IS_PROD, source('betterttv.unmin.js'), source('betterttv.js')))
.pipe(buffer())
.pipe(header(LICENSE + '\n'))
.pipe(gulp.dest('build'))
.pipe(gulpif(IS_PROD, rename('betterttv.js')))
.pipe(gulpif(IS_PROD, sourcemaps.init({loadMaps: true})))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "BetterTTV",
"author": "Night",
"version": "7.0.24",
"version": "7.0.25",
"description": "BetterTTV enhances Twitch with new features, bug fixes, and reduced clutter.",
"main": "betterttv.js",
"scripts": {
Expand Down
23 changes: 22 additions & 1 deletion src/css/betterttv-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3266,6 +3266,10 @@ button.follow-button, .subscription-modal__right button, .subscription-modal__le
background: #202020;
}

.new-dashboard .brick--theme-white div.flex__item.flex__item--grow.border-r {
background: #333 !important;
}

.new-dasboard .stats-table {
border-top: none;
}
Expand Down Expand Up @@ -3371,7 +3375,9 @@ button.follow-button, .subscription-modal__right button, .subscription-modal__le
}

#video-manager .c-text-alt,
#video-manager .c-text {
#video-manager .c-text,
.new-dashboard .c-text-alt,
.new-dashboard .c-text {
color: #d3d3d3 !important;
}

Expand Down Expand Up @@ -3440,6 +3446,21 @@ button.follow-button, .subscription-modal__right button, .subscription-modal__le

/* new dashboard */

.vod-vertical-nav {
background: #222;
border-right-color: #282828;
}

.vod-vertical-nav__link:hover,
.vod-vertical-nav__link:active,
.vod-vertical-nav__link:focus,
.vod-vertical-nav__list-item .active,
.vod-vertical-nav__list-item .active:hover,
.vod-vertical-nav__list-item .active:active,
.vod-vertical-nav__list-item .active:focus {
background: #2c2541;
}

.dash-column {
border: none;
}
Expand Down

0 comments on commit 314a47f

Please sign in to comment.