Skip to content

Commit

Permalink
Migrate Sass files to module system
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Dec 2, 2024
1 parent 12ffe52 commit 4212367
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 deletions.
2 changes: 2 additions & 0 deletions styles/_containers.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'mixins' as *;

// Core containers

body {
Expand Down
2 changes: 2 additions & 0 deletions styles/_dashboard.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'mixins' as *;

#game-dashboard {
width: 230px;
// Prevent grid from shifting awkwardly when game controls disappear/reappear
Expand Down
2 changes: 2 additions & 0 deletions styles/_grid.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'mixins' as *;

// The game grid, including all of its layers as well as individual chips

#grid {
Expand Down
2 changes: 2 additions & 0 deletions styles/_header.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'mixins' as *;

// Elements displayed in the topmost region of the app

h1 {
Expand Down
2 changes: 2 additions & 0 deletions styles/_player-area.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'mixins' as *;

#player-area {
position: relative;
}
Expand Down
22 changes: 11 additions & 11 deletions styles/index.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Main front-end stylesheet

@import 'mixins';
@import 'variables';
@import 'colors';
@import 'containers';
@import 'header';
@import 'dashboard';
@import 'dashboard-controls';
@import 'grid';
@import 'player-area';
@import 'reaction-picker';
@import 'update-notification';
@use 'mixins';
@use 'variables';
@use 'colors';
@use 'containers';
@use 'header';
@use 'dashboard';
@use 'dashboard-controls';
@use 'grid';
@use 'player-area';
@use 'reaction-picker';
@use 'update-notification';

0 comments on commit 4212367

Please sign in to comment.