Skip to content
Snippets Groups Projects
Select Git revision
  • 7.x-1.0
  • 5.x default
  • 4.x
  • run-file
  • 8.x-2.x
  • 8.x-3.x
  • 7.x-2.x
  • 7.x-3.x
  • 7.x-1.x
  • 8.x-1.x
  • 5.0.0-alpha4
  • 5.0.0-alpha3
  • 5.0.0-alpha2
  • 5.0.0-alpha1
  • 7.x-2.5
  • 7.x-3.0-alpha4
  • 8.x-2.8
  • 8.x-3.0-alpha6
  • 4.0.0-rc2
  • 4.0.0-rc1
  • 8.x-3.0-alpha5
  • 7.x-3.0-alpha3
  • 7.x-2.4
  • 7.x-2.3
  • 7.x-3.0-alpha2
  • 8.x-3.0-alpha4
  • 8.x-3.0-alpha3
  • 7.x-3.0-alpha1
  • 8.x-2.7
  • 8.x-3.0-alpha2
30 results

tailwindcss

  • Open with
  • Download source code
  • Oliver Davies's avatar
    Issue #3015805: Improve default header layout
    Oliver Davies authored
    fabe3315
    History
    DESCRIPTION
    -----------
    
    Tailwind CSS Starter Kit Theme for Drupal 7.
    
    USAGE
    -----
    
    ```
    mkdir -p sites/all/themes/custom
    cd sites/all/themes/custom
    git clone https://git.drupal.org/sandbox/opdavies-3015651 tailwindcss
    ```
    
    To re-compile the CSS:
    
    ```
    npm install
    npm run build
    ```
    
    DEPENDENCIES
    ------------
    
    - Laravel Mix (https://github.com/JeffreyWay/laravel-mix) for PostCSS compiling
      and asset generation.
    - The Laravel Mix Tailwind plugin.
    
    CONFIGURATION OVERRIDES
    -----------------------
    
    Overrides made to the default tailwind.js file:
    
    - `options.prefix` has been changed to `tw-`. This is so that some of
      Tailwind's default classes like `block` don't apply to Drupal's default
      markup.
    - `options.important` has been changed to `true`.