forked from Shiloh/remnantchat
chore: switch from scss to sass syntax
This commit is contained in:
parent
5c252bf84a
commit
6983bca544
29
src/App.sass
Normal file
29
src/App.sass
Normal file
@ -0,0 +1,29 @@
|
||||
.App
|
||||
text-align: center
|
||||
|
||||
.App-logo
|
||||
height: 40vmin
|
||||
pointer-events: none
|
||||
|
||||
@media (prefers-reduced-motion: no-preference)
|
||||
.App-logo
|
||||
animation: App-logo-spin infinite 20s linear
|
||||
|
||||
.App-header
|
||||
background-color: #282c34
|
||||
min-height: 100vh
|
||||
display: flex
|
||||
flex-direction: column
|
||||
align-items: center
|
||||
justify-content: center
|
||||
font-size: calc(10px + 2vmin)
|
||||
color: white
|
||||
|
||||
.App-link
|
||||
color: #61dafb
|
||||
|
||||
@keyframes App-logo-spin
|
||||
from
|
||||
transform: rotate(0deg)
|
||||
to
|
||||
transform: rotate(360deg)
|
38
src/App.scss
38
src/App.scss
@ -1,38 +0,0 @@
|
||||
.App {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.App-logo {
|
||||
height: 40vmin;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.App-logo {
|
||||
animation: App-logo-spin infinite 20s linear;
|
||||
}
|
||||
}
|
||||
|
||||
.App-header {
|
||||
background-color: #282c34;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: calc(10px + 2vmin);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.App-link {
|
||||
color: #61dafb;
|
||||
}
|
||||
|
||||
@keyframes App-logo-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
|
||||
import logo from './logo.svg'
|
||||
import './App.scss'
|
||||
import './App.sass'
|
||||
|
||||
function App() {
|
||||
return (
|
||||
|
12
src/index.sass
Normal file
12
src/index.sass
Normal file
@ -0,0 +1,12 @@
|
||||
@tailwind base
|
||||
@tailwind components
|
||||
@tailwind utilities
|
||||
|
||||
body
|
||||
margin: 0
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif
|
||||
-webkit-font-smoothing: antialiased
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
|
||||
code
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace
|
@ -1,17 +0,0 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||
sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
||||
monospace;
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
|
||||
import './index.scss'
|
||||
import './index.sass'
|
||||
import App from './App'
|
||||
import reportWebVitals from './reportWebVitals'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user