Skip to content

Instantly share code, notes, and snippets.

View rachel-church's full-sized avatar

Rachel Church rachel-church

View GitHub Profile
@rachel-church
rachel-church / input.scss
Created May 7, 2021 18:12
Generated by SassMeister.com.
/* Notice in the compiled css how .world and .hello each have their own copies of the test mixin styles */
@mixin text {
color: black;
font-size: 30px;
font-weight: bold;
}
.hello{
@include text;
}
.world{
@rachel-church
rachel-church / App.jsx
Last active March 26, 2019 00:50
Sample React component with global and modular styles
// App.jsx
import 'styles/app.global.scss'; // Import the global styles once in the top-most App component
import styles from './app.scss'; // Import modular styles for the App component
import React from 'react';
import cx from 'classnames'; // Optional classname helper library
import { Header } from './Header';