Search for color

  1. Search 7.x for color
  2. Search 9.5.x for color
  3. Search 10.3.x for color
  4. Search 11.x for color
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Color class core/modules/color/src/Plugin/migrate/destination/Color.php Persist color data to the config system.
Color class core/modules/color/src/Plugin/migrate/source/d7/Color.php Drupal 7 color source from database.
Color class core/lib/Drupal/Core/Render/Element/Color.php Provides a form element for choosing a color.
Color class core/lib/Drupal/Component/Utility/Color.php Performs color conversions.

All search results

Title Object type File name Summary
ColorConfigSchemaTest.php file core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php
ColorConfigSchemaTest::$adminUser property core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php A user with administrative permissions.
ColorConfigSchemaTest::$defaultTheme property core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php The theme to install as the default for testing.
ColorConfigSchemaTest::$modules property core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php Modules to install.
ColorConfigSchemaTest::setUp function core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php
ColorConfigSchemaTest::testValidColorConfigSchema function core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php Tests whether the color config schema is valid.
ColorLegacyTest class core/modules/color/tests/src/Kernel/ColorLegacyTest.php Tests Color module's legacy code.
ColorLegacyTest.php file core/modules/color/tests/src/Kernel/ColorLegacyTest.php
ColorLegacyTest::$modules property core/modules/color/tests/src/Kernel/ColorLegacyTest.php Modules to enable.
ColorLegacyTest::setUp function core/modules/color/tests/src/Kernel/ColorLegacyTest.php
ColorLegacyTest::testColorSystemBrandingBlockAlterPreRender function core/modules/color/tests/src/Kernel/ColorLegacyTest.php Tests color_block_view_pre_render() deprecation.
colors.css file core/themes/seven/css/theme/colors.css /**
* 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/themes/claro/css/theme/colors.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
*/
/**
* Reusable colors.
*/
.color-success {
color: #325e1c;
background-color: #f3faef;
}
.color-warning…
colors.css file core/themes/bartik/css/colors.css /* ---------- 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/modules/color/tests/modules/color_test/themes/color_test_theme/css/colors.css html {
color: #00f;
}

body {
color: #f00;
}
colors.pcss.css file core/themes/claro/css/theme/colors.pcss.css /**
* 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/modules/color/tests/src/Functional/ColorSafePreviewTest.php Tests sanitizing color preview loaded from theme.
ColorSafePreviewTest.php file core/modules/color/tests/src/Functional/ColorSafePreviewTest.php
ColorSafePreviewTest::$bigUser property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php A user with administrative permissions.
ColorSafePreviewTest::$defaultTheme property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php The theme to install as the default for testing.
ColorSafePreviewTest::$modules property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Modules to enable.
ColorSafePreviewTest::setUp function core/modules/color/tests/src/Functional/ColorSafePreviewTest.php
ColorSafePreviewTest::testColorPreview function core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Ensures color preview.html is sanitized.
ColorSystemBrandingBlockAlter class core/modules/color/src/ColorSystemBrandingBlockAlter.php Provides a trusted callback to alter the system branding block.
ColorSystemBrandingBlockAlter.php file core/modules/color/src/ColorSystemBrandingBlockAlter.php
ColorSystemBrandingBlockAlter::preRender function core/modules/color/src/ColorSystemBrandingBlockAlter.php #pre_render callback: Sets color preset logo.
ColorTest class core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php Tests D7 color source plugin.
ColorTest class core/modules/color/tests/src/Functional/ColorTest.php Modify the Bartik theme colors and make sure the changes are reflected on the
frontend.
ColorTest class core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color utility class conversions.
ColorTest.php file core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php
ColorTest.php file core/modules/color/tests/src/Functional/ColorTest.php
ColorTest.php file core/tests/Drupal/Tests/Component/Utility/ColorTest.php
ColorTest::$bigUser property core/modules/color/tests/src/Functional/ColorTest.php A user with administrative permissions.
ColorTest::$colorTests property core/modules/color/tests/src/Functional/ColorTest.php Associative array of hex color strings to test.
ColorTest::$defaultTheme property core/modules/color/tests/src/Functional/ColorTest.php The theme to install as the default for testing.
ColorTest::$modules property core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php Modules to enable.
ColorTest::$modules property core/modules/color/tests/src/Functional/ColorTest.php Modules to install.
ColorTest::$themes property core/modules/color/tests/src/Functional/ColorTest.php An associative array of settings for themes.
ColorTest::providerSource function core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php The data provider.
ColorTest::providerTestHexToRgb function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Data provider for testHexToRgb().
ColorTest::providerTestNormalizeHexLength function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Data provider for testNormalizeHexLength().
ColorTest::providerTestRbgToHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Data provider for testRgbToHex().
ColorTest::providerTestValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Provides data for testValidateHex().
ColorTest::setUp function core/modules/color/tests/src/Functional/ColorTest.php
ColorTest::testColor function core/modules/color/tests/src/Functional/ColorTest.php Tests the Color module functionality.
ColorTest::testHexToRgb function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::hexToRgb().
ColorTest::testLogoSettingOverride function core/modules/color/tests/src/Functional/ColorTest.php Test whether the custom logo is used in the color preview.
ColorTest::testNormalizeHexLength function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::normalizeHexLength().
ColorTest::testOverrideAndResetScheme function core/modules/color/tests/src/Functional/ColorTest.php Test whether the scheme can be set, viewed anonymously and reset.
ColorTest::testRgbToHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::rgbToHex().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.