Skip to content

Commit 7c3edfe

Browse files
committed
theme swatches changes
1 parent c6f9b94 commit 7c3edfe

87 files changed

Lines changed: 5810 additions & 596 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/Concerns/HasRegistry.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ trait HasRegistry
1616
'registry:component',
1717
'registry:ui',
1818
'registry:hook',
19-
'registry:theme',
2019
'registry:page',
2120
'registry:file',
2221
'registry:style',
@@ -31,7 +30,6 @@ trait HasRegistry
3130
'registry:component',
3231
'registry:ui',
3332
'registry:hook',
34-
'registry:theme',
3533
'registry:page',
3634
'registry:file',
3735
'registry:style',
@@ -42,7 +40,7 @@ trait HasRegistry
4240
public const FONT_PROVIDERS = ['google'];
4341

4442
/** Types that emit cssVars in toRegistry() */
45-
private const CSS_VAR_TYPES = ['registry:theme', 'registry:style', 'registry:base'];
43+
private const CSS_VAR_TYPES = ['registry:style', 'registry:base'];
4644

4745
/** CSS properties that are NOT colour tokens and must not get --color- prefix */
4846
private const NON_COLOR_KEYS = [
@@ -437,11 +435,6 @@ public function isStyle(): bool
437435
return $this->type === 'registry:style';
438436
}
439437

440-
public function isTheme(): bool
441-
{
442-
return $this->type === 'registry:theme';
443-
}
444-
445438
public function isComponent(): bool
446439
{
447440
return $this->type === 'registry:component';

0 commit comments

Comments
 (0)