Commit 03b8c8f6 authored by Théodore Biadala's avatar Théodore Biadala Committed by Andrey Postnikov
Browse files

Issue #3306607 by nod_: Add farbtastic library to color module because it was...

Issue #3306607 by nod_: Add farbtastic library to color module because it was deprecated in core 9.5
parent 88952cac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3,3 +3,5 @@ type: module
description: 'Allows users to change the color scheme of compatible themes.'
package: Core
core_version_requirement: '>=9.4'
test_dependencies:
  - bartik:bartik
+16 −1
Original line number Diff line number Diff line
jquery.farbtastic:
  remote: https://github.com/mattfarina/farbtastic
  version: "1.3u"
  license:
    name: GPL-2.0-or-later
    url: https://raw.githubusercontent.com/mattfarina/farbtastic/master/LICENSE.txt
    gpl-compatible: true
  js:
    https://cdn.jsdelivr.net/gh/mattfarina/farbtastic@1.3u/farbtastic.js: { external: true }
  css:
    component:
      https://cdn.jsdelivr.net/gh/mattfarina/farbtastic@1.3u/farbtastic.css: { external: true }
  dependencies:
    - core/jquery

drupal.color:
  version: VERSION
  js:
@@ -7,7 +22,7 @@ drupal.color:
    - core/drupal
    - core/once
    - core/jquery.once.bc
    - core/jquery.farbtastic
    - color/jquery.farbtastic
    - color/drupal.color.preview

drupal.color.preview:
+3 −0
Original line number Diff line number Diff line
@@ -5,5 +5,8 @@
    "require": {
        "drupal/core": "^9.4 || ^10"
    },
    "require-dev": {
        "drupal/bartik": "^1.0"
    },
    "license": "GPL-2.0-or-later"
}
+1 −1
Original line number Diff line number Diff line
name: 'Color test theme'
type: theme
base theme: stable
base theme: stable9
description: 'Theme for testing the color module'
core_version_requirement: '>=9.4'
libraries: