hoist option values out of helper to merged module as config

This commit is contained in:
2023-01-29 13:48:37 +02:00
parent 3a15e58ee3
commit ad578d9c3d
8 changed files with 605 additions and 112 deletions

View File

@ -117,3 +117,8 @@
:values: left-top left left-bottom top center bottom right-top right right-bottom
:default: center
:id: 21
- :name: text_columns
:description: Number of text columns in a newspaper style layout
:values: 2 3 4 5
:default: 3
:id: 22

View File

@ -175,6 +175,6 @@
- text
options:
- order
- columns
- text_columns
- background
- text_color

View File

@ -3,7 +3,8 @@ const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./public/*.html',
'./app/helpers/**/*.rb',
'./app/**/*.rb',
'./lib/**/*.rb',
'./app/javascript/**/*.js',
'./app/views/**/*.{erb,haml,html,slim}'
],