diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-01 01:27:30 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-01 01:27:30 +0200 |
| commit | d4795d2e3c363065319a978fd2d9237fb62f2fe6 (patch) | |
| tree | 9231eaf5141db5477a8201315e4720d82d23a8c9 /src/components/button.style.js | |
| parent | 53a4b1f9a6a9aa6bc044609c3accb074d924daf9 (diff) | |
moved default rules to component style.js files, added some basic text inheritance
Diffstat (limited to 'src/components/button.style.js')
| -rw-r--r-- | src/components/button.style.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/button.style.js b/src/components/button.style.js index 51f781e1..49147c8d 100644 --- a/src/components/button.style.js +++ b/src/components/button.style.js @@ -15,5 +15,20 @@ export default { validInnerComponents: [ 'Text', 'Icon' + ], + defaultRules: [ + { + component: 'Button', + directives: { + background: '--fg' + } + }, + { + component: 'Button', + state: ['hover'], + directives: { + background: '#FFFFFF' + } + } ] } |
