Skip to content

Commit d34f7d3

Browse files
authored
Merge pull request #18 from dannycolin/css-housekeeping
Make our stylesheets more modular
2 parents 2cd235b + f7d6e7b commit d34f7d3

22 files changed

Lines changed: 753 additions & 569 deletions

_config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
4+
#
5+
# Jekyll configuration
6+
17
title: "Bugzilla"
28
email: "developers@bugzilla.org"
39
description: "Jekyll theme for Bugzilla websites"
@@ -6,6 +12,7 @@ url: "https://bugzilla.org"
612

713
sass:
814
sass_dir: _sass
15+
style: compressed
916

1017
markdown: kramdown
1118
plugins:

_sass/_app.scss

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4+
5+
/* Base */
6+
@use "base/reset";
7+
@use "base/variables";
8+
@use "base/fonts";
9+
@use "base/_base";
10+
@use "base/utils";
11+
12+
/* Atoms */
13+
@use "components/button";
14+
15+
/* Molecules */
16+
@use "components/card";
17+
@use "components/widget";
18+
@use "components/form";
19+
20+
/* Organisms */
21+
@use "components/navbar";
22+
@use "components/header";
23+
24+
/* Miscs
25+
*
26+
* NOTE:
27+
* This file is temporary. CSS rules, here, needs to be refactored into new
28+
* elements or components. */
29+
@use "base/miscs";
30+
31+
/* Documentations
32+
*
33+
* NOTE:
34+
* - We should only load this files in development mode */
35+
@use "docs/docs.scss";

0 commit comments

Comments
 (0)