Search for color
- Search 7.x for color
- Search 8.9.x for color
- Search 10.3.x for color
- Search 11.x for color
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Color | class | core/ |
Persist color data to the config system. |
Color | class | core/ |
Drupal 7 color source from database. |
Color | class | core/ |
Provides a form element for choosing a color. |
Color | class | core/ |
Performs color conversions. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
ColorConfigSchemaTest | class | core/ |
Ensures the color config schema is correct. |
ColorConfigSchemaTest.php | file | core/ |
|
ColorConfigSchemaTest::$adminUser | property | core/ |
A user with administrative permissions. |
ColorConfigSchemaTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ColorConfigSchemaTest::$modules | property | core/ |
Modules to install. |
ColorConfigSchemaTest::setUp | function | core/ |
|
ColorConfigSchemaTest::testValidColorConfigSchema | function | core/ |
Tests whether the color config schema is valid. |
colors.css | file | core/ |
/** * Reusable colors. */ .color-success { color: #325e1c; background-color: #f3faef; } .color-warning { color: #734c00; background-color: #fdf8ed; } .color-error { color: #a51b00; background-color: #fcf4f2; } |
colors.css | file | core/ |
/* * DO NOT EDIT THIS FILE. * See the following change record for more information, * https://www.drupal.org/node/3084859 * @preserve */ /** * Reusable colors. */ .color-success { color: #325e1c; background-color: #f3faef; } .color-warning… |
colors.css | file | core/ |
/* ---------- Color Module Styles ----------- */ body { color: #3b3b3b; background: #292929; } #page, #main-wrapper, .region-primary-menu .menu-item a.is-active, .region-primary-menu .menu-item--active-trail a { background: #fff; } .tabs… |
colors.css | file | core/ |
html { color: #00f; } body { color: #f00; } |
colors.pcss.css | file | core/ |
/** * Reusable colors. */ .color-success { color: #325e1c; background-color: #f3faef; } .color-warning { color: #734c00; background-color: #fdf8ed; } .color-error { color: #a51b00; background-color: #fcf4f2; } |
ColorSafePreviewTest | class | core/ |
Tests sanitizing color preview loaded from theme. |
ColorSafePreviewTest.php | file | core/ |
|
ColorSafePreviewTest::$bigUser | property | core/ |
A user with administrative permissions. |
ColorSafePreviewTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ColorSafePreviewTest::$modules | property | core/ |
Modules to enable. |
ColorSafePreviewTest::setUp | function | core/ |
|
ColorSafePreviewTest::testColorPreview | function | core/ |
Ensures color preview.html is sanitized. |
ColorSystemBrandingBlockAlter | class | core/ |
Provides a trusted callback to alter the system branding block. |
ColorSystemBrandingBlockAlter.php | file | core/ |
|
ColorSystemBrandingBlockAlter::preRender | function | core/ |
#pre_render callback: Sets color preset logo. |
ColorTest | class | core/ |
Tests D7 color source plugin. |
ColorTest | class | core/ |
Modify theme colors and make sure the changes are reflected on the frontend. |
ColorTest | class | core/ |
Tests Color utility class conversions. |
ColorTest.php | file | core/ |
|
ColorTest.php | file | core/ |
|
ColorTest.php | file | core/ |
|
ColorTest::$bigUser | property | core/ |
A user with administrative permissions. |
ColorTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ColorTest::$modules | property | core/ |
Modules to enable. |
ColorTest::$modules | property | core/ |
Modules to install. |
ColorTest::providerSource | function | core/ |
The data provider. |
ColorTest::providerTestHexToRgb | function | core/ |
Data provider for testHexToRgb(). |
ColorTest::providerTestNormalizeHexLength | function | core/ |
Data provider for testNormalizeHexLength(). |
ColorTest::providerTestRbgToHex | function | core/ |
Data provider for testRgbToHex(). |
ColorTest::providerTestValidateHex | function | core/ |
Provides data for testValidateHex(). |
ColorTest::setUp | function | core/ |
|
ColorTest::testColor | function | core/ |
Tests the Color module functionality. |
ColorTest::testHexToRgb | function | core/ |
Tests Color::hexToRgb(). |
ColorTest::testLogoSettingOverride | function | core/ |
Tests whether the custom logo is used in the color preview. |
ColorTest::testNormalizeHexLength | function | core/ |
Tests Color::normalizeHexLength(). |
ColorTest::testOverrideAndResetScheme | function | core/ |
Tests whether the scheme can be set, viewed anonymously and reset. |
ColorTest::testRgbToHex | function | core/ |
Tests Color::rgbToHex(). |
ColorTest::testValidateHex | function | core/ |
@covers \Drupal\Component\Utility\Color::validateHex |
ColorTest::testValidColor | function | core/ |
Tests whether the provided color is valid. |
color_block_view_system_branding_block_alter | function | core/ |
Implements hook_block_view_BASE_BLOCK_ID_alter(). |
color_form_system_theme_settings_alter | function | core/ |
Implements hook_form_FORM_ID_alter(). |
color_get_info | function | core/ |
Retrieves the Color module information for a particular theme. |
color_get_palette | function | core/ |
Retrieves the color palette for a particular theme. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.