Skip to content

Commit fd1cf92

Browse files
Merge pull request #11 from TorstenDittmann/fix-color-inheritance
Add CSS variable-based color styling
2 parents b4aee8c + d4c1110 commit fd1cf92

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/main/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "launch.css",
33
"type": "module",
4-
"version": "1.1.2",
4+
"version": "1.1.3",
55
"description": "A classless CSS framework built for speed. Style your website later—build it now.",
66
"homepage": "https://launch-css.dev",
77
"main": "dist/index.css",

packages/main/src/_global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ html {
1111
* {
1212
outline-color: var(--color);
1313
border-color: var(--border);
14+
color: var(--color);
1415
}

packages/main/src/compoments/_card.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ section {
44
border-width: 1px;
55
border-style: solid;
66
border-radius: 0.5rem;
7+
background: var(--background);
78
padding: 1.5rem;
89
}

0 commit comments

Comments
 (0)