Skip to content

Commit

Permalink
theme(fix): remove style hooks (WIP)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
  • Loading branch information
davidsneighbour committed Jan 14, 2025
1 parent 39def1f commit 677c82e
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 116 deletions.
1 change: 0 additions & 1 deletion .sassdocrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ groups:
03-theme: Theme
04-components: Component
05-prose: Prose
09-hooks: Hooks
0-setup: Setup

display:
Expand Down
4 changes: 1 addition & 3 deletions assets/scss/03-theme/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ figcaption {

.prose {

@import "../09-hooks/prose-pre";

/* max-inline-size: 55rem; */
margin-inline: auto;

Expand Down Expand Up @@ -295,6 +293,7 @@ figcaption {
@import "../05-prose/prose";
@import "../05-prose/tables";

// @TODO perfect candidate for a module to @use with color settings.
.light & {
// light theme syntax highlighting
@import "../05-prose/syntax/light";
Expand All @@ -305,7 +304,6 @@ figcaption {
@import "../05-prose/syntax/dark";
}

@import "../09-hooks/prose-post";
}

/// alerts
Expand Down
6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_components-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_components-pre.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_mixins-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_mixins-pre.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_plugins-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_plugins-pre.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_prose-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_prose-pre.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_settings-colors-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_settings-fonts-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_settings-maps-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_settings-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_settings-pre.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_settings-variables-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_theme-post.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/09-hooks/_theme-pre.scss

This file was deleted.

17 changes: 1 addition & 16 deletions assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,23 @@
/// @since 1.2024.0
////

@charset 'utf-8';
@charset 'utf-8';

// BS: Configuration
@import "bootstrap/scss/functions";

// DNB: theme settings
@import "09-hooks/settings-pre";
@import "01-settings/fonts";
@import "09-hooks/settings-fonts-post";
@import "01-settings/colors";
@import "09-hooks/settings-colors-post";

@import "01-settings/theme";
@import "01-settings/utilities";
@import "09-hooks/settings-post";

// BS: theme settings
@import "bootstrap/scss/variables";
@import "bootstrap/scss/variables-dark";
@import "09-hooks/settings-variables-post";

// DNB: map overrides
@import "01-settings/maps";
@import "09-hooks/settings-maps-post";

// BS: other required parts
@import "bootstrap/scss/maps";
Expand Down Expand Up @@ -81,28 +74,20 @@
@import "bootstrap/scss/utilities/api";

// DNB: Mixins
@import "09-hooks/mixins-pre";
@import "02-mixins/mixins";
@import "09-hooks/mixins-post";

// DNB: Theme
@import "09-hooks/theme-pre";
@import "03-theme/global";
@import "03-theme/footer";
@import "03-theme/navigation";
@import "03-theme/utilities";
@import "09-hooks/theme-post";

// DNB: Components
@import "09-hooks/components-pre";
@import "04-components/search";
@import "04-components/theme-toggle";
@import "09-hooks/components-post";

// DNB: plugins (imported from node_modules)
@import "09-hooks/plugins-pre";
// @import "lite-yt-embed";
// @import "debugprint";
// @import "plugins/clipboard";
// @import "auditor";
@import "09-hooks/plugins-post";

0 comments on commit 677c82e

Please sign in to comment.