Creates the `tailwind_all_the_way` feature flag
This creates the `tailwind_all_the_way` feature flag and lays the groundwork for what we'll need to take advantage of it: * GitLab UI utitilies are moved to their own stylesheet so that we can easily switch between the legacy library and the Tailwind one. * We create the "all the way" Tailwind stylesheet and config. These compile the `app/assets/builds/tailwind_all_the_way.css` CSS file which gets included when the feature flag is enabled. For now, this file is unreliable as it requires the second iteration where we'll create the proper CSS in Js config for Tailwind to generate our legacy utils. * The Tailwind compiler is updated to compile both Tailwind CSS bundles.
显示
- app/assets/stylesheets/application_utilities.scss 0 个添加, 3 个删除app/assets/stylesheets/application_utilities.scss
- app/assets/stylesheets/application_utilities_to_be_replaced.scss 4 个添加, 0 个删除...ets/stylesheets/application_utilities_to_be_replaced.scss
- app/assets/stylesheets/application_utilities_to_be_replaced_dark.scss 3 个添加, 0 个删除...tylesheets/application_utilities_to_be_replaced_dark.scss
- app/assets/stylesheets/tailwind.css 1 个添加, 0 个删除app/assets/stylesheets/tailwind.css
- app/assets/stylesheets/tailwind_all_the_way.css 3 个添加, 0 个删除app/assets/stylesheets/tailwind_all_the_way.css
- app/views/layouts/_head.html.haml 7 个添加, 1 个删除app/views/layouts/_head.html.haml
- config/application.rb 3 个添加, 0 个删除config/application.rb
- config/feature_flags/development/tailwind_all_the_way.yml 8 个添加, 0 个删除config/feature_flags/development/tailwind_all_the_way.yml
- config/tailwind.all_the_way.config.js 12 个添加, 0 个删除config/tailwind.all_the_way.config.js
- package.json 1 个添加, 0 个删除package.json
- scripts/frontend/tailwindcss.mjs 11 个添加, 3 个删除scripts/frontend/tailwindcss.mjs
加载中
想要评论请 注册 或 登录