Skip to content

Commit

Permalink
feat: removing kebabCase
Browse files Browse the repository at this point in the history
  • Loading branch information
CesarBenavides777 committed Feb 24, 2021
1 parent c71ec21 commit ac0e775
Show file tree
Hide file tree
Showing 16 changed files with 6,697 additions and 5,710 deletions.
9,530 changes: 5,172 additions & 4,358 deletions lib/components.js

Large diffs are not rendered by default.

2,554 changes: 1,495 additions & 1,059 deletions lib/index.css

Large diffs are not rendered by default.

19 changes: 8 additions & 11 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
require('./index.css');
require("./index.css");
// require('./widgets/index.css');
// require('./ContentComponents/index.css');
require("./ContentComponents/index.css");

var components = require('./components.js');
const components = require("./components.js");
// var widgets = require('./widgets/index.js');
// var contentComponents = require('./ContentComponents/index.js');
const contentComponents = require("./ContentComponents/index.js");

Object.keys(components).map(
(component) => (exports[component] = components[component]),
);
Object.keys(components).map(component => (exports[component] = components[component]));
// Object.keys(widgets).map((widget) => (exports[widget] = widgets[widget]));
// Object.keys(contentComponents).map(
// (contentComponent) =>
// (exports[contentComponent] = contentComponents[contentComponent]),
// );
Object.keys(contentComponents).map(
contentComponent => (exports[contentComponent] = contentComponents[contentComponent])
);
2 changes: 1 addition & 1 deletion lib/styles/mixins/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-moz-osx-font-smoothing: grayscale;

&:before {
color: map-get($colors, 'primary');
color: map-get($colors, 'brand-blue');
transition: inherit;
}
}
2 changes: 1 addition & 1 deletion lib/styles/mixins/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@

// Plex
@mixin fontSerif {
font-family: 'Baloo-2', serif;
font-family: 'Baloo 2', serif;
font-weight: normal;
}
2 changes: 1 addition & 1 deletion lib/styles/storybook/storybook.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}

.sb-icon-name {
color: map-get($colors, 'primary');
color: map-get($colors, 'brand-blue');
font-size: rem(10px);
@include fontSans($beam-84, $beam-vf, 'sans-serif', 84, 700);
}
Expand Down
9 changes: 7 additions & 2 deletions lib/styles/variables/_colors.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$base-colors: (primary: #00adbb,
$base-colors: (
primary: #00adbb,
primary1: #00ABB8,
gray5: #48464f,
gray4: #74717e,
Expand All @@ -14,7 +15,11 @@ $base-colors: (primary: #00adbb,
util-success: #2c8636,
);

$extended-colors: (brand-black: #000000,
$extended-colors: (
brand-blue: #00adbc,
brand-orange: #ffa500,
brand-grey: #5b6770,
brand-black: #000000,
brand-white: #ffffff,
brand-transparent: transparent,
disabled: map-get($base-colors, 'gray3'),
Expand Down
13 changes: 7 additions & 6 deletions lib/styles/variables/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
// Defined fonts for Beam (sans-serif) and IMB Plex (serif)
// ---------------------------------------------------------

// Baloo-2
$baloo: 'Baloo-2';
// Baloo 2
$baloo: 'Baloo 2';
$gtAmerican: 'GT America';

// beam
$beam-vf: 'BeamNewHMK-VF';
$beam-170: 'BeamNewHMK-170';
$beam-114: 'BeamNewHMK-114';
$beam-84: 'BeamNewHMK-84';
$beam-vf: 'GT America';
$beam-170: 'GT America';
$beam-114: 'GT America';
$beam-84: 'GT America';

// simple defefinition
$sans-serif: $gtAmerican;
$serif: $baloo;

2 changes: 1 addition & 1 deletion src/assets/svg/hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 0 additions & 93 deletions src/components/DataLayer/DataLayer.js

This file was deleted.

69 changes: 0 additions & 69 deletions src/components/DataLayer/DataLayer.stories.js

This file was deleted.

60 changes: 0 additions & 60 deletions src/components/DataLayer/DataLayer.test.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/DataLayer/__snapshots__/DataLayer.test.js.snap

This file was deleted.

1 change: 0 additions & 1 deletion src/components/DataLayer/index.js

This file was deleted.

40 changes: 0 additions & 40 deletions src/components/DataLayer/testScripts/initScript.js

This file was deleted.

8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import "./styles/reset.scss";

export * from "./assets/svg";
export * from "./ContentComponents/Hero";
export * from "./ContentComponents/Tabs";
export * from "./ContentComponents/Shell";
export * from "./ContentComponents/Tabs";
export * from "./ContentComponents";
export * from "./assets/svg";
export * from "./components/AccentIcon";
export * from "./components/Accordion";
export * from "./components/Address";
Expand All @@ -16,7 +16,7 @@ export * from "./components/Collapse";
export * from "./components/ContentCard";
export * from "./components/ContentPanels";
export * from "./components/CulturalIndicator";
export * from "./components/DataLayer";
// export * from './components/DataLayer';
export * from "./components/DescriptionList";
export * from "./components/Dialog";
export * from "./components/Footer";
Expand Down Expand Up @@ -46,8 +46,8 @@ export * from "./components/List";
export * from "./components/Logo";
export * from "./components/Media/AudioPlayer";
export * from "./components/Media/VideoPlayer";
export * from "./components/Nav";
export * from "./components/MediaGallery";
export * from "./components/Nav";
export * from "./components/ProgressBar";
export * from "./components/Script";
export * from "./components/Section";
Expand Down

0 comments on commit ac0e775

Please sign in to comment.