Skip to content

Commit

Permalink
feat: src/component folder cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Callin Mullaney committed Aug 27, 2024
1 parent e44b98b commit 112fb08
Show file tree
Hide file tree
Showing 32 changed files with 15 additions and 357 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import image from './image/responsive-image.twig';
import figure from './image/figure.twig';
import image from './responsive-image.twig';
import figure from './figure.twig';

import imageData from './image/image.yml';
import figureData from './image/figure.yml';
import imageData from './image.yml';
import figureData from './figure.yml';

const svgIcons = require.context('../../../assets/icons/', true, /\.svg$/);
const icons = [];
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/components/logo/logo.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
link_url: logo__url|default('/'),
} %}
{% block link_content %}
{% include "@components/images/image/responsive-image.twig" with {
{% include "@components/image/responsive-image.twig" with {
output_image_tag: true,
image_src: directory ? '/' ~ directory ~ '/images/logo.png' : 'logo.png',
image_src: directory ? '/' ~ directory ~ '/assets/images/logo.png' : 'logo.png',
image_alt: 'Logo',
responsive_image_blockname: 'logo',
} %}
Expand Down
4 changes: 4 additions & 0 deletions src/components/menus/main-menu/main-menu.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@forward './00-main-menu';
@forward './01-main-menu-item';
@forward './02-main-menu-link';
@forward './03-main-menu-toggle';
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@forward './tab';
@use '../../src/stylesheets/breakpoints.scss' as *;
@use '../../src/stylesheets/mixins' as *;

Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions src/components/text/text/_body.scss

This file was deleted.

File renamed without changes.
348 changes: 0 additions & 348 deletions src/components/tokens/_tokens.scss

This file was deleted.

4 changes: 4 additions & 0 deletions src/foundation/utility/_utility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
@include focus;
}

body {
color: var(--colors-text-body);
}

body[data-body-frozen] {
overflow: hidden;
max-height: 100vh;
Expand Down

0 comments on commit 112fb08

Please sign in to comment.