mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 05:56:59 +00:00
add first scss style, colors module
This commit is contained in:
parent
dac820b480
commit
b7e5928a25
@ -1,7 +1,9 @@
|
|||||||
|
import styles from './styles.module.scss';
|
||||||
|
|
||||||
export default function RootLayout({ children }) {
|
export default function RootLayout({ children }) {
|
||||||
return (
|
return (
|
||||||
<html lang='en'>
|
<html lang='en'>
|
||||||
<body>{children}</body>
|
<body className={styles.body}>{children}</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
5
app/styles.module.scss
Normal file
5
app/styles.module.scss
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@use 'styles/_colors';
|
||||||
|
|
||||||
|
.body {
|
||||||
|
background-color: colors.$grey-tint;
|
||||||
|
}
|
5
styles/_colors.scss
Normal file
5
styles/_colors.scss
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
$black: #000000;
|
||||||
|
$white: #ffffff;
|
||||||
|
$charcoal: #111111;
|
||||||
|
$grey-tint: #f1f2f2;
|
||||||
|
$cta-yellow: #ffde17;
|
Loading…
x
Reference in New Issue
Block a user