Skip to content

Commit c384a60

Browse files
committed
refolder
1 parent 10441ed commit c384a60

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

src/App.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,3 @@
5050
transform: rotate(360deg);
5151
}
5252
}
53-
54-
.palitra-blackOnHover:hover {
55-
color: black !important;
56-
}
57-
58-
.palitra-blackOnHover {
59-
border-color: lightgray !important;
60-
}
61-
62-
.palitra-btn:focus {
63-
box-shadow: 0 0 0 0.2rem rgb(216 217 219 / 50%) !important;
64-
}

src/Cards/AddCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState } from 'react'
22
import PropTypes from 'prop-types'
33
import TextareaAutosize from 'react-textarea-autosize'
4-
import Palette, { colors } from './palette'
4+
import Palette, { colors } from './palette/palette'
55

66
function useInputValue(defaultValue) {
77
const [value, setValue] = useState(defaultValue)

src/Cards/ModalCardEdit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import TextareaAutosize from 'react-textarea-autosize'
55
import Modal, { ModalProps } from "../Shared/Modal/Modal"
66
import debounce from '../Shared/debounce'
77
import Card from '../Shared/Card'
8-
import Palette from './palette'
8+
import Palette from './palette/palette'
99

1010
function calcMaxRows() {
1111
const small = 576

src/Cards/palette/palette.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.palitra-blackOnHover:hover {
2+
color: black !important;
3+
}
4+
5+
.palitra-blackOnHover {
6+
border-color: lightgray !important;
7+
}
8+
9+
.palitra-btn:focus {
10+
box-shadow: 0 0 0 0.2rem rgb(216 217 219 / 50%) !important;
11+
}

src/Cards/palette.js renamed to src/Cards/palette/palette.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react";
22
import PropTypes from 'prop-types'
3+
import "./palette.css"
34

45
export const colors = [
56
"#f8f9fa",

0 commit comments

Comments
 (0)