Skip to content

Commit e3c7331

Browse files
Add CSS variable-based color styling
1 parent b4aee8c commit e3c7331

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
@@ -9,6 +9,7 @@ html {
99
}
1010

1111
* {
12+
color: var(--color);
1213
outline-color: var(--color);
1314
border-color: var(--border);
1415
}

packages/main/src/compoments/_card.scss

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

0 commit comments

Comments
 (0)