Skip to content

Commit

Permalink
update assets
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhairi committed Aug 27, 2018
1 parent e5630a9 commit 02b9341
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 16 deletions.
18 changes: 13 additions & 5 deletions assets/stylesheets/bootswatch/cyborg/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,700" !defaul
// Buttons =====================================================================

.btn {

&-warning,
&-warning:hover {
color: $white;
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}

Expand Down Expand Up @@ -222,7 +226,11 @@ legend {

@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions assets/stylesheets/bootswatch/cyborg/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ $danger: $red !default;
$light: $gray-800 !default;
$dark: $gray-400 !default;

$yiq-contrasted-threshold: 175 !default;


// Body

Expand Down
6 changes: 5 additions & 1 deletion assets/stylesheets/bootswatch/darkly/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic"

@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}
Expand Down
6 changes: 5 additions & 1 deletion assets/stylesheets/bootswatch/flatly/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic"

@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($body-bg, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}

Expand Down
6 changes: 5 additions & 1 deletion assets/stylesheets/bootswatch/litera/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,11 @@ table,

@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
@if $enable-gradients {
background: $value linear-gradient(0deg, mix($body-bg, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}

Expand Down
7 changes: 6 additions & 1 deletion assets/stylesheets/bootswatch/materia/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -564,14 +564,19 @@ select.form-control {

.alert {
padding-right: 2.5rem;
border: none;

&, h1, h2, h3, h4, h5, h6 {
color: #fff;
}

@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($body-bg, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions assets/stylesheets/bootswatch/materia/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ $dark: $gray-800 !default;

$yiq-contrasted-threshold: 170 !default;

$enable-gradients: true;

// Body

$body-color: $gray-700 !default;
Expand Down
18 changes: 17 additions & 1 deletion assets/stylesheets/bootswatch/solar/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro" !defau

// Buttons =====================================================================

.btn {
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}

// Typography ==================================================================

// Tables ======================================================================
Expand Down Expand Up @@ -162,7 +174,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro" !defau

@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions assets/stylesheets/bootswatch/solar/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;

$enable-gradients: true;

// Body

$body-bg: $gray-900 !default;
Expand Down
18 changes: 13 additions & 5 deletions assets/stylesheets/bootswatch/superhero/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700" !defa
// Buttons =====================================================================

.btn {

&-info,
&-warning {
color: $white;
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}

Expand Down Expand Up @@ -220,7 +224,11 @@ label,

@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion assets/stylesheets/bootswatch/superhero/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ $danger: $red !default;
$light: lighten($gray-200, 25%) !default;
$dark: $gray-200 !default;

$yiq-contrasted-threshold: 185 !default;

// Body

$body-bg: #2B3E50 !default;
Expand Down Expand Up @@ -70,7 +72,7 @@ $input-border-color: transparent !default;

$input-group-addon-color: $body-color !default;

$custom-file-color: $white !default;
$custom-file-button-color: $white !default;
$custom-file-border-color: $gray-200 !default;

// Dropdowns
Expand Down

0 comments on commit 02b9341

Please sign in to comment.