Skip to content

Commit

Permalink
Added prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
megantrimble committed Sep 25, 2020
1 parent d318b12 commit dec41c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/facilities/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</button>
<% end %>
<h1 class="text-3xl mb-4">New Facility</h1>
<div class="block relative">
<div>
<%= render 'form', facility: @facility %>
</div>
</div>
Expand Down
10 changes: 10 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ module.exports = {
container: {
center: true,
},
prefix: 'tw-',
theme: {
fontSize: {
'title1': '2.5rem',
'title2': '2.25rem',
'title3': '1.875rem',
'body': '1rem',
'caption': '0.875rem',
},
extend: {
colors: {
'primary-dark': '#6767ca',
Expand All @@ -18,6 +27,7 @@ module.exports = {
'success': '#27ae60',
'dark-light': '#eee',
'caption-light': '#9191A2',
'caption-dark': '#ACACC1',
},
},
},
Expand Down

0 comments on commit dec41c2

Please sign in to comment.