Skip to content

Commit

Permalink
feat: basic tailwind build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalton-Tyndall committed Aug 11, 2022
1 parent 6a2fbd4 commit a1bfed8
Show file tree
Hide file tree
Showing 11 changed files with 662 additions and 64 deletions.
6 changes: 6 additions & 0 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ module.exports = async ({ config }) => {
sourceMap: true,
},
},
{
loader: 'postcss-loader',
options: {
sourceMap: true,
},
},
{
loader: 'sass-loader',
options: {
Expand Down
2 changes: 1 addition & 1 deletion components/01-atoms/buttons/button.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
#}

{% set button_base_class = button_base_class|default('button') %}
{% set button_base_class = button_base_class|default('button bg-sequential-orange-1') %}

{% set additional_attributes = {
class: bem(button_base_class, button_modifiers, button_blockname),
Expand Down
6 changes: 6 additions & 0 deletions components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@
@import '03-organisms/**/*.scss';
@import '04-templates/**/*.scss';
@import '00-base/01-colors/colors-used.scss';

@tailwind base;

@tailwind components;

@tailwind utilities;
Loading

0 comments on commit a1bfed8

Please sign in to comment.