Skip to content

Commit

Permalink
replace bower deps with npm
Browse files Browse the repository at this point in the history
  • Loading branch information
hussam-i-am committed Oct 2, 2023
1 parent c986854 commit 750664c
Show file tree
Hide file tree
Showing 6 changed files with 4,942 additions and 5,975 deletions.
10 changes: 6 additions & 4 deletions frontend/app/styles/bitters/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'sass:math';

fieldset {
background-color: transparent;
border: 0;
Expand All @@ -7,14 +9,14 @@ fieldset {

legend {
font-weight: 600;
margin-bottom: $small-spacing / 2;
margin-bottom: math.div($small-spacing, 2);
padding: 0;
}

label {
display: block;
font-weight: 600;
margin-bottom: $small-spacing / 2;
margin-bottom: math.div($small-spacing, 2);
}

input,
Expand All @@ -34,7 +36,7 @@ select[multiple] {
font-family: $base-font-family;
font-size: $base-font-size;
margin-bottom: $small-spacing;
padding: $base-spacing / 3;
padding: math.div($base-spacing, 3);
transition: border-color $base-duration $base-timing;
width: 100%;

Expand Down Expand Up @@ -69,7 +71,7 @@ textarea {
[type="checkbox"],
[type="radio"] {
display: inline;
margin-right: $small-spacing / 2;
margin-right: math.div($small-spacing, 2);
}

[type="file"] {
Expand Down
4 changes: 3 additions & 1 deletion frontend/app/styles/bitters/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'sass:math';

// Typography
$base-font-family: $helvetica;
$heading-font-family: $base-font-family;
Expand All @@ -12,7 +14,7 @@ $heading-line-height: 1.2;
// Other Sizes
$base-border-radius: 3px;
$base-spacing: $base-line-height * 1em;
$small-spacing: $base-spacing / 2;
$small-spacing: math.div($base-spacing, 2);
$base-z-index: 0;
$bottom-nav-height: 3.25rem;

Expand Down
2 changes: 0 additions & 2 deletions frontend/bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"name": "flaredown",
"dependencies": {
"bourbon": "4.2.3",
"neat": "~1.7.2",
"pace": "vectart/pace",
"pusher": "~3.0.0",
"d3": "~3.5.13",
Expand Down
10 changes: 10 additions & 0 deletions frontend/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,22 @@ var EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
var app = new EmberApp(defaults, {
babel: {
sourceMaps: 'inline'
},

'ember-cli-babel': {},

dotEnv: {
path: {
development: '../backend/.env',
}
},

sassOptions: {
extension: 'scss'
},

fingerprint: {
exclude: [
'weather/clear-day',
Expand Down
Loading

0 comments on commit 750664c

Please sign in to comment.