You are here

socialbase.info.yml in Open Social 8.4

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. image_widget_crop/cropper.integration:
  50. - socialbase/cropper.integration
  51. stylesheets-remove:
  52. - like_and_dislike.icons.css
  53. # Libraries-override is used to override any of the assets defined by a library.
  54. # Use it to remove files, replace files with your own, replace a library with
  55. # your own library, or remove the library completely.
  56. # See https://www.drupal.org/node/2497313.
  57. libraries-override:
  58. # The library name.
  59. core/normalize: false
  60. # Remove jQuery UI styles
  61. core/jquery.ui:
  62. css:
  63. component:
  64. assets/vendor/jquery.ui/themes/base/core.css: false
  65. theme:
  66. assets/vendor/jquery.ui/themes/base/theme.css: false
  67. core/jquery.ui.button:
  68. css:
  69. component:
  70. assets/vendor/jquery.ui/themes/base/button.css: false
  71. core/jquery.ui.datepicker:
  72. # CSS files are always labeled as such. This format is required.
  73. css:
  74. # The SMACSS category is required. See https://www.drupal.org/node/1887922
  75. component:
  76. # The path to the file. It is not a path relative to your theme. This
  77. # should be the same as the path specified in the library file where it
  78. # was defined. Setting to 'false' prevents the file from being
  79. # included.
  80. assets/vendor/jquery.ui/themes/base/datepicker.css: false
  81. core/jquery.ui.dialog:
  82. css:
  83. component:
  84. assets/vendor/jquery.ui/themes/base/dialog.css: false
  85. core/jquery.ui.menu:
  86. css:
  87. component:
  88. assets/vendor/jquery.ui/themes/base/menu.css: false
  89. system/base: false
  90. views/views.module: false
  91. classy/file: false
  92. like_and_dislike/behavior:
  93. js:
  94. js/like_and_dislike_service.js: false
  95. like_and_dislike/icons: false
  96. private_message/inbox_block: false
  97. # Libraries contain CSS and JavaScript files. The libraries setting is used to
  98. # globally add libraries, which means they will appear on every page. Libraries
  99. # are not limited to ones defined in the the theme. Ones from other themes and
  100. # modules can be included as long as they are installed.
  101. #
  102. # Libraries are defined in [theme name].libraries.yml. To conditionally include
  103. # libraries see https://www.drupal.org/theme-guide/8/assets.
  104. # The "libraries:" section will add a library to _all_ pages.
  105. # The order here is determined first by SMACSS category and after that you can determine the order here.
  106. libraries:
  107. # The following are libraries defined by Social base in socialbase.libraries.yml.
  108. - socialbase/print
  109. - socialbase/base
  110. # Atoms
  111. - socialbase/alert
  112. - socialbase/badge
  113. - socialbase/button
  114. - socialbase/cards
  115. - socialbase/close-icon
  116. - socialbase/form-controls
  117. - socialbase/list
  118. - socialbase/spinner
  119. # Molecules
  120. - socialbase/dropdown
  121. - socialbase/form-elements
  122. - socialbase/form-input-groups
  123. - socialbase/imagecrop
  124. - socialbase/media
  125. - socialbase/mentions
  126. - socialbase/navbar
  127. - socialbase/tour
  128. - socialbase/like
  129. # Templates
  130. - socialbase/layout
  131. # This section is used by the contrib module, Component Libraries. It allows you
  132. # to reference .twig files in your components/ directory.
  133. component-libraries:
  134. base:
  135. paths:
  136. - components/01-base
  137. atoms:
  138. paths:
  139. - components/02-atoms
  140. molecules:
  141. paths:
  142. - components/03-molecules
  143. organisms:
  144. paths:
  145. - components/04-organisms
  146. templates:
  147. paths:
  148. - components/05-templates
  149. pages:
  150. paths:
  151. - components/06-pages
  152. # Special stylesheets for CKEditor to use while editing.
  153. ckeditor_stylesheets:
  154. - assets/css/ckeditor.css
  155. regions:
  156. hidden: Hidden
  157. header: Header
  158. breadcrumb: Breadcrumb
  159. hero: Hero
  160. secondary_navigation: Secondary navigation
  161. content_top: Content top
  162. title: Page title
  163. content: Content
  164. complementary_top: Complementary top
  165. complementary_bottom: Complementary bottom
  166. content_bottom: Content bottom
  167. sidebar_first: Sidebar First
  168. sidebar_second: Sidebar Second
  169. footer: Footer
  170. # Remove regions_hidden part in your subtheme.
  171. # The Hidden region should be visible when you enable a sub theme due to core bug.
  172. regions_hidden:
  173. - hidden