You are here

socialbase.info.yml in Open Social 8.9

themes/socialbase/socialbase.info.yml

File

themes/socialbase/socialbase.info.yml
View source
  1. # The display name for this theme. The name will appear on the Appearance page.
  2. name: Social Base theme
  3. # A brief description of the theme. The description will appear on the
  4. # Appearance page.
  5. description: Base theme for Open social installations. Create your own subtheme or enable Social Blue
  6. # The screenshot is the image used on the appearance page. The setting is
  7. # optional, and if not specified, Drupal will automatically look for a file
  8. # called 'screenshot.png' in the root of the theme's folder. If a different file
  9. # name or type is wanted, the screenshot setting must be used.
  10. #
  11. # If the theme does not supply a screenshot, and uses a base theme that does,
  12. # the screenshot will be inheritted from the base theme.
  13. screenshot: screenshot.png
  14. # The type defines the extension type (module, theme, etc.)
  15. # This is required and should always be set to 'theme' for a theme.
  16. type: theme
  17. # The base theme setting specifies another theme to use as a "parent" theme.
  18. # Templates, CSS, and other properties are inherited from the base theme. If a
  19. # base theme is not specified, Stable will automatically be used as the base
  20. # theme. To op-out of using Stable, set base theme to 'false'.
  21. #
  22. # base theme: false
  23. #
  24. # socialbase uses bootstrap as its base theme
  25. base theme: bootstrap
  26. # The supported Drupal version.
  27. core: 8.x
  28. # Libraries-extend is used to attach libraries to other libraries. If the
  29. # original library is conditionally included, the library it is extended with
  30. # will be included under the same conditions.
  31. libraries-extend:
  32. core/drupal.ajax:
  33. - socialbase/form--autocomplete
  34. core/drupal.tabledrag:
  35. - socialbase/tabledrag
  36. # attach the timepicker library to all date fields
  37. core/drupal.date:
  38. - socialbase/form--datepicker
  39. #extend the core datepicker with a stylesheet and attach the listener
  40. core/jquery.ui.datepicker:
  41. - socialbase/form--timepicker
  42. # Attach the bootstrap library script and css component.
  43. # Note that the socialbase library scripts needs to load first. That is
  44. # why we added weights to the library JS files in socialbase.
  45. bootstrap/popover:
  46. - socialbase/popover
  47. core/drupal.dialog.ajax:
  48. - socialbase/modal
  49. editor/drupal.editor:
  50. - socialbase/modal
  51. image_widget_crop/cropper.integration:
  52. - socialbase/cropper.integration
  53. # Attach our own libary_builder library to the one in Drupal core. Our
  54. # library re-adds some CSS files that we remove elsewhere for our own modals
  55. # to work properly. However, that removal breaks the layout builder.
  56. layout_builder/drupal.layout_builder:
  57. - socialbase/layout_builder
  58. stylesheets-remove:
  59. - like_and_dislike.icons.css
  60. # Libraries-override is used to override any of the assets defined by a library.
  61. # Use it to remove files, replace files with your own, replace a library with
  62. # your own library, or remove the library completely.
  63. # See https://www.drupal.org/node/2497313.
  64. libraries-override:
  65. # The library name.
  66. core/normalize: false
  67. # Remove jQuery UI styles
  68. core/jquery.ui:
  69. css:
  70. component:
  71. assets/vendor/jquery.ui/themes/base/core.css: false
  72. theme:
  73. assets/vendor/jquery.ui/themes/base/theme.css: false
  74. core/jquery.ui.button:
  75. css:
  76. component:
  77. assets/vendor/jquery.ui/themes/base/button.css: false
  78. core/jquery.ui.datepicker:
  79. # CSS files are always labeled as such. This format is required.
  80. css:
  81. # The SMACSS category is required. See https://www.drupal.org/node/1887922
  82. component:
  83. # The path to the file. It is not a path relative to your theme. This
  84. # should be the same as the path specified in the library file where it
  85. # was defined. Setting to 'false' prevents the file from being
  86. # included.
  87. assets/vendor/jquery.ui/themes/base/datepicker.css: false
  88. core/jquery.ui.dialog:
  89. css:
  90. component:
  91. assets/vendor/jquery.ui/themes/base/dialog.css: false
  92. core/jquery.ui.menu:
  93. css:
  94. component:
  95. assets/vendor/jquery.ui/themes/base/menu.css: false
  96. system/base: false
  97. views/views.module: false
  98. classy/file: false
  99. like_and_dislike/behavior:
  100. js:
  101. js/like_and_dislike_service.js: false
  102. like_and_dislike/icons: false
  103. private_message/inbox_block: false
  104. # Libraries contain CSS and JavaScript files. The libraries setting is used to
  105. # globally add libraries, which means they will appear on every page. Libraries
  106. # are not limited to ones defined in the the theme. Ones from other themes and
  107. # modules can be included as long as they are installed.
  108. #
  109. # Libraries are defined in [theme name].libraries.yml. To conditionally include
  110. # libraries see https://www.drupal.org/theme-guide/8/assets.
  111. # The "libraries:" section will add a library to _all_ pages.
  112. # The order here is determined first by SMACSS category and after that you can determine the order here.
  113. libraries:
  114. # The following are libraries defined by Social base in socialbase.libraries.yml.
  115. - socialbase/print
  116. - socialbase/base
  117. # Atoms
  118. - socialbase/alert
  119. - socialbase/badge
  120. - socialbase/button
  121. - socialbase/cards
  122. - socialbase/close-icon
  123. - socialbase/form-controls
  124. - socialbase/list
  125. - socialbase/spinner
  126. # Molecules
  127. - socialbase/dropdown
  128. - socialbase/form-elements
  129. - socialbase/form-input-groups
  130. - socialbase/imagecrop
  131. - socialbase/media
  132. - socialbase/mentions
  133. - socialbase/navbar
  134. - socialbase/tour
  135. - socialbase/like
  136. # Templates
  137. - socialbase/layout
  138. # This section is used by the contrib module, Component Libraries. It allows you
  139. # to reference .twig files in your components/ directory.
  140. component-libraries:
  141. base:
  142. paths:
  143. - components/01-base
  144. atoms:
  145. paths:
  146. - components/02-atoms
  147. molecules:
  148. paths:
  149. - components/03-molecules
  150. organisms:
  151. paths:
  152. - components/04-organisms
  153. templates:
  154. paths:
  155. - components/05-templates
  156. # Special stylesheets for CKEditor to use while editing.
  157. ckeditor_stylesheets:
  158. - assets/css/ckeditor.css
  159. regions:
  160. hidden: Hidden
  161. header: Header
  162. breadcrumb: Breadcrumb
  163. hero: Hero
  164. secondary_navigation: Secondary navigation
  165. content_top: Content top
  166. title: Page title
  167. content: Content
  168. complementary_top: Complementary top
  169. complementary_bottom: Complementary bottom
  170. content_bottom: Content bottom
  171. sidebar_first: Sidebar First
  172. sidebar_second: Sidebar Second
  173. footer: Footer
  174. # Remove regions_hidden part in your subtheme.
  175. # The Hidden region should be visible when you enable a sub theme due to core bug.
  176. regions_hidden:
  177. - hidden