generated from argyleink/vite-postcss-preset-env
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add normalize, bug fixes for shadows, checkin OPv1 main and normalize…
… copies
- Loading branch information
Showing
10 changed files
with
64 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
.cache/ | ||
node_modules/ | ||
/*.css | ||
!open-props.min.css | ||
!normalize.min.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
@import 'media-queries.css'; | ||
@import 'font/index.css'; | ||
@import 'sizes/index.css'; | ||
@import 'font/families.css'; | ||
@import 'font/weight.css'; | ||
@import 'sizes/font.css'; | ||
@import 'sizes/fontfluid.css'; | ||
@import 'sizes/size.css'; | ||
@import 'sizes/fluid.css'; | ||
@import 'sizes/header.css'; | ||
@import 'sizes/content.css'; | ||
@import 'aspect-ratios.css'; | ||
@import 'z-index.css'; | ||
@import 'borders.css'; | ||
@import 'shadows.css'; | ||
@import 'motion/easings.css'; | ||
@import 'motion/animations.css'; | ||
@import 'color/index.hex.css'; | ||
@import 'color/gradients.css'; | ||
@import 'color/palette.oklch.css'; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,6 @@ | |
} | ||
|
||
::placeholder { | ||
color: var(--gray-6); | ||
color: var(--color-6); | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,74 @@ | ||
* { | ||
--shadow-strength: 1%; | ||
--shadow-saturation: 3%; | ||
--shadow-chroma: 3%; | ||
--shadow-hue: var(--shadow-tint, var(--palette-hue)); | ||
--shadow-color: var(--shadow-hue) var(--shadow-saturation) 15%; | ||
--shadow-color: 15% var(--shadow-chroma) var(--shadow-hue); | ||
--inner-shadow-highlight: inset 0 -0.5px 0 0 #fff, inset 0 0.5px 0 0 #0001; | ||
|
||
@media (--OSdark) { | ||
--shadow-strength: 25%; | ||
--shadow-saturation: 40%; | ||
--shadow-chroma: 10%; | ||
--shadow-hue: var(--shadow-tint, var(--palette-hue)); | ||
--shadow-color: var(--shadow-hue) var(--shadow-saturation) 15%; | ||
--shadow-color: 15% var(--shadow-chroma) var(--shadow-hue); | ||
--inner-shadow-highlight: inset 0 -0.5px 0 0 #fff1, inset 0 0.5px 0 0 #0007; | ||
} | ||
|
||
--shadow-1: 0 1px 2px -1px hsl(var(--shadow-color) / | ||
--shadow-1: 0 1px 2px -1px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 9%)); | ||
--shadow-2: 0 3px 5px -2px hsl(var(--shadow-color) / | ||
--shadow-2: 0 3px 5px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 3%)), | ||
0 7px 14px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)); | ||
--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / | ||
0 7px 14px -5px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 5%)); | ||
--shadow-3: 0 -1px 3px 0 oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 2%)), | ||
0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), | ||
0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), | ||
0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), | ||
0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)); | ||
--shadow-4: 0 -2px 5px 0 hsl(var(--shadow-color) / | ||
0 1px 2px -5px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), | ||
0 2px 5px -5px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), | ||
0 4px 12px -5px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 5%)), | ||
0 12px 15px -5px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 7%)); | ||
--shadow-4: 0 -2px 5px 0 oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 2%)), | ||
0 1px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 2px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), | ||
0 9px 9px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), | ||
0 16px 16px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)); | ||
--shadow-5: 0 -1px 2px 0 hsl(var(--shadow-color) / | ||
0 1px 1px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 2px 2px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 5px 5px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), | ||
0 9px 9px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), | ||
0 16px 16px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 6%)); | ||
--shadow-5: 0 -1px 2px 0 oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 2%)), | ||
0 2px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 10px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), | ||
0 20px 20px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), | ||
0 40px 40px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)); | ||
--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / | ||
0 2px 1px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 5px 5px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 10px 10px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 4%)), | ||
0 20px 20px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 5%)), | ||
0 40px 40px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 7%)); | ||
--shadow-6: 0 -1px 2px 0 oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 2%)), | ||
0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), | ||
0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), | ||
0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), | ||
0 100px 80px -2px hsl(var(--shadow-color) / | ||
0 3px 2px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 7px 5px -2px oklch(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), | ||
0 12px 10px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 4%)), | ||
0 22px 18px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 5%)), | ||
0 41px 33px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 6%)), | ||
0 100px 80px -2px oklch(var(--shadow-color) / | ||
calc(var(--shadow-strength) + 7%)); | ||
--inner-shadow-0: inset 0 0 0 1px | ||
hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%)); | ||
oklch(var(--shadow-color) / calc(var(--shadow-strength) + 9%)); | ||
--inner-shadow-1: inset 0 1px 2px 0 | ||
hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
oklch(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
var(--inner-shadow-highlight); | ||
--inner-shadow-2: inset 0 1px 4px 0 | ||
hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
oklch(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
var(--inner-shadow-highlight); | ||
--inner-shadow-3: inset 0 2px 8px 0 | ||
hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
oklch(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
var(--inner-shadow-highlight); | ||
--inner-shadow-4: inset 0 2px 14px 0 | ||
hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
oklch(var(--shadow-color) / calc(var(--shadow-strength) + 9%)), | ||
var(--inner-shadow-highlight); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters