Slashing Grace works with either damage type as written, yes. As long as the weapon itself qualifies (i.e. can do slashing damage) the specific type of damage you use doesn't "switch off" the feat.